update comments in fmvis case
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 26 Jul 2022 15:38:53 +0000 (16:38 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 26 Jul 2022 15:38:53 +0000 (16:38 +0100)
src/openpower/test/alu/fmvis_cases.py

index cca4fb49d2f3dc1c2611bb642a6e1655b28f8625..7562cd1e64f49ce0802a53858d6ee1538cf81790 100644 (file)
@@ -23,5 +23,6 @@ class FMVISTestCase(TestAccumulatorBase):
         expected_fprs[5] = 0x4000000000000000 # 2.0 in FP64 form
         expected_fprs[6] = 0x2122000000000000
         expected_fprs[7] = 0x3FD0000000000000 # 0.25 in FP64 form
-        e = ExpectedState(pc=4, fp_regs=expected_fprs) # TODO, add FPRs
+        e = ExpectedState(pc=0xc, # 3 instructions so 3x4=0xc
+                          fp_regs=expected_fprs) # expected results
         self.add_case(Program(lst, bigendian), expected=e)