RFR: 8349632: RISC-V: Add Zfa fminm/fmaxm [v5]

Anjian-Wen duke at openjdk.org
Fri Mar 14 02:30:20 UTC 2025


> Add RISCV zfa extension fminm/fmaxm
> This two new Floating-point instructions can deal with NaN input directly, which can decrease instructions when calculate min or max

Anjian-Wen has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains nine commits:

 - Merge branch 'openjdk:master' into Zfa_dev_branch
 - delete useless comment
 - add temp commit for test
 - Merge branch 'openjdk:master' into Zfa_dev_branch
 - 8349632: RISC-V: Add Zfa fminm/fmaxm
   
   Change macro-assembler routine to directly call in riscv.ad
 - JDK-8349632: RISC-V: Add Zfa fminm/fmaxm
   
   add zfa predicate
 - 8349632: RISC-V: Add Zfa fminm/fmaxm
   
   delete assert in new add macroAssembly but not the old
 - JDK-8349632: RISCV: Add Zfa fminm/fmaxm
   
   delete assert and change fminm/fmaxm to new match rule
 - 8349632:RISC-V: Add Zfa fminm/fmaxm

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

Changes: https://git.openjdk.org/jdk/pull/23509/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23509&range=04
  Stats: 80 lines in 2 files changed: 80 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/23509.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23509/head:pull/23509

PR: https://git.openjdk.org/jdk/pull/23509


More information about the hotspot-compiler-dev mailing list