On 10/27/2012 06:12 AM, Edgar E. Iglesias wrote: > > Hi, > > If well designed, most hw has a well designed symtery between regs > that makes things simpler if you can just opencode the decding. > IMO, an mr per reg would just add a massive overhead for no win. > And also, hw implemented decoders look very much like > switch cases in qemu which make things easy to map. > > What is the win?
As Gerd says, stuff like automatic read handlers and write-protected bits can be done declaratively instead of programatically. -- error compiling committee.c: too many arguments to function