From: Luke Kenneth Casson Leighton Date: Mon, 14 Jun 2021 23:53:54 +0000 (+0100) Subject: sigh bug in setvl, temporarily setting to 7 not 8 X-Git-Tag: xlen-bcd~461 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5a0bf733e1aa0192a536acd0cf856705e14bc2a3;p=openpower-isa.git sigh bug in setvl, temporarily setting to 7 not 8 --- diff --git a/media/audio/mp3/mp3_0_apply_window_float_basicsv.s b/media/audio/mp3/mp3_0_apply_window_float_basicsv.s index 7f496555..0a0c5d0f 100644 --- a/media/audio/mp3/mp3_0_apply_window_float_basicsv.s +++ b/media/audio/mp3/mp3_0_apply_window_float_basicsv.s @@ -50,7 +50,7 @@ ff_mpadsp_apply_window_float_sv: mulli 0, incr, 31 add out2, out, 0 - setvl 0, 0, 8, 1, 1 # setvli MVL=8, VL=8 + setvl 0, 0, 7, 1, 1 # setvli MVL=8, VL=8 # sv.addi win2, win, 124 lfiwax sum, 0, 9 # zero it diff --git a/src/openpower/decoder/helpers.py b/src/openpower/decoder/helpers.py index 38fee6d1..e9406070 100644 --- a/src/openpower/decoder/helpers.py +++ b/src/openpower/decoder/helpers.py @@ -280,9 +280,10 @@ def FPMUL32(FRA, FRB): #FRA = DOUBLE(SINGLE(FRA)) #FRB = DOUBLE(SINGLE(FRB)) result = float(FRA) * float(FRB) + log ("FPMUL32", FRA, FRB, float(FRA), float(FRB), result) cvt = fp64toselectable(result) cvt = DOUBLE2SINGLE(cvt) - log ("FPMUL32", FRA, FRB, result, cvt) + log (" cvt", cvt) return cvt