From 59fafd0a67f0d5dcde3cefaf55f0a06e7d1a2b84 Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Fri, 14 Oct 2022 10:34:05 +0000 Subject: [PATCH] small update in the max detection code --- media/video/av1/src/ppc/cdef_tmpl_svp64_real.s | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.30.2