From 720e751f35150251cab05bc9fca3add39daf70af Mon Sep 17 00:00:00 2001 From: Xiaolin Zheng Date: Wed, 30 Mar 2022 10:01:39 +0000 Subject: [PATCH] 8283937: riscv: RVC: Fix c_beqz to c_bnez Reviewed-by: shade --- src/hotspot/cpu/riscv/assembler_riscv.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/cpu/riscv/assembler_riscv.hpp b/src/hotspot/cpu/riscv/assembler_riscv.hpp index 4923962a496..e8b43aee9db 100644 --- a/src/hotspot/cpu/riscv/assembler_riscv.hpp +++ b/src/hotspot/cpu/riscv/assembler_riscv.hpp @@ -2795,7 +2795,7 @@ public: } INSN(beq, c_beqz, _beq); - INSN(bne, c_beqz, _bne); + INSN(bne, c_bnez, _bne); #undef INSN