1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

x86/tx_float: fix stray change in 15xM FFT and replace imul->lea

Thanks to rorgoroth for bisecting and kurosu for the lea suggestion.
This commit is contained in:
Lynne
2022-11-28 04:15:36 +01:00
committed by Hendrik Leppkes
parent 48c385fb4c
commit 90c17a05aa

View File

@@ -1772,7 +1772,7 @@ IMDCT_FN avx2
%macro PFA_15_FN 2 %macro PFA_15_FN 2
INIT_YMM %1 INIT_YMM %1
%if %2 %if %2
cglobal fft_pfa_15xM_asm_float, 0, 8, 0, ctx, out, in, stride, len, lut, buf, map, tgt, tmp, \ cglobal fft_pfa_15xM_asm_float, 0, 0, 0, ctx, out, in, stride, len, lut, buf, map, tgt, tmp, \
tgt5, stride3, stride5, btmp tgt5, stride3, stride5, btmp
%else %else
cglobal fft_pfa_15xM_float, 4, 14, 16, 320, ctx, out, in, stride, len, lut, buf, map, tgt, tmp, \ cglobal fft_pfa_15xM_float, 4, 14, 16, 320, ctx, out, in, stride, len, lut, buf, map, tgt, tmp, \
@@ -1892,7 +1892,7 @@ cglobal fft_pfa_15xM_float, 4, 14, 16, 320, ctx, out, in, stride, len, lut, buf,
mov stride5q, lenq mov stride5q, lenq
mov tgt5q, btmpq mov tgt5q, btmpq
POP strideq POP strideq
imul tmpq, strideq, 3 lea tmpq, [strideq + 2*strideq]
.post: .post:
LOAD64_LUT m0, inq, stride3q, 0, tmpq, m8, m9 LOAD64_LUT m0, inq, stride3q, 0, tmpq, m8, m9