projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid x3 (gp), which is now TESTNUM
[riscv-tests.git]
/
isa
/
rv64ui
/
jal.S
diff --git
a/isa/rv64ui/jal.S
b/isa/rv64ui/jal.S
index f7f299d210277694f5a9056db6eb1ef770386c53..00c65d8add5a2669186f25301a37996e677f96d2 100644
(file)
--- a/
isa/rv64ui/jal.S
+++ b/
isa/rv64ui/jal.S
@@
-21,7
+21,7
@@
test_2:
li TESTNUM, 2
li ra, 0
li TESTNUM, 2
li ra, 0
- jal x
3
, target_2
+ jal x
4
, target_2
linkaddr_2:
nop
nop
linkaddr_2:
nop
nop
@@
-30,7
+30,7
@@
linkaddr_2:
target_2:
la x2, linkaddr_2
target_2:
la x2, linkaddr_2
- bne x2, x
3
, fail
+ bne x2, x
4
, fail
#-------------------------------------------------------------
# Test delay slot instructions not executed nor bypassed
#-------------------------------------------------------------
# Test delay slot instructions not executed nor bypassed