Fixed typo for sraw test
authorklehman <klehman9@comcast.net>
Tue, 7 Sep 2021 02:22:12 +0000 (22:22 -0400)
committerklehman <klehman9@comcast.net>
Tue, 7 Sep 2021 02:22:12 +0000 (22:22 -0400)
src/openpower/decoder/isa/test_caller_shift_rot.py

index 9cc12e86f34f072543c0d14556969eecffcfc244..4bfa51006290e04d1693f5a14307b74277f8b895 100644 (file)
@@ -93,7 +93,7 @@ class DecoderTestCase(FHDLTestCase):
             sim = self.run_tst_program(program, initial_regs)
             self.assertEqual(sim.gpr(3), SelectableInt(0x123456, 64))
 
-    def test_case_srw_1(self):
+    def test_case_srw_2(self):
         lst = ["sraw 3, 1, 2"]
         initial_regs = [0] * 32
         initial_regs[1] = 0x82345678  # test the carry