RFR: 8284949: riscv: Add Zero support for the 32-bit RISC-V architecture
Yadong Wang
yadongwang at openjdk.java.net
Mon Apr 18 15:30:40 UTC 2022
On Mon, 18 Apr 2022 09:07:03 GMT, Feilong Jiang <fjiang at openjdk.org> wrote:
> This patch adds Zero support for the 32-bit RISC-V architecture.
>
> Additional tests:
>
> - [x] Linux zero RISCV32 cross-compilation
> - [x] Resulting binaries run on QEMU User mode without problems
src/hotspot/os/linux/waitBarrier_linux.cpp line 44:
> 42: #ifndef SYS_futex
> 43: #if defined(RISCV32) && defined(SYS_futex_time64)
> 44: #define SYS_futex SYS_futex_time64
Should it be better to check SYS_futex and SYS_futex_time64 when RISCV32 defined?
-------------
PR: https://git.openjdk.java.net/jdk/pull/8284
More information about the build-dev
mailing list