Avoid deprecated "b" pseudo-op; use "j" instead
[riscv-tests.git] / isa / rv64si / ipi.S
index 3b0334879b3debdd8879881b13cb98666c084065..753a182e4007473520a42f5772ee7dec1ba66abf 100644 (file)
@@ -32,7 +32,7 @@ RVTEST_CODE_BEGIN
   add a0, a0, 1
   rem a0, a0, a3
   csrw send_ipi, a0
-  1: b 1b
+  1: j 1b
 
   handler:
   csrr a0, hartid
@@ -44,7 +44,7 @@ RVTEST_CODE_BEGIN
   2: add a0, a0, 1
   rem a0, a0, a3
   csrw send_ipi, a0
-  1: b 1b
+  1: j 1b
 
 RVTEST_CODE_END