From: Konstantinos Margaritis Date: Wed, 21 Sep 2022 14:28:14 +0000 (+0000) Subject: use mr instead of li/addi pair X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2119ea0e081df4a99476da64bf7f822bbb35b66a;p=openpower-isa.git use mr instead of li/addi pair --- 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