This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 1271c849574fed0ecbd62cf1aacd32bdac4498bd
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Mon Oct 20 19:01:44 2025 +0200
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Mon Nov 23 11:26:58 2026 +0100

    avcodec/x86/constants: Don't unnecessarily mark constants as used
    
    DECLARE_ASM_ALIGNED is supposed to be used for variables
    accessed from inline assembly (it marks these variables as used,
    so that compilers don't eliminate variables only accessed from
    within inline assembly). Yet none of these variables here
    are actually used by inline assembly at all anymore (because
    most of it has been ported to/superseded by external assembly),
    so use the ordinary DECLARE_ALIGNED.
    
    ff_h264_cabac_tables is now the only object using DECLARE_ASM_ALIGNED.
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/x86/constants.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/libavcodec/x86/constants.c b/libavcodec/x86/constants.c
index 1e6abf2bd2..d84b2cf1cb 100644
--- a/libavcodec/x86/constants.c
+++ b/libavcodec/x86/constants.c
@@ -26,17 +26,17 @@ DECLARE_ALIGNED(32, const ymm_reg,  ff_pw_1)    = { 
0x0001000100010001ULL, 0x000
                                                     0x0001000100010001ULL, 
0x0001000100010001ULL };
 DECLARE_ALIGNED(32, const ymm_reg,  ff_pw_2)    = { 0x0002000200020002ULL, 
0x0002000200020002ULL,
                                                     0x0002000200020002ULL, 
0x0002000200020002ULL };
-DECLARE_ASM_ALIGNED(16, const xmm_reg,  ff_pw_3)    = { 0x0003000300030003ULL, 
0x0003000300030003ULL };
-DECLARE_ASM_ALIGNED(32, const ymm_reg,  ff_pw_4)    = { 0x0004000400040004ULL, 
0x0004000400040004ULL,
+DECLARE_ALIGNED(16, const xmm_reg,  ff_pw_3)    = { 0x0003000300030003ULL, 
0x0003000300030003ULL };
+DECLARE_ALIGNED(32, const ymm_reg,  ff_pw_4)    = { 0x0004000400040004ULL, 
0x0004000400040004ULL,
                                                     0x0004000400040004ULL, 
0x0004000400040004ULL };
-DECLARE_ASM_ALIGNED(16, const xmm_reg,  ff_pw_5)    = { 0x0005000500050005ULL, 
0x0005000500050005ULL };
-DECLARE_ASM_ALIGNED(16, const xmm_reg,  ff_pw_7)    = { 0x0007000700070007ULL, 
0x0007000700070007ULL };
+DECLARE_ALIGNED(16, const xmm_reg,  ff_pw_5)    = { 0x0005000500050005ULL, 
0x0005000500050005ULL };
+DECLARE_ALIGNED(16, const xmm_reg,  ff_pw_7)    = { 0x0007000700070007ULL, 
0x0007000700070007ULL };
 DECLARE_ALIGNED(16, const xmm_reg,  ff_pw_8)    = { 0x0008000800080008ULL, 
0x0008000800080008ULL };
-DECLARE_ASM_ALIGNED(16, const xmm_reg,  ff_pw_9)    = { 0x0009000900090009ULL, 
0x0009000900090009ULL };
+DECLARE_ALIGNED(16, const xmm_reg,  ff_pw_9)    = { 0x0009000900090009ULL, 
0x0009000900090009ULL };
 DECLARE_ALIGNED(16, const xmm_reg,  ff_pw_16)   = { 0x0010001000100010ULL, 
0x0010001000100010ULL };
-DECLARE_ASM_ALIGNED(16, const xmm_reg,  ff_pw_18)   = { 0x0012001200120012ULL, 
0x0012001200120012ULL };
+DECLARE_ALIGNED(16, const xmm_reg,  ff_pw_18)   = { 0x0012001200120012ULL, 
0x0012001200120012ULL };
 DECLARE_ALIGNED(16, const xmm_reg,  ff_pw_32)   = { 0x0020002000200020ULL, 
0x0020002000200020ULL };
-DECLARE_ASM_ALIGNED(16, const xmm_reg,  ff_pw_64)   = { 0x0040004000400040ULL, 
0x0040004000400040ULL };
+DECLARE_ALIGNED(16, const xmm_reg,  ff_pw_64)   = { 0x0040004000400040ULL, 
0x0040004000400040ULL };
 DECLARE_ALIGNED(32, const ymm_reg,  ff_pw_255)  = { 0x00ff00ff00ff00ffULL, 
0x00ff00ff00ff00ffULL,
                                                     0x00ff00ff00ff00ffULL, 
0x00ff00ff00ff00ffULL };
 DECLARE_ALIGNED(32, const ymm_reg,  ff_pw_256)  = { 0x0100010001000100ULL, 
0x0100010001000100ULL,

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to