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:
380d9fc
)
power_insn: do not allow default records
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Fri, 7 Oct 2022 12:14:19 +0000
(15:14 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Fri, 14 Oct 2022 18:52:03 +0000
(21:52 +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 e086a83254446ceae9ab0d731bbc9ba833f10739..ca90eb8032cf0f94769a5133c003d947d9be1c84 100644
(file)
--- a/
src/openpower/decoder/power_insn.py
+++ b/
src/openpower/decoder/power_insn.py
@@
-2193,9
+2193,10
@@
class PPCDatabase:
records[name].add(insn)
sections[name] = section
- for (name, multirecord) in sorted(records.items()):
- multirecord = PPCMultiRecord(sorted(multirecord))
- records[name] = multirecord
+ items = sorted(records.items())
+ records = {}
+ for (name, multirecord) in items:
+ records[name] = PPCMultiRecord(sorted(multirecord))
def exact_match(name):
record = records.get(name)