diff mbox series

[FFmpeg-devel,2/2] aarch64: vvc: Consistently use # for immediate constants

Message ID 20240723112821.2185107-2-martin@martin.st
State New
Headers show
Series [FFmpeg-devel,1/2] aarch64: vvc: Fix compilation of alf.S with MSVC 2022 17.7 and older | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Martin Storsjö July 23, 2024, 11:28 a.m. UTC
---
 libavcodec/aarch64/vvc/alf.S | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Comments

Zhao Zhili July 23, 2024, 11:48 a.m. UTC | #1
> On Jul 23, 2024, at 19:28, Martin Storsjö <martin@martin.st> wrote:
> 
> ---
> libavcodec/aarch64/vvc/alf.S | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/libavcodec/aarch64/vvc/alf.S b/libavcodec/aarch64/vvc/alf.S
> index 828031cb90..eec193302a 100644
> --- a/libavcodec/aarch64/vvc/alf.S
> +++ b/libavcodec/aarch64/vvc/alf.S
> @@ -95,7 +95,7 @@
>     .else
>         ldr             q5, [x5]                    // curr
>     .endif
> -        movi            v20.4s, 64
> +        movi            v20.4s, #64
>         cbz             is_near_vb, 1f
>         shl             v20.4s, v20.4s, #3
> 1:
> @@ -220,7 +220,7 @@
>     .else
>         ldr             d5, [x5]                    // curr
>     .endif
> -        movi            v20.4s, 64
> +        movi            v20.4s, #64
>         cbz             is_near_vb, 1f
>         shl             v20.4s, v20.4s, #3
> 1:
> @@ -267,12 +267,12 @@ function ff_alf_filter_luma_kernel_8_neon, export=1
> endfunc
> 
> function ff_alf_filter_luma_kernel_12_neon, export=1
> -        mov             w5, 4095
> +        mov             w5, #4095
>         b               1f
> endfunc
> 
> function ff_alf_filter_luma_kernel_10_neon, export=1
> -        mov             w5, 1023
> +        mov             w5, #1023
> 1:
>         alf_filter_luma_kernel  2
> endfunc
> @@ -282,12 +282,12 @@ function ff_alf_filter_chroma_kernel_8_neon, export=1
> endfunc
> 
> function ff_alf_filter_chroma_kernel_12_neon, export=1
> -        mov             w5, 4095
> +        mov             w5, #4095
>         b               1f
> endfunc
> 
> function ff_alf_filter_chroma_kernel_10_neon, export=1
> -        mov             w5, 1023
> +        mov             w5, #1023
> 1:
>         alf_filter_chroma_kernel  2
> endfunc
> -- 
> 2.34.1

LGTM for the patch set. Thanks for the quick fix.

> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
diff mbox series

Patch

diff --git a/libavcodec/aarch64/vvc/alf.S b/libavcodec/aarch64/vvc/alf.S
index 828031cb90..eec193302a 100644
--- a/libavcodec/aarch64/vvc/alf.S
+++ b/libavcodec/aarch64/vvc/alf.S
@@ -95,7 +95,7 @@ 
     .else
         ldr             q5, [x5]                    // curr
     .endif
-        movi            v20.4s, 64
+        movi            v20.4s, #64
         cbz             is_near_vb, 1f
         shl             v20.4s, v20.4s, #3
 1:
@@ -220,7 +220,7 @@ 
     .else
         ldr             d5, [x5]                    // curr
     .endif
-        movi            v20.4s, 64
+        movi            v20.4s, #64
         cbz             is_near_vb, 1f
         shl             v20.4s, v20.4s, #3
 1:
@@ -267,12 +267,12 @@  function ff_alf_filter_luma_kernel_8_neon, export=1
 endfunc
 
 function ff_alf_filter_luma_kernel_12_neon, export=1
-        mov             w5, 4095
+        mov             w5, #4095
         b               1f
 endfunc
 
 function ff_alf_filter_luma_kernel_10_neon, export=1
-        mov             w5, 1023
+        mov             w5, #1023
 1:
         alf_filter_luma_kernel  2
 endfunc
@@ -282,12 +282,12 @@  function ff_alf_filter_chroma_kernel_8_neon, export=1
 endfunc
 
 function ff_alf_filter_chroma_kernel_12_neon, export=1
-        mov             w5, 4095
+        mov             w5, #4095
         b               1f
 endfunc
 
 function ff_alf_filter_chroma_kernel_10_neon, export=1
-        mov             w5, 1023
+        mov             w5, #1023
 1:
         alf_filter_chroma_kernel  2
 endfunc