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:
6467826
)
comparefixed: switch cmpli to XLEN
author
Dmitry Selyutin
<dmitry.selyutin@3mdeb.com>
Sat, 4 Sep 2021 17:29:28 +0000
(17:29 +0000)
committer
Dmitry Selyutin
<dmitry.selyutin@3mdeb.com>
Sat, 4 Sep 2021 17:29:28 +0000
(17:29 +0000)
openpower/isa/comparefixed.mdwn
patch
|
blob
|
history
diff --git
a/openpower/isa/comparefixed.mdwn
b/openpower/isa/comparefixed.mdwn
index dbcafd0749954b4db874163e2786943e5bd44afb..c2f93ec77371b5003724a3650434c5a4074a428b 100644
(file)
--- a/
openpower/isa/comparefixed.mdwn
+++ b/
openpower/isa/comparefixed.mdwn
@@
-57,10
+57,10
@@
D-Form
Pseudo-code:
- if L = 0 then a <- [0]*
32 || (RA)[32:63
]
+ if L = 0 then a <- [0]*
(XLEN/2) || (RA)[XLEN/2:XLEN-1
]
else a <- (RA)
- if a <u ([0]*
48
|| UI) then c <- 0b100
- else if a >u ([0]*
48
|| UI) then c <- 0b010
+ if a <u ([0]*
(XLEN-16)
|| UI) then c <- 0b100
+ else if a >u ([0]*
(XLEN-16)
|| UI) then c <- 0b010
else c <- 0b001
CR[4*BF+32:4*BF+35] <- c || XER[SO]