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
