add stq to CSV files and unit test to test_pysvp64dis.py
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 8 Oct 2022 12:23:03 +0000 (13:23 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 8 Oct 2022 12:23:03 +0000 (13:23 +0100)
openpower/isatables/LDSTRM-2P-2S.csv
openpower/isatables/minor_62.csv
src/openpower/sv/trans/test_pysvp64dis.py

index 6ffc3e139695569302213145c625599ab5615a26..27714d2392aa863a3040938a9273b08f9f563a98 100644 (file)
@@ -5,3 +5,4 @@ sth,LDST_IMM,,2P,EXTRA3,EN,s:RS,s:RA,0,0,RA_OR_ZERO,0,RS,0,0,0,0
 stfs,LDST_IMM,,2P,EXTRA3,EN,s:FRS,s:RA,0,0,RA_OR_ZERO,0,FRS,0,0,0,0
 stfd,LDST_IMM,,2P,EXTRA3,EN,s:FRS,s:RA,0,0,RA_OR_ZERO,0,FRS,0,0,0,0
 std,LDST_IMM,,2P,EXTRA3,EN,s:RS,s:RA,0,0,RA_OR_ZERO,0,RS,0,0,0,0
+stq,LDST_IMM,,2P,EXTRA3,EN,s:RS,s:RA,0,0,RA_OR_ZERO,0,RS,0,0,0,0
index e5f5a02a1b2eac77ec859a9492332d08612bef9e..aceb5026ef38b91a7ac54ec44ded313c04defdb3 100644 (file)
@@ -3,3 +3,4 @@
 opcode,unit,internal op,in1,in2,in3,out,CR in,CR out,inv A,inv out,cry in,cry out,ldst len,BR,sgn ext,upd,rsrv,32b,sgn,rc,lk,sgl pipe,comment,form,CONDITIONS
 0,LDST,OP_STORE,RA_OR_ZERO,CONST_DS,RS,NONE,NONE,NONE,0,0,ZERO,0,is8B,0,0,0,0,0,0,NONE,0,1,std,DS,
 1,LDST,OP_STORE,RA_OR_ZERO,CONST_DS,RS,NONE,NONE,NONE,0,0,ZERO,0,is8B,0,0,1,0,0,0,NONE,0,1,stdu,DS,
+2,LDST,OP_STORE,RA_OR_ZERO,CONST_DS,RS,NONE,NONE,NONE,0,0,ZERO,0,is8B,0,0,0,0,0,0,NONE,0,1,stq,DS,
index 40a18cc17a36ec06b98c1e204ad56506c68eb33e..8c39bf7692fdc2bf6ce5134f7f66ff176c3cf583 100644 (file)
@@ -353,6 +353,15 @@ class SVSTATETestCase(unittest.TestCase):
                         ]
         self._do_tst(expected)
 
+    def test_25_stq(self):
+        expected = [
+                    "stq 4,0(5)",
+                    "stq 4,8(5)",
+                    "stq 4,16(5)",
+                    "sv.stq *4,16(*5)",
+                        ]
+        self._do_tst(expected)
+
 
 if __name__ == "__main__":
     unittest.main()