RFR: 8269122: The use of "extern const" for Register definitions generates poor code [v4]
Andrew Haley
aph at openjdk.java.net
Fri Jun 25 17:47:03 UTC 2021
On Fri, 25 Jun 2021 16:06:45 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> (2) While looking at this I stumbled across the DONT_USE_REGISTER_DEFINES
> blocks for s390 and ppc. Those are defining shadowing macros for the various
> register constants, which is pointless after the changes being made here.
> And I think these are very nearly the only use of the xxxEnumValue
> enumerators; on a quick scan I spotted only two others that seem like they
> could easily be fixed.
Indeed. My plan for now is to ask the maintainers of those platforms to look at it.
If they don't want to do that, I'll do it. I think the automated testing should be enough.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4554
More information about the hotspot-compiler-dev
mailing list