projects
/
openpower-isa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50d4746
)
fixedtrap: switch twi to XLEN
author
Dmitry Selyutin
<dmitry.selyutin@3mdeb.com>
Sat, 4 Sep 2021 19:38:26 +0000
(19:38 +0000)
committer
Dmitry Selyutin
<dmitry.selyutin@3mdeb.com>
Sat, 4 Sep 2021 19:38:26 +0000
(19:38 +0000)
openpower/isa/fixedtrap.mdwn
patch
|
blob
|
history
diff --git
a/openpower/isa/fixedtrap.mdwn
b/openpower/isa/fixedtrap.mdwn
index 34a0184cea1cba4441d98a5c7d7c90372660734d..52f4d373754fa8105651ad2f7ecd2e9c02e045f1 100644
(file)
--- a/
openpower/isa/fixedtrap.mdwn
+++ b/
openpower/isa/fixedtrap.mdwn
@@
-15,7
+15,7
@@
D-Form
Pseudo-code:
- a <- EXTS((RA)[
32:63
])
+ a <- EXTS((RA)[
XLEN/2:XLEN-1
])
if (a < EXTS(SI)) & TO[0] then TRAP
if (a > EXTS(SI)) & TO[1] then TRAP
if (a = EXTS(SI)) & TO[2] then TRAP