Avoid deprecated "b" pseudo-op; use "j" instead
[riscv-tests.git] / isa / macros / scalar / test_macros.h
index 5b2b8e59eab3a40d07ed21d33b4daeb749083413..0f50118d4009141e2b6c7b920a38e77d9b7ba941 100644 (file)
@@ -540,7 +540,7 @@ test_ ## testnum: \
   fsflags x0; \
   fmv.x.s a0, f0; \
   bne a0, a3, fail; \
-  b 1f; \
+  j 1f; \
   .align 2; \
   test_ ## testnum ## _data: \
   .float result; \
@@ -556,7 +556,7 @@ test_ ## testnum: \
   fsflags x0; \
   fmv.x.d a0, f0; \
   bne a0, a3, fail; \
-  b 1f; \
+  j 1f; \
   .align 3; \
   test_ ## testnum ## _data: \
   .double result; \