projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6dfdf85
)
bge and blt are signed ops
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 9 Nov 2018 10:10:24 +0000
(10:10 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Fri, 9 Nov 2018 10:10:24 +0000
(10:10 +0000)
id_regs.py
patch
|
blob
|
history
diff --git
a/id_regs.py
b/id_regs.py
index 035ae433f4f549a7d8ccc8febd09ce2950600953..804010d97fb37c00d45eb9c50477d4939e696e97 100644
(file)
--- a/
id_regs.py
+++ b/
id_regs.py
@@
-264,7
+264,8
@@
if __name__ == '__main__':
if twin_predication:
txt += "\n#define INSN_CATEGORY_TWINPREDICATION\n"
if insn in ['lb', 'lh', 'lw', 'ld',
- 'sb', 'sh', 'sw', 'sd'] or \
+ 'sb', 'sh', 'sw', 'sd',
+ 'bge', 'blt'] or \
insn.endswith('w'):
txt += "#define INSN_TYPE_SIGNED\n"
txt += find_registers(fname, insn, twin_predication,