|
From: | Richard Henderson |
Subject: | Re: [RFC][PATCH] Reduce generated code by 3% by increasing MMU indices |
Date: | Sat, 5 Aug 2023 10:29:12 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
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~
[Prev in Thread] | Current Thread | [Next in Thread] |