diff mbox series

[FFmpeg-devel] lavc/rv32dsp: remove stray load immediate

Message ID 20240523192054.4607-1-remi@remlab.net
State Accepted
Commit 728a1dd3b6fab7dcbf7f91fad0e8ba9c1be45867
Headers show
Series [FFmpeg-devel] lavc/rv32dsp: remove stray load immediate | 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

Rémi Denis-Courmont May 23, 2024, 7:20 p.m. UTC
---
 libavcodec/riscv/rv34dsp_rvv.S | 1 -
 1 file changed, 1 deletion(-)

Comments

Andreas Rheinhardt May 24, 2024, 6:44 a.m. UTC | #1
Rémi Denis-Courmont:
> ---
>  libavcodec/riscv/rv34dsp_rvv.S | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/libavcodec/riscv/rv34dsp_rvv.S b/libavcodec/riscv/rv34dsp_rvv.S
> index f1f6345012..8eda01665d 100644
> --- a/libavcodec/riscv/rv34dsp_rvv.S
> +++ b/libavcodec/riscv/rv34dsp_rvv.S
> @@ -37,7 +37,6 @@ func ff_rv34_idct_dc_add_rvv, zve32x
>          vlse32.v      v0, (a0), a1
>          li            t1, 169
>          mul           t1, t1, a2
> -        li            a2, 255
>          addi          t1, t1, 512
>          srai          t1, t1, 10
>          vsetivli      zero, 4*4, e16, m2, ta, ma

s/rv32dsp/rv34dsp/

- Andreas
Rémi Denis-Courmont May 24, 2024, 9:41 a.m. UTC | #2
Le 24 mai 2024 09:44:50 GMT+03:00, Andreas Rheinhardt <andreas.rheinhardt@outlook.com> a écrit :
>Rémi Denis-Courmont:
>> ---
>>  libavcodec/riscv/rv34dsp_rvv.S | 1 -
>>  1 file changed, 1 deletion(-)
>> 
>> diff --git a/libavcodec/riscv/rv34dsp_rvv.S b/libavcodec/riscv/rv34dsp_rvv.S
>> index f1f6345012..8eda01665d 100644
>> --- a/libavcodec/riscv/rv34dsp_rvv.S
>> +++ b/libavcodec/riscv/rv34dsp_rvv.S
>> @@ -37,7 +37,6 @@ func ff_rv34_idct_dc_add_rvv, zve32x
>>          vlse32.v      v0, (a0), a1
>>          li            t1, 169
>>          mul           t1, t1, a2
>> -        li            a2, 255
>>          addi          t1, t1, 512
>>          srai          t1, t1, 10
>>          vsetivli      zero, 4*4, e16, m2, ta, ma
>
>s/rv32dsp/rv34dsp/

Good catch, will amend locally.
diff mbox series

Patch

diff --git a/libavcodec/riscv/rv34dsp_rvv.S b/libavcodec/riscv/rv34dsp_rvv.S
index f1f6345012..8eda01665d 100644
--- a/libavcodec/riscv/rv34dsp_rvv.S
+++ b/libavcodec/riscv/rv34dsp_rvv.S
@@ -37,7 +37,6 @@  func ff_rv34_idct_dc_add_rvv, zve32x
         vlse32.v      v0, (a0), a1
         li            t1, 169
         mul           t1, t1, a2
-        li            a2, 255
         addi          t1, t1, 512
         srai          t1, t1, 10
         vsetivli      zero, 4*4, e16, m2, ta, ma