add lbzcix instruction which had been completely forgotten (doh)
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 5 Jan 2022 19:12:21 +0000 (19:12 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 5 Jan 2022 19:12:21 +0000 (19:12 +0000)
src/openpower/decoder/power_enums.py
src/openpower/test/ldst/ldst_cases.py

index f0392d584f1607ad13b83398b18501f739ea4834..4d62d068ae8d716bd26039961c22754b351befb6 100644 (file)
@@ -284,7 +284,7 @@ _insns = [
     "fmr", "fabs", "fnabs", "fneg", "fcpsgn",           # FP move/abs/neg
     "fsins", "fcoss",                                   # FP SIN/COS
     "hrfid", "icbi", "icbt", "isel", "isync",
-    "lbarx", "lbz", "lbzu", "lbzux", "lbzx",            # load byte
+    "lbarx", "lbz", "lbzcix", "lbzu", "lbzux", "lbzx",  # load byte
     "ld", "ldarx", "ldbrx", "ldu", "ldux", "ldx",       # load double
     # "lbzbr", "lbzubr",  # load byte SVP64 bit-reversed
     # "ldbr", "ldubr",    # load double SVP64 bit-reversed
index 136c53e00a3a61e7be012502ec21a0eef18059a9..cbadf78e5c1da64a54114e03836b44831eaaf3e1 100644 (file)
@@ -200,7 +200,8 @@ class LDSTTestCase(TestAccumulatorBase):
 
     def case_10_load_store_cix(self):
         lst = ["stbcix 1, 4, 2",
-               "lwzcix 3, 4, 2"]
+               "lwzcix 3, 4, 2",
+               "lbzcix 5, 4, 2"]
         initial_regs = [0] * 32
         initial_regs[1] = 0x5678
         initial_regs[2] = 0x001c