From: Konstantinos Margaritis Date: Fri, 14 Oct 2022 10:34:05 +0000 (+0000) Subject: small update in the max detection code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d0889d4b13201ea42471b02b7cbb69fea08e7e0f;p=openpower-isa.git small update in the max detection code --- diff --git a/media/video/av1/src/ppc/cdef_tmpl_svp64_real.s b/media/video/av1/src/ppc/cdef_tmpl_svp64_real.s index c0111407..12b7fa3c 100644 --- a/media/video/av1/src/ppc/cdef_tmpl_svp64_real.s +++ b/media/video/av1/src/ppc/cdef_tmpl_svp64_real.s @@ -443,9 +443,11 @@ cdef_find_dir_svp64_real: sv.mulld *psum+0, *psum+0, *divt sv.add/mr cost+7, *psum+0, cost+7 + mr max, cost+5 setvl 0,0,8,0,1,1 # Set VL to 8 elements - #sv.maxs/mr max, *cost - #sv.cmp/ff=ne/VLI max, *cost, 1 + #sv.maxs/mr max, max, *cost + sv.cmp 0, 0, *cost, max + svstep retval, 5, 1 # sv.addi/m=eq retval,*,0 blr .long 0