RFR: 8357695: RISC-V: Move vector intrinsic condition checks into match_rule_supported_vector

Feilong Jiang fjiang at openjdk.org
Mon May 26 13:17:51 UTC 2025


On Mon, 26 May 2025 02:52:01 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

Looks good. Thanks!

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

Marked as reviewed by fjiang (Committer).

PR Review: https://git.openjdk.org/jdk/pull/25438#pullrequestreview-2868425897


More information about the hotspot-compiler-dev mailing list