start with zero, try not to compare against 9 bytes in a 64-bit value: cmpeqb test
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 31 May 2020 12:08:22 +0000 (13:08 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 31 May 2020 12:08:22 +0000 (13:08 +0100)
src/soc/fu/alu/test/test_pipe_caller.py

index ec738383cb8e47bcf4c02ea844769a70e5dbc26b..a98d3440905ddec7efd6c4d233172f19b0a24785 100644 (file)
@@ -151,7 +151,7 @@ class ALUTestCase(FHDLTestCase):
         for i in range(20):
             initial_regs = [0] * 32
             initial_regs[1] = i
-            initial_regs[2] = 0x01030507090b0d0f11
+            initial_regs[2] = 0x0001030507090b0f
             self.run_tst_program(Program(lst), initial_regs, {})
 
     def test_ilang(self):