diff options
author | Andrew Waterman <aswaterman@gmail.com> | 2015-01-04 21:31:18 -0800 |
---|---|---|
committer | Andrew Waterman <aswaterman@gmail.com> | 2015-01-04 21:31:18 -0800 |
commit | 350b03e6dd18616146cf43b9d5daa98db059822b (patch) | |
tree | 98901acff7a9fa4684f4b114aae24d3fe8213f04 /isa/macros | |
parent | 6eb500024591670cb1ecbab19d2dce9266e2d8bf (diff) | |
download | riscv-tests-350b03e6dd18616146cf43b9d5daa98db059822b.zip riscv-tests-350b03e6dd18616146cf43b9d5daa98db059822b.tar.gz riscv-tests-350b03e6dd18616146cf43b9d5daa98db059822b.tar.bz2 |
Avoid deprecated "b" pseudo-op; use "j" instead
Diffstat (limited to 'isa/macros')
-rw-r--r-- | isa/macros/scalar/test_macros.h | 4 | ||||
-rw-r--r-- | isa/macros/vector/test_macros.h | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/isa/macros/scalar/test_macros.h b/isa/macros/scalar/test_macros.h index 5b2b8e5..0f50118 100644 --- a/isa/macros/scalar/test_macros.h +++ b/isa/macros/scalar/test_macros.h @@ -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; \ diff --git a/isa/macros/vector/test_macros.h b/isa/macros/vector/test_macros.h index f5dd276..68e39ae 100644 --- a/isa/macros/vector/test_macros.h +++ b/isa/macros/vector/test_macros.h @@ -247,7 +247,7 @@ skip ## testnum : \ addi a4,a4,4; \ addi a2,a2,1; \ bne a2,a3,test_loop ## testnum; \ - b 1f; \ + j 1f; \ vtcode ## testnum : \ code; \ stop; \ @@ -287,7 +287,7 @@ skip ## testnum : \ addi a4,a4,8; \ addi a2,a2,1; \ bne a2,a3,test_loop ## testnum; \ - b 1f; \ + j 1f; \ vtcode ## testnum : \ code; \ stop; \ @@ -361,7 +361,7 @@ skip ## testnum : \ addi a4,a4,4; \ addi a2,a2,1; \ bne a2,a3,test_loop ## testnum; \ - b 1f; \ + j 1f; \ vtcode ## testnum : \ li x1, val1; \ inst f0, x1; \ @@ -394,7 +394,7 @@ skip ## testnum : \ addi a4,a4,8; \ addi a2,a2,1; \ bne a2,a3,test_loop ## testnum; \ - b 1f; \ + j 1f; \ vtcode ## testnum : \ li x1, val1; \ inst f0, x1; \ |