On 8/5/23 09:47, Helge Deller wrote:
Do we want to enable such an performance optimization?
If so, I see two possibilities:
a) Re-define NB_MMU_MODES per target
No, we've just gotten rid of per target definitions of NB_MMU_MODES, on the way to being
able to support multiple targets simultaneously.
This only affects x86, and for only 6 bytes per memory access. While saving code size is
a nice goal, I sincerely doubt you can measure any performance difference.
If there were a way to change no more than two lines of code, that would be fine. But
otherwise I don't see this as being worth making the rest of the code base any more complex.
r~