RFR: 8282392: [zero] Build broken on AArch64 [v2]

Alan Hayward duke at openjdk.java.net
Mon Feb 28 17:40:52 UTC 2022


On Mon, 28 Feb 2022 16:21:37 GMT, Alan Hayward <duke at openjdk.java.net> wrote:

>> 8282392: [zero] Build broken on AArch64
>
> Alan Hayward has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove NOT_AARCH64_PORT_ONLY

My only issue with that is that:
AARCH64_PORT_ONLY(some_function());

becomes:
#if defined(AARCH64) && !defined(ZERO)
some_function();
#endif

Which is a little uglier.

How about defining the macro something like:
#if defined(AARCH64) && !defined(ZERO)
#define AARCH64_NOT_ZERO(code) code


(ultimately, I'm happy with any of the above)

-------------

PR: https://git.openjdk.java.net/jdk/pull/7633


More information about the hotspot-dev mailing list