projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add sv c_lwsp unit test
[riscv-tests.git]
/
isa
/
macros
/
simplev
/
sv_test_macros.h
diff --git
a/isa/macros/simplev/sv_test_macros.h
b/isa/macros/simplev/sv_test_macros.h
index 421d0c3b66fe984555dfdcc8cbaea11ff4652817..ddf951aab96c6ed422683ff7b1602868437e8cde 100644
(file)
--- a/
isa/macros/simplev/sv_test_macros.h
+++ b/
isa/macros/simplev/sv_test_macros.h
@@
-35,8
+35,8
@@
fld reg, offs(x1)
#define TEST_SV_IMM( reg, imm ) \
fld reg, offs(x1)
#define TEST_SV_IMM( reg, imm ) \
- li
x1
, imm; \
- bne reg,
x1
, fail
+ li
t6
, imm; \
+ bne reg,
t6
, fail
#define TEST_SV_FD( flags, freg, from, offs ) \
fsflags x2, x0; \
#define TEST_SV_FD( flags, freg, from, offs ) \
fsflags x2, x0; \