From 2119ea0e081df4a99476da64bf7f822bbb35b66a Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Wed, 21 Sep 2022 14:28:14 +0000 Subject: [PATCH] use mr instead of li/addi pair --- media/video/libvpx/vpx_get_mb_ss_svp64_real.s | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/media/video/libvpx/vpx_get_mb_ss_svp64_real.s b/media/video/libvpx/vpx_get_mb_ss_svp64_real.s index bf76a0d2..4364c6a1 100644 --- a/media/video/libvpx/vpx_get_mb_ss_svp64_real.s +++ b/media/video/libvpx/vpx_get_mb_ss_svp64_real.s @@ -29,8 +29,7 @@ vpx_get_mb_ss_svp64_real: sv.add/mr sum, *prod, sum addi in, in, 64 # Advance (in) pointer by 64 bytes bdnz .L2 # Loop until CTR is zero - li in, 0 # Zero register 3 (result) - addi in, sum, 0 # Add sum to r3 + mr in, sum # Set r3 to sum blr .long 0 .byte 0,0,0,0,0,0,0,0 -- 2.30.2