From bc1c2b6287b21be0c118fe5641dadc487b56151f Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 22 Sep 2022 13:41:23 +0100 Subject: [PATCH] comment need for waiting on binutils update --- media/video/libvpx/vpx_get_mb_ss_svp64_real.s | 2 ++ 1 file changed, 2 insertions(+) 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 4364c6a1..c1111fb0 100644 --- a/media/video/libvpx/vpx_get_mb_ss_svp64_real.s +++ b/media/video/libvpx/vpx_get_mb_ss_svp64_real.s @@ -23,6 +23,8 @@ vpx_get_mb_ss_svp64_real: setvl 0,0,32,0,1,1 # Set VL to 32 elements .L2: sv.lha *src, 0(in) # Load 32 ints from (in) + # XXX these next two should be doable as "sv.maddld/mr sum, *src, *src, sum" + # but we have to wait for an update to binutils # equivalent to: for (i = 0; i < 32; i++) vprod[i] = src[i] * src[i]; sv.mulld *prod, *src, *src # equivalent to: for (i = 0; i < 32; i++) sum += prod[i]; -- 2.30.2