From af0e82cfc89f1917ba219853d45163df6e57e3c4 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 5 Jan 2022 19:12:21 +0000 Subject: [PATCH] add lbzcix instruction which had been completely forgotten (doh) --- src/openpower/decoder/power_enums.py | 2 +- src/openpower/test/ldst/ldst_cases.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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 -- 2.30.2