Currently there is no conditionalization on any CPU specific system registers hence they are assembled/disassembled when they are not defined (i.e. in the case of Cyclone sysregs for the generic CPU). This patch fixes this by passing the subtarget feature bits through to the system register mappers so that only systems registers valid in the current context are handled.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Hi Bradley,
This looks reasonable to me. It may not scale that well when there are thousands of different CPUs, but we can do some refactoring when that happens.
Cheers.
Tim.