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
/
beq.h
diff --git
a/riscv/insns/beq.h
b/riscv/insns/beq.h
index 7b26488e434d77715390b54ff5e478949154ecd9..fd7e0614955879ef8a31ed978b9081e20a9da593 100644
(file)
--- a/
riscv/insns/beq.h
+++ b/
riscv/insns/beq.h
@@
-1,2
+1,2
@@
-if(
cmp_trunc(RS1) == cmp_trunc(RS2)
)
+if(
RS1 == RS2
)
set_pc(BRANCH_TARGET);