projects
/
riscv-isa-sim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplify RV32 comparisons
[riscv-isa-sim.git]
/
riscv
/
insns
/
bge.h
diff --git
a/riscv/insns/bge.h
b/riscv/insns/bge.h
index dca544b45381855f4232d9da4b2d67ba83de9616..da0c68e6a41fc8c048330b5473ffcf06343cde4f 100644
(file)
--- a/
riscv/insns/bge.h
+++ b/
riscv/insns/bge.h
@@
-1,2
+1,2
@@
-if(sreg_t(
cmp_trunc(RS1)) >= sreg_t(cmp_trunc(RS2)
))
+if(sreg_t(
RS1) >= sreg_t(RS2
))
set_pc(BRANCH_TARGET);