Skip to content

Commit 65cf0ef

Browse files
feilongjiangRealFYang
authored andcommitted
8279487: riscv: Fix bad AD file when UseRVB is disabled
Reviewed-by: fyang
1 parent dc923e2 commit 65cf0ef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/hotspot/cpu/riscv/riscv.ad

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1772,6 +1772,9 @@ const bool Matcher::match_rule_supported(int opcode) {
17721772
return UseRVV;
17731773
case Op_EncodeISOArray:
17741774
return UseRVV && SpecialEncodeISOArray;
1775+
case Op_RotateRight:
1776+
case Op_RotateLeft:
1777+
return UseRVB;
17751778
}
17761779

17771780
return true; // Per default match rules are supported.

0 commit comments

Comments
 (0)