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:
b2a6129
)
helper for one-source-of-truth for insn argument list for ISACaller and parser
author
Jacob Lifshay
<programmerjake@gmail.com>
Tue, 7 Nov 2023 04:43:13 +0000
(20:43 -0800)
committer
Jacob Lifshay
<programmerjake@gmail.com>
Tue, 14 Nov 2023 23:06:49 +0000
(15:06 -0800)
src/openpower/decoder/isa/caller.py
patch
|
blob
|
history
diff --git
a/src/openpower/decoder/isa/caller.py
b/src/openpower/decoder/isa/caller.py
index 67e0deba85b5ba7f8e8d26dccb83cdbbe36b37cd..cd8d419034f3fa1e08819bd09e3f0d5bc29c7840 100644
(file)
--- a/
src/openpower/decoder/isa/caller.py
+++ b/
src/openpower/decoder/isa/caller.py
@@
-144,6
+144,12
@@
def create_args(reglist, extra=None):
return retval
+def create_full_args(*, read_regs, special_regs, uninit_regs, write_regs,
+ extra=None):
+ return create_args([
+ *read_regs, *uninit_regs, *write_regs, *special_regs], extra=extra)
+
+
class GPR(dict):
def __init__(self, decoder, isacaller, svstate, regfile):
dict.__init__(self)