projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pass all FP tests if FPU not present
[riscv-tests.git]
/
env
/
pm
/
riscv_test.h
diff --git
a/env/pm/riscv_test.h
b/env/pm/riscv_test.h
index 357fd3d4990e7727d225c5f8107041f268f2cf7f..fd07ead1d4fe3308a44bac639038d96365aff58b 100644
(file)
--- a/
env/pm/riscv_test.h
+++ b/
env/pm/riscv_test.h
@@
-13,9
+13,9
@@
setpcr cr0, 2; \
mfpcr a0, cr0; \
and a0, a0, 2; \
- b
eqz a0, 1
f; \
-
mtfsr x0;
\
-1:
+ b
nez a0, 2
f; \
+
RVTEST_PASS;
\
+2:mtfsr x0; \
#define RVTEST_VEC_ENABLE \
mfpcr a0, cr0; \