RFR: 8320500: [vectorapi] RISC-V: Optimize vector math operations with SLEEF [v4]

Hamlin Li mli at openjdk.org
Tue Sep 24 14:56:30 UTC 2024


On Tue, 24 Sep 2024 05:57:08 GMT, Robbin Ehn <rehn at openjdk.org> wrote:

>> src/hotspot/cpu/riscv/riscv.ad line 10078:
>> 
>>> 10076:   match(CallLeafVector);
>>> 10077: 
>>> 10078:   effect(USE meth);
>> 
>> It's possible for the runtime call to clobber rFlagsReg `cr` (aka `t1`). So safer to add `KILL cr` to the effect.
>
> Good find, it will definitely be clobbered.

Thanks for catching!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21083#discussion_r1773531542


More information about the build-dev mailing list