From 7b84a8c0155b026ee9d7c46928b76655fc8362a1 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 24 Sep 2022 17:21:41 +0100 Subject: [PATCH] check variable rather than explicit == LDST_IDX --- src/openpower/sv/trans/svp64.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/sv/trans/svp64.py b/src/openpower/sv/trans/svp64.py index 6e86f618..7bf93eff 100644 --- a/src/openpower/sv/trans/svp64.py +++ b/src/openpower/sv/trans/svp64.py @@ -1155,7 +1155,7 @@ class SVP64Asm: vli = True elif encmode == 'sea': assert sv_mode in (None, 0b00, 0b01) - assert rm['mode'] == "LDST_IDX" + assert is_ldst_idx sea = True assert failfirst is False, "cannot use ffirst+signed-address" elif is_bc: -- 2.30.2