From 84e503cefc779c321ce80bae171d30b2b96974f8 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Mon, 25 Jul 2022 15:24:39 +0300 Subject: [PATCH] svp64.py: update svindex operands --- src/openpower/sv/trans/svp64.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/openpower/sv/trans/svp64.py b/src/openpower/sv/trans/svp64.py index 1625ad98..6e62144f 100644 --- 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), -- 2.30.2