diff mbox series

[FFmpeg-devel] x86/tx_float: enable SIMD for sizes over 131072

Message ID NoSPwvm--3-9@lynne.ee
State New
Headers show
Series [FFmpeg-devel] x86/tx_float: enable SIMD for sizes over 131072 | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Lynne Jan. 18, 2024, 4:33 p.m. UTC
The tables for the new sizes were added last year due
to being required for SDR.
However, the assembly was never updated to use them.

Patch attached.

Comments

Michael Niedermayer Jan. 19, 2024, 10 p.m. UTC | #1
On Thu, Jan 18, 2024 at 05:33:41PM +0100, Lynne wrote:
> The tables for the new sizes were added last year due
> to being required for SDR.
> However, the assembly was never updated to use them.
> 
> Patch attached.
> 

>  tx_float.asm |    8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)
> a8a354082090729d8b772e84f82266a210371d10  0001-x86-tx_float-enable-SIMD-for-sizes-over-131072.patch
> From ccfd9366025105a7dba0471965856b12d73bbd17 Mon Sep 17 00:00:00 2001
> From: Lynne <dev@lynne.ee>
> Date: Thu, 18 Jan 2024 17:30:29 +0100
> Subject: [PATCH] x86/tx_float: enable SIMD for sizes over 131072
> 
> The tables for the new sizes were added last year due
> to being required for SDR.
> However, the assembly was never updated to use them.
> ---
>  libavutil/x86/tx_float.asm | 8 ++++++--
>  1 file changed, 6 insertions(+), 2 deletions(-)

LGTM

thx

[...]
Paul B Mahol Feb. 6, 2024, 11:13 a.m. UTC | #2
Please push this ASAP, my all private projects depends on it.
Lynne Feb. 7, 2024, 2:22 p.m. UTC | #3
Feb 6, 2024, 12:14 by onemda@gmail.com:

> Please push this ASAP, my all private projects depends on it.
>

Pushed, thanks.
diff mbox series

Patch

From ccfd9366025105a7dba0471965856b12d73bbd17 Mon Sep 17 00:00:00 2001
From: Lynne <dev@lynne.ee>
Date: Thu, 18 Jan 2024 17:30:29 +0100
Subject: [PATCH] x86/tx_float: enable SIMD for sizes over 131072

The tables for the new sizes were added last year due
to being required for SDR.
However, the assembly was never updated to use them.
---
 libavutil/x86/tx_float.asm | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/libavutil/x86/tx_float.asm b/libavutil/x86/tx_float.asm
index e1533a8595..42006848f1 100644
--- a/libavutil/x86/tx_float.asm
+++ b/libavutil/x86/tx_float.asm
@@ -46,7 +46,7 @@ 
 %endif
 
 %assign i 16
-%rep 14
+%rep 18
 cextern tab_ %+ i %+ _float ; ff_tab_i_float...
 %assign i (i << 1)
 %endrep
@@ -1385,7 +1385,11 @@  FFT_SPLIT_RADIX_DEF 8192,  .16384pt
 FFT_SPLIT_RADIX_DEF 16384, .32768pt
 FFT_SPLIT_RADIX_DEF 32768, .65536pt
 FFT_SPLIT_RADIX_DEF 65536, .131072pt
-FFT_SPLIT_RADIX_DEF 131072
+FFT_SPLIT_RADIX_DEF 131072, .262144pt
+FFT_SPLIT_RADIX_DEF 262144, .524288pt
+FFT_SPLIT_RADIX_DEF 524288, .1048576pt
+FFT_SPLIT_RADIX_DEF 1048576, .2097152pt
+FFT_SPLIT_RADIX_DEF 2097152
 
 ;===============================================================================
 ; Final synthesis + deinterleaving code
-- 
2.43.0