check spr1 in test spr compunit
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 5 Jul 2020 12:56:44 +0000 (13:56 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 5 Jul 2020 12:56:44 +0000 (13:56 +0100)
src/soc/fu/compunits/test/test_spr_compunit.py

index bcc7b85153c109d1f021034aeeb2840f48992b85..5fa58b9e26e57d7875c89d6ee542c62d3bd3ad90 100644 (file)
@@ -42,11 +42,13 @@ class SPRTestRunner(TestRunner):
         yield from ALUHelpers.get_sim_xer_ov(sim_o, sim, dec2)
         yield from ALUHelpers.get_wr_sim_xer_ca(sim_o, sim, dec2)
         yield from ALUHelpers.get_wr_fast_spr1(sim_o, sim, dec2)
+        yield from ALUHelpers.get_wr_slow_spr1(sim_o, sim, dec2)
 
         ALUHelpers.check_xer_ov(self, res, sim_o, code)
         ALUHelpers.check_xer_ca(self, res, sim_o, code)
         ALUHelpers.check_int_o(self, res, sim_o, code)
         ALUHelpers.check_fast_spr1(self, res, sim_o, code)
+        ALUHelpers.check_slow_spr1(self, res, sim_o, code)
         ALUHelpers.check_xer_so(self, res, sim_o, code)