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:
7fa87bf
)
sv_binutils: generate svp64_cr_in2 opindices
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Wed, 21 Sep 2022 08:39:00 +0000
(11:39 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Sat, 24 Sep 2022 09:07:36 +0000
(12:07 +0300)
src/openpower/sv/sv_binutils.py
patch
|
blob
|
history
diff --git
a/src/openpower/sv/sv_binutils.py
b/src/openpower/sv/sv_binutils.py
index 7f677b2c4452ff33033065d6eaba6952917cfeff..77fe09a2004292ceebdccb8a08fc008c2ef30bed 100644
(file)
--- a/
src/openpower/sv/sv_binutils.py
+++ b/
src/openpower/sv/sv_binutils.py
@@
-357,6
+357,7
@@
class Desc(Struct):
extra_idx_out: Extra
extra_idx_out2: Extra
extra_idx_cr_in: Extra
+ extra_idx_cr_in2: Extra
extra_idx_cr_out: Extra
@classmethod
@@
-450,7
+451,7
@@
class Codegen(_enum.Enum):
enums = (
In1Sel, In2Sel, In3Sel, OutSel,
- CRInSel, CROutSel,
+ CRInSel, CR
In2Sel, CR
OutSel,
PType, EType, Extra,
Mode, Function,
)
@@
-548,6
+549,9
@@
class Codegen(_enum.Enum):
CRInSel.BA: "BA",
CRInSel.WHOLE_REG: "FXM",
})
+ yield from opindex(CRIn2Sel, "cr_in2", {
+ CRIn2Sel.BB: "BB",
+ })
yield from opindex(CROutSel, "cr_out", {
CROutSel.BF: "BF",
CROutSel.BT: "BT",