RFR: 8357695: RISC-V: Move vector intrinsic condition checks into match_rule_supported_vector [v4]
Fei Yang
fyang at openjdk.org
Wed May 28 01:44:56 UTC 2025
On Tue, 27 May 2025 07:06:45 GMT, Dingli Zhang <dzhang at openjdk.org> wrote:
>> Hi all,
>> Please take a look and review this PR, thanks!
>>
>> Currently, the match_rule_supported function in riscv.ad contains checks for vector-related intrinsics (e.g., FmaVF, FmaVD, RoundVF, RoundVD). These checks can be centralized into the match_rule_supported_vector function in the riscv_v.ad file, ensuring consistent handling in their appropriate context.
>>
>> ### Testing
>> * [x] Linux riscv64 server release build on SG2042
>
> Dingli Zhang has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix typo
Thanks for the update. Latest version looks fine.
I built fastdebug build and performed `jdk_vector`, `compiler/vectorization` and `compiler/vectorapi` tests using qemu-system (with rvv vlen=256). Result looks good.
-------------
Marked as reviewed by fyang (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/25438#pullrequestreview-2873267658
More information about the hotspot-compiler-dev
mailing list