From: Konstantinos Margaritis Date: Wed, 21 Sep 2022 15:33:49 +0000 (+0000) Subject: use sv.subf X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40bc30a263aee10e477f1819c53e98166ef846eb;p=openpower-isa.git use sv.subf --- diff --git a/media/video/libvpx/vpx_get4x4sse_cs_svp64_real.s b/media/video/libvpx/vpx_get4x4sse_cs_svp64_real.s index 4c16f3e9..5ec8e008 100644 --- a/media/video/libvpx/vpx_get4x4sse_cs_svp64_real.s +++ b/media/video/libvpx/vpx_get4x4sse_cs_svp64_real.s @@ -43,7 +43,7 @@ vpx_get4x4sse_cs_svp64_real: # now our values are in consecutive registers and we can set VL to 16 elements setvl 0,0,16,0,1,1 # equivalent to: for (i = 0; i < 16; i++) diff[i] = src[i] - ref[i]; - sv.sub *diff, *src, *ref + sv.subf *diff, *src, *ref # equivalent to: for (i = 0; i < 16; i++) prod[i] = diff[i] * diff[i]; sv.mulld *prod, *diff, *diff # equivalent to: for (i = 0; i < 32; i++) sum += prod[i];