* [FFmpeg-devel] [PATCH] codec/arm/hevcdsp_idct_neon: remove duplicate mov
@ 2023-03-06 2:18 xufuji456
2023-03-07 20:54 ` Martin Storsjö
0 siblings, 1 reply; 2+ messages in thread
From: xufuji456 @ 2023-03-06 2:18 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: xufuji456
---
libavcodec/arm/hevcdsp_idct_neon.S | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/libavcodec/arm/hevcdsp_idct_neon.S b/libavcodec/arm/hevcdsp_idct_neon.S
index 41ca3b83a8..66ed1c6785 100644
--- a/libavcodec/arm/hevcdsp_idct_neon.S
+++ b/libavcodec/arm/hevcdsp_idct_neon.S
@@ -877,33 +877,27 @@ function func_tr_32x4_\name
vld1.s16 {q0}, [r9, :128]!
vld1.s16 {q1}, [r9, :128]
add r4, sp, #2048
+ mov r2, #64
+ mov r8, #-64
bl tr_block1
mov r1, r11
- mov r2, #64
- mov r8, #-64
add r3, r11, #(56 + 3 * 64)
scale_store \shift
bl tr_block2
add r1, r11, #8
add r3, r11, #(48 + 3 * 64)
- mov r2, #64
- mov r8, #-64
scale_store \shift
bl tr_block3
add r1, r11, #16
add r3, r11, #(40 + 3 * 64)
- mov r2, #64
- mov r8, #-64
scale_store \shift
bl tr_block4
add r1, r11, #24
add r3, r11, #(32 + 3 * 64)
- mov r2, #64
- mov r8, #-64
scale_store \shift
bx r10
--
2.32.0 (Apple Git-132)
_______________________________________________
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".
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [FFmpeg-devel] [PATCH] codec/arm/hevcdsp_idct_neon: remove duplicate mov
2023-03-06 2:18 [FFmpeg-devel] [PATCH] codec/arm/hevcdsp_idct_neon: remove duplicate mov xufuji456
@ 2023-03-07 20:54 ` Martin Storsjö
0 siblings, 0 replies; 2+ messages in thread
From: Martin Storsjö @ 2023-03-07 20:54 UTC (permalink / raw)
To: FFmpeg development discussions and patches; +Cc: xufuji456
On Mon, 6 Mar 2023, xufuji456 wrote:
> ---
> libavcodec/arm/hevcdsp_idct_neon.S | 10 ++--------
> 1 file changed, 2 insertions(+), 8 deletions(-)
>
> diff --git a/libavcodec/arm/hevcdsp_idct_neon.S b/libavcodec/arm/hevcdsp_idct_neon.S
> index 41ca3b83a8..66ed1c6785 100644
> --- a/libavcodec/arm/hevcdsp_idct_neon.S
> +++ b/libavcodec/arm/hevcdsp_idct_neon.S
> @@ -877,33 +877,27 @@ function func_tr_32x4_\name
> vld1.s16 {q0}, [r9, :128]!
> vld1.s16 {q1}, [r9, :128]
> add r4, sp, #2048
> + mov r2, #64
> + mov r8, #-64
>
> bl tr_block1
> mov r1, r11
> - mov r2, #64
> - mov r8, #-64
> add r3, r11, #(56 + 3 * 64)
> scale_store \shift
>
> bl tr_block2
> add r1, r11, #8
> add r3, r11, #(48 + 3 * 64)
> - mov r2, #64
> - mov r8, #-64
> scale_store \shift
>
> bl tr_block3
> add r1, r11, #16
> add r3, r11, #(40 + 3 * 64)
> - mov r2, #64
> - mov r8, #-64
> scale_store \shift
>
> bl tr_block4
> add r1, r11, #24
> add r3, r11, #(32 + 3 * 64)
> - mov r2, #64
> - mov r8, #-64
> scale_store \shift
>
> bx r10
> --
> 2.32.0 (Apple Git-132)
LGTM, thanks, will push in a moment.
// Martin
_______________________________________________
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".
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-07 20:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-06 2:18 [FFmpeg-devel] [PATCH] codec/arm/hevcdsp_idct_neon: remove duplicate mov xufuji456
2023-03-07 20:54 ` Martin Storsjö
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git