From 40bc30a263aee10e477f1819c53e98166ef846eb Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Wed, 21 Sep 2022 15:33:49 +0000 Subject: [PATCH] use sv.subf --- media/video/libvpx/vpx_get4x4sse_cs_svp64_real.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.30.2