RFR: 8346706: RISC-V: Add available registers to hs_err

Robbin Ehn rehn at openjdk.org
Fri Dec 20 13:53:36 UTC 2024


On Fri, 20 Dec 2024 13:40:08 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

>> `SVE_CFLAGS` is used to compile a separate library, libsleef. They do not have an already prepared set of flags to use, as Hotspot do. (Hotspot is the only library which has this, since it is magnitutes more complex than other libraries.)
>
> Having different flags for the build and the target JVM is a bit more tricky, but not impossible. You just need to "hålla tungan rätt i mun". :-) 
> 
> In `FLAGS_SETUP_CFLAGS_CPU_DEP`, you need to add something like:
> 
>   if test "x$FLAGS_CPU" = xriscv64; then
>     $1_DEFINES_CPU_JVM="$1_DEFINES_CPU_JVM $2RVV_DEFINES"
>   fi

Thanks, I'll test it.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22845#discussion_r1893965260


More information about the hotspot-runtime-dev mailing list