Skip to content

Commit

Permalink
8318805: RISC-V: Wrong comments instructions cost in riscv.ad
Browse files Browse the repository at this point in the history
Reviewed-by: luhenry, fyang
  • Loading branch information
Hamlin Li committed Oct 26, 2023
1 parent bc1ba24 commit 3cea892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hotspot/cpu/riscv/riscv.ad
Original file line number Diff line number Diff line change
Expand Up @@ -983,8 +983,8 @@ definitions %{
int_def XFER_COST ( 300, 3 * DEFAULT_COST); // mfc, mtc, fcvt, fmove, fcmp
int_def BRANCH_COST ( 200, 2 * DEFAULT_COST); // branch, jmp, call
int_def IMUL_COST ( 1000, 10 * DEFAULT_COST); // imul
int_def IDIVSI_COST ( 3400, 34 * DEFAULT_COST); // idivdi
int_def IDIVDI_COST ( 6600, 66 * DEFAULT_COST); // idivsi
int_def IDIVSI_COST ( 3400, 34 * DEFAULT_COST); // idivsi
int_def IDIVDI_COST ( 6600, 66 * DEFAULT_COST); // idivdi
int_def FMUL_SINGLE_COST ( 500, 5 * DEFAULT_COST); // fmul, fmadd
int_def FMUL_DOUBLE_COST ( 700, 7 * DEFAULT_COST); // fmul, fmadd
int_def FDIV_COST ( 2000, 20 * DEFAULT_COST); // fdiv
Expand Down

1 comment on commit 3cea892

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.