svp64.py: fix fsins/fcoss X-FORM
authorDmitry Selyutin <ghostmansd@gmail.com>
Sun, 26 Jun 2022 15:42:23 +0000 (18:42 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Sun, 26 Jun 2022 15:42:23 +0000 (18:42 +0300)
src/openpower/sv/trans/svp64.py

index b3d254fa1b91c4fec7581755906727f380384030..6284296f0f84fc17763a5ad169126f21d4d2d7fc 100644 (file)
@@ -237,7 +237,7 @@ def fsins(fields, Rc):
     # however we are out of space with opcode 22
     # 1.6.7 X-FORM
     # |0     |6 |7|8|9  |10  |11|12|13  |15|16|17     |20|21    |31  |
-    # | PO   |   FRT         |   FRA       |   FRB       |   XO |  / |
+    # | PO   |   FRT         |     ///     |   FRB       |   XO |Rc  |
     PO = 59
     XO = 0b1000001110
     (FRT, FRB) = fields
@@ -256,7 +256,7 @@ def fcoss(fields, Rc):
     # however we are out of space with opcode 22
     # 1.6.7 X-FORM
     # |0     |6 |7|8|9  |10  |11|12|13  |15|16|17     |20|21    |31  |
-    # | PO   |   FRT         |   FRA       |   FRB       |   XO |  / |
+    # | PO   |   FRT         |     ///     |   FRB       |   XO |Rc  |
     PO = 59
     XO = 0b1000101110
     (FRT, FRB) = fields