added assertion to regression_rlwnm
authorklehman <klehman9@comcast.net>
Tue, 7 Sep 2021 15:47:32 +0000 (11:47 -0400)
committerklehman <klehman9@comcast.net>
Tue, 7 Sep 2021 15:47:32 +0000 (11:47 -0400)
src/openpower/decoder/isa/test_caller_shift_rot.py

index c143c1a948444053756479cd90160523be4a0134..e0e32056918a2c7e7f57fdffd293810ed21f6a85 100644 (file)
@@ -16,6 +16,7 @@ class DecoderTestCase(FHDLTestCase):
         initial_regs[2] = 11
         with Program(lst, bigendian=False) as program:
             sim = self.run_tst_program(program, initial_regs)
+            self.assertEqual(sim.gpr(3), SelectableInt(0x8800, 64))
 
     def test_case_srw_1(self):
         lst = ["sraw 3, 1, 2"]