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:
2057512
)
power_insn: use tuple for bit ranges in fields
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 6 Sep 2022 18:26:03 +0000
(21:26 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Tue, 6 Sep 2022 19:53:05 +0000
(22:53 +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 2ecc2aa8aa2f6ff4f22168c407a795d3ea8b2af5..e596174df7931b0e46da0080e071e4113b6ff377 100644
(file)
--- a/
src/openpower/decoder/power_insn.py
+++ b/
src/openpower/decoder/power_insn.py
@@
-482,7
+482,7
@@
class Fields:
def transform(item):
(name, bitrange) = item
- return (name,
list
(bitrange.values()))
+ return (name,
tuple
(bitrange.values()))
self.__mapping = dict(map(transform, items))