[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC] Memory API and fine grained Memory Regions
From: |
Avi Kivity |
Subject: |
Re: [Qemu-devel] [RFC] Memory API and fine grained Memory Regions |
Date: |
Mon, 29 Oct 2012 18:34:37 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1 |
On 10/29/2012 01:37 AM, John Williams wrote:
>> IMO, an mr per reg would just add a massive overhead for no win.
>
> I tend to agree with Edgar here - QEMU has a careful line to walk between
> being an emulator and an RTL simulator.
>
> Any WAG on the runtime overhead of a mem region per register vs a
> switch-based decodes in read/write handlers?
>
Actually a region-per-register can be faster, since the subpage logic
will dispatch the access directly to the handler, instead of going first
to the device handler, then following the switch.
--
error compiling committee.c: too many arguments to function