Commit a5fffbda authored by Xuefeng Jiang's avatar Xuefeng Jiang

lea->LEA

parent 44690830
Pipeline #6012 passed with stages
in 6 minutes and 37 seconds
......@@ -2730,13 +2730,13 @@ cglobal ipred_cfl_ac_444, 4, 7, 7, -5*16, ac, y, stride, wpad, hpad, w, h
; %1 simd register that hold the mask and will hold the result
; %2 simd register that holds the "true" values
; %3 location of the "false" values (simd register/memory)
%macro BLEND_P 3 ; mask, true, false
%macro BLEND 3 ; mask, true, false
pand %2, %1
pandn %1, %3
por %1, %2
%endmacro
%macro PAETH 2 ; top, ldiff
%macro PAETH 2 ; top, ldiff
pavgb m1, m%1, m3
pxor m0, m%1, m3
pand m0, m4
......@@ -2752,21 +2752,21 @@ cglobal ipred_cfl_ac_444, 4, 7, 7, -5*16, ac, y, stride, wpad, hpad, w, h
pminub m2, m%2
pcmpeqb m0, m%2, m2 ; ldiff <= tdiff
mova [rsp], m3
BLEND_P m0, m3, m%1
BLEND m0, m3, m%1
mova m3, [rsp]
pminub m1, m2
pcmpeqb m1, m2 ; ldiff <= tldiff && tdiff <= tldiff
BLEND_P m1, m0, m5
BLEND m1, m0, m5
%endmacro
cglobal ipred_paeth, 3, 6, 8, -9*16, dst, stride, tl, w, h
%define base r5-ipred_paeth_ssse3_table
movifnidn hd, hm
tzcnt wd, wm
movifnidn hd, hm
pxor m0, m0
movd m5, [tlq]
pshufb m5, m0
lea r5, [ipred_paeth_ssse3_table]
LEA r5, ipred_paeth_ssse3_table
movsxd wq, [r5+wq*4]
movd m4, [base+ipred_paeth_shuf]
pshufd m4, m4, q0000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment