* cmpi BF,L,RA,SI
+Pseudo-code:
+
if L = 0 then a <- EXTS((RA)[32:63])
else a <- (RA)
if a < EXTS(SI) then c <- 0b100
CR field BF
# Compare
+# Compare
X-Form
* cmp BF,L,RA,RB
+Pseudo-code:
+
if L = 0 then
a <- EXTS((RA)[32:63] )
b <- EXTS((RB)[32:63])
CR field BF
# Compare Logical Immediate
+# Compare Logical Immediate
D-Form
* cmpli BF,L,RA,UI
+Pseudo-code:
+
if L = 0 then a <- [0]*32 || (RA)[32:63]
else a <- (RA)
if a <u ( [0]*48 || UI) then c <- 0b100
CR field BF
# Compare Logical
+# Compare Logical
X-Form
* cmpl BF,L,RA,RB
+Pseudo-code:
+
if L = 0 then
a <- [0]*32 || (RA)[32:63]
b <- [0]*32 || (RB)[32:63]
CR field BF
# Compare Ranged Byte
+# Compare Ranged Byte
X-Form
* cmprb BF,L,RA,RB
+Pseudo-code:
+
src1 <- EXTZ((RA)[56:63])
src21hi <- EXTZ((RB)[32:39])
src21lo <- EXTZ((RB)[40:47])
CR field BF
# Compare Equal Byte
+# Compare Equal Byte
X-Form
* cmpeqb BF,RA,RB
+Pseudo-code:
+
src1 <- GPR[RA]
src1 <- src1[56:63]
match <- ((src1 = (RB)[00:07]) |