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:
363bada
)
power_insn: fix sat checks
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Sat, 17 Sep 2022 20:48:34 +0000
(23:48 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Sat, 17 Sep 2022 20:48:45 +0000
(23:48 +0300)
src/openpower/decoder/power_insn.py
patch
|
blob
|
history
diff --git
a/src/openpower/decoder/power_insn.py
b/src/openpower/decoder/power_insn.py
index 2062d07a5f894ed085d47eedd005689d093fbcf0..a86e281f8a3a434f91b1506c8baa05fdf68523f2 100644
(file)
--- a/
src/openpower/decoder/power_insn.py
+++ b/
src/openpower/decoder/power_insn.py
@@
-1356,7
+1356,7
@@
class NormalSaturationRM(NormalBaseRM):
yield f"dz"
if self.sz:
yield f"sz"
- if self.
sat
:
+ if self.
N
:
yield "sats"
else:
yield "satu"
@@
-1374,7
+1374,7
@@
class NormalSaturationExtRM(NormalBaseRM):
def specifiers(self):
if self.zz:
yield f"zz"
- if self.
sat
:
+ if self.
N
:
yield "sats"
else:
yield "satu"
@@
-1458,7
+1458,7
@@
class LDSTImmSaturationRM(LDSTImmBaseRM):
def specifiers(self):
if self.zz:
yield f"zz"
- if self.
sat
:
+ if self.
N
:
yield "sats"
else:
yield "satu"
@@
-1533,7
+1533,7
@@
class LDSTIdxSaturationRM(LDSTIdxBaseRM):
yield f"dz"
if self.sz:
yield f"sz"
- if self.
sat
:
+ if self.
N
:
yield "sats"
else:
yield "satu"