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:
452c32c
)
svp64.py: update svindex operands
author
Dmitry Selyutin
<ghostmansd@gmail.com>
Mon, 25 Jul 2022 12:24:39 +0000
(15:24 +0300)
committer
Dmitry Selyutin
<ghostmansd@gmail.com>
Mon, 25 Jul 2022 12:24:39 +0000
(15:24 +0300)
src/openpower/sv/trans/svp64.py
patch
|
blob
|
history
diff --git
a/src/openpower/sv/trans/svp64.py
b/src/openpower/sv/trans/svp64.py
index 1625ad98e910195a552d04e17a64f3fcc3683b70..6e62144fe87ea07422dea87c94ff0debe754cba7 100644
(file)
--- a/
src/openpower/sv/trans/svp64.py
+++ b/
src/openpower/sv/trans/svp64.py
@@
-157,16
+157,16
@@
def svindex(fields):
1.6.28 SVI-FORM
|0 |6 |11 |16 |21 |23|24|25|26 31|
- | PO |
RS
|rmm | SVd |ew |yx|mm|sk| XO |
+ | PO |
SVG
|rmm | SVd |ew |yx|mm|sk| XO |
"""
# note that the dimension field one subtracted
PO = 22
XO = 0b101001
- (
RS
, rmm, SVd, ew, yx, mm, sk) = fields
+ (
SVG
, rmm, SVd, ew, yx, mm, sk) = fields
SVd -= 1
return instruction(
(PO , 0 , 5),
- (
RS
, 6 , 10),
+ (
SVG
, 6 , 10),
(rmm, 11 , 15),
(SVd, 16 , 20),
(ew , 21 , 22),