From de4bbb93189a8980c5e47501a28a8fa62a4231b6 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 24 Jun 2022 21:58:26 +0100 Subject: [PATCH] rename mask to rmm in svindex --- src/openpower/sv/trans/svp64.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openpower/sv/trans/svp64.py b/src/openpower/sv/trans/svp64.py index 6e841e5e..593b34d1 100644 --- a/src/openpower/sv/trans/svp64.py +++ b/src/openpower/sv/trans/svp64.py @@ -313,11 +313,11 @@ class SVP64Asm: if opcode == "svindex": # 1.6.28 SVI-FORM # |0 |6 |11 |16 |21 |23|24|25|26 31| - # | PO | RS |mask | SVd |ew |yx|mm|sk| XO | + # | PO | RS |rmm | SVd |ew |yx|mm|sk| XO | fields = list(map(int, fields)) insn = 22 << (31-5) # opcode 22, bits 0-5 insn |= fields[0] << (31-10) # RS , bits 6-10 - insn |= fields[1] << (31-15) # mask , bits 11-15 + insn |= fields[1] << (31-15) # rmm , bits 11-15 insn |= (fields[2]-1) << (31-20) # SVd , bits 16-20 insn |= fields[3] << (31-22) # ew , bits 21-22 insn |= fields[4] << (31-23) # yx , bit 23 -- 2.30.2