From: Luke Kenneth Casson Leighton Date: Wed, 5 Jan 2022 19:12:21 +0000 (+0000) Subject: add lbzcix instruction which had been completely forgotten (doh) X-Git-Tag: sv_maxu_works-initial~583 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af0e82cfc89f1917ba219853d45163df6e57e3c4;p=openpower-isa.git add lbzcix instruction which had been completely forgotten (doh) --- diff --git a/src/openpower/decoder/power_enums.py b/src/openpower/decoder/power_enums.py index f0392d58..4d62d068 100644 --- a/src/openpower/decoder/power_enums.py +++ b/src/openpower/decoder/power_enums.py @@ -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 diff --git a/src/openpower/test/ldst/ldst_cases.py b/src/openpower/test/ldst/ldst_cases.py index 136c53e0..cbadf78e 100644 --- a/src/openpower/test/ldst/ldst_cases.py +++ b/src/openpower/test/ldst/ldst_cases.py @@ -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