From: Luke Kenneth Casson Leighton Date: Thu, 22 Sep 2022 12:41:23 +0000 (+0100) Subject: comment need for waiting on binutils update X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc1c2b6287b21be0c118fe5641dadc487b56151f;p=openpower-isa.git comment need for waiting on binutils update --- 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];