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:
433665c
)
power_insn: slightly change table checking style
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Sat, 24 Sep 2022 13:22:14 +0000
(16:22 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Sat, 24 Sep 2022 13:27:37 +0000
(16:27 +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 89ffeeca0210f3a1ee4b565f96a923c9ddbf8bad..4805f2dc58885d308754fcf022b45be73cab628f 100644
(file)
--- a/
src/openpower/decoder/power_insn.py
+++ b/
src/openpower/decoder/power_insn.py
@@
-1947,7
+1947,7
@@
class RM(BaseRM):
# look up in table
if table is not None:
for (value, mask, member) in table:
- if ((value & mask) == (
mask & search
)):
+ if ((value & mask) == (
search & mask
)):
rm = getattr(rm, member)
break