RFR: 8315841: RISC-V: Check for hardware TSO support [v8]
Robbin Ehn
rehn at openjdk.org
Fri Sep 8 06:51:44 UTC 2023
On Fri, 8 Sep 2023 06:08:14 GMT, Fei Yang <fyang at openjdk.org> wrote:
>> Ludovic Henry has updated the pull request incrementally with one additional commit since the last revision:
>>
>> fixup! 8315841: RISC-V: Check for hardware TSO support
>
> src/hotspot/cpu/riscv/vm_version_riscv.cpp line 213:
>
>> 211: }
>> 212:
>> 213: #ifdef __riscv_ztso
>
> May I ask where is this `__riscv_ztso` macro defined / specified? I tried to search it in the gcc user manual [1] and gcc source code, but I found nothing about it.
>
> [1] https://gcc.gnu.org/onlinedocs/gcc.pdf
Good question, I don't find docs in the compilers for this either, but:
https://github.com/riscv-non-isa/riscv-toolchain-conventions#cc-preprocessor-definitions
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15613#discussion_r1319439617
More information about the hotspot-dev
mailing list