From: Luke Kenneth Casson Leighton Date: Sat, 10 Jul 2021 16:24:10 +0000 (+0100) Subject: whoops forgot elif in SVP64Asm translation, detection of ffmadds overwritten X-Git-Tag: xlen-bcd~305 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=262a3ae1adedf6e2c2389b484a01cbf0ddea3a72;p=openpower-isa.git whoops forgot elif in SVP64Asm translation, detection of ffmadds overwritten --- diff --git a/src/openpower/sv/trans/svp64.py b/src/openpower/sv/trans/svp64.py index 05f97632..6fc57705 100644 --- a/src/openpower/sv/trans/svp64.py +++ b/src/openpower/sv/trans/svp64.py @@ -818,7 +818,7 @@ class SVP64Asm: opcode |= 1 # Rc, bit 31. yield ".long 0x%x" % opcode # argh, sv.ffadds etc. need to be done manually - if v30b_op == 'ffadds': + elif v30b_op == 'ffadds': opcode = 59 << (32-6) # bits 0..6 (MSB0) opcode |= int(v30b_newfields[0]) << (32-11) # FRT opcode |= int(v30b_newfields[1]) << (32-16) # FRA