Quelle looprestoration16_avx2.asm
Sprache: Masm
|
|
; Copyright © 2021, VideoLAN and dav1d authors
; Copyright © 2021, Two Orioles, LLC
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are met:
;
; 1. Redistributions of source code must retain the above copyright notice, this
; list of conditions and the following disclaimer.
;
; 2. Redistributions in binary form must reproduce the above copyright notice,
; this list of conditions and the following disclaimer in the documentation
; and/or other materials provided with the distribution.
;
; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
; ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
; DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
; ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
; (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
; ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
; (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
; SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
%wiener_lshuf7: db 8, 9, 8, 9, 8, 9, 8, 9, 8, 9, 10, 11, 12, 13 db0 ,2,3, ,5 6, 7 ,9,,11 ,13, java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
%include "ext/x86/x86inc.asmjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 80
%if
f30 ,0, 1, 0 , ,3 ,5 , ,8, 9, 11
sgr_lshuf5: db 0, 1 2java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
wiener_lshuf5java.lang.StringIndexOutOfBoundsException: Range [17, 9) out of bounds for length 25
db java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
: , , , , ,14 java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
db 0, 1, java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
wiener_shufA: db 2, 3,java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
wiener_shufB: db 6, 7, 4, 5, 8, 9, 6, 7, 10, 11, 8, 9, 12, 13, 10, 11
wiener_shufC: 6, 7, 8, 9 8 ,10,11 10,11,12,13,12,13,14,15
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 80
0, 1, ,2 ,, ,5,, 6 , java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
wiener_hshift: dw 4, 4, 1, 1
wiener_vshift: dw 1024, 1024, 4096, 4096
lea ,[
pb_m10_m9 java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 38
2db-
pb_m2_m1: timest3d,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
pb_2_3: ,wq
pb_6_7 java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
pw_164_24: dw 164, 24
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 25
dd java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
java.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
:4096
pd_34816: dd 34816
pf_256: dd ,4
%define pw_256 sgr_lshuf5
cextern pb_0to63
SECTION .text
DECLARE_REG_TMP 8, 7, 9
add, 3842
filter7_16bpc,,16 38412-16, dst, stride, left, lpf, \
w, h, edge, flt lea , [pfqstrideq4]
%define ,
mov fltq r]
mov t3, t1
movifnidn hd, hm
mov ,r7m
mov t3d, java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 10
vbroadcasti128 m6, [java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 11
java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 10
add,384*
vbroadcasti128.
,wd
.3
shr t3d, 11
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 6
add lpfq, wq
,f+ ; y2 y3
jnz
test,
vbroadcasti128 m9 vjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
vpbroadcastdm0,[asewiener_hshift*java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 8
lea java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 39
,m0 ; upshift filter coefs to make the
pmullw m13movt4,t1
test edgeb, 4t2,
jz .no_top.java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
call .add ,3842
add lpfq, strideq
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
vjava.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
addt1 384*java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
call .h_top.java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
lea
,
mov t4, t1
add java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 13
jmpjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
calljava.lang.StringIndexOutOfBoundsException: Range [20, 16) out of bounds for length 32
,
mov pm0 java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
dec java.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 26
jz .v1
add lpfq, strideq
addjava.lang.StringIndexOutOfBoundsException: Range [20, 10) out of bounds for length 26
:
mov mov java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
dec java.lang.StringIndexOutOfBoundsException: Range [19, 8) out of bounds for length 31
jz .v2
add java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 15
h
dec hd
jz .v3mova before the start of the buffer
.:
pshufb java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
.main_loop:
call .hv
jnz .
BOTTOM
jz .v3
,[
call .mova [0java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
call .hv_bottom
.v1:
call .v
RET
.no_top:
lea r10, [lpfq+strideq*4]
cmpr10d, -6
,[10+*java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
[sp,
call .h
,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
mov t5, t1java.lang.StringIndexOutOfBoundsException: Range [20, 10) out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
mov t3, t1
mov t2, t1
dec hd
v1
add lpfq java.lang.StringIndexOutOfBoundsException: Range [20, 16) out of bounds for length 59
add java.lang.StringIndexOutOfBoundsException: Range [22, 11) out of bounds for length 27
,
mov java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
jz .v2
add lpfq, strideq
add
call add ,
dec hd
z.
lea t0, [t1+384*2]
call .hv
dec hd
jz.
add movqxm3 l
hjava.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
dec hd
l8java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
.v3:
java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 11
.v2:
jmp .v1
e
.hv_loop
java.lang.StringIndexOutOfBoundsException: Range [20, 16) out of bounds for length 32
m2,[java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
vpbroadcastb m1, xm1
psubb m0, m1
pminub m0,
m3 java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
vpbroadcastd m0, [java.lang.StringIndexOutOfBoundsException: Range [0, 33) out of bounds for length 21
,
pminub pshufb m1 , m7
pshufb m4,
vpbroadcastd m0, [pb_m10_m9 java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
psubb m3 java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
pminub m0, m2
pshufb m5
.h:
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
edgeb
jz .h_extend_left
movq xm3, java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
vpblendd mova t+]
add leftq, 8
jmp .h_main
.h_extend_left:
vbroadcasti128java.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 25
mova lpfq start buffer
shufpd m3, m4, 0x05
pshufb m3, [java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 32
hm
.h_top:
test edgeb, ,
jz.
java.lang.StringIndexOutOfBoundsException: Range [20, 13) out of bounds for length 26
pfq+10-java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
.h_main:
pfq0]
.h_main2:
movu ,r+]
test edgeb, 2 ; LR_HAVE_RIGHT
jnz .h_have_right
cmp java.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 27
p m,
call .psrad
.packusdw java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
pshufb m0
m1 ,
paddw m0, m1
pshufb m ,
m0
pshufb m1, m4, m9
paddw m3
0
mov ,
java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 31
mov java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
vpbroadcastd m2paddw t+]
pshufb mova m2,[t3+r10]
pmaddwd m1, m12
pshufb m5, m9
paddw m4,m5
pmaddwd m4, m13
, t+java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
paddd m1
paddd m0, m3
java.lang.StringIndexOutOfBoundsException: Range [20, 13) out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
psrad m1, 10
packssdw m0, m1
psraw m0, 1
[r]
add ,
jl .h_loop
ret
ALIGN function_align
. add r10
addlpfq strideq
mov r10, wq
; LR_HAVE_LEFT
m ,
movq xm3, [leftq]
vpblendd m3, [lpfq ,
addjava.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 76
jmp .hv_main
.java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
movu m3,%
[java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
jmp .hv_main
.hv_bottom:
mov r10, wq
java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
jz .hv_extend_left
.hv_loop:
movu m3, [lpfq+r10-8]
.hv_main:
,0java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
movu m5, ,[ ]; x1
test edgeb ,
add java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
shr java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
jl .hv_have_right
call.xtend_right
.hv_have_right:
pshufb ,,m6
m1, m4, 7
paddw ,m1
pshufb m3, m8
pmaddwd m0, m12
pshufb m1, m4, m9
paddw ,m1
pshufb m1, m4, m6 negwq
pmaddwd m3, m13
vpbroadcastd,[asewiener_hshiftt34java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Range [20, 16) out of bounds for length 36
pshufb m4, edgeb ;java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Range [20, 11) out of bounds for length 27
pshufb m5, m9add ,384*
paddw *java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
java.lang.StringIndexOutOfBoundsException: Range [20, 11) out of bounds for length 27
paddd m0, m2
paddd m1, m2
mova m2, [t4
java.lang.StringIndexOutOfBoundsException: Range [22, 9) out of bounds for length 32
jzjava.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
paddd ,
paddd m1, m4
psrad dec hd
psrad m1,t0,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
packssdwjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
paddw java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 10
psraw m0, 1
paddw java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 19
mova [ lea ,java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 40
punpcklwd m0, m2 ,java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
pmaddwd m0, java.lang.StringIndexOutOfBoundsException: Range [20, 7) out of bounds for length 26
punpckhwd .java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
pmaddwd m2, m15
,
pmaddwd m1, m14
m4
pmaddwdh
decjava.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
paddd m2, m10
paddd m0, m1
paddd m2.java.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
psrad m0, 5
mov java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
packusdw m0, m2java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 11
,
mova [dstq+r10]java.lang.StringIndexOutOfBoundsException: Range [20, 16) out of bounds for length 34
add r10 psubb m0,m2
jl .hv_loop
ov , t5
,t4
mov t4, java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
mov t3, t2
mov t2, t1r10wjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
mov t1, .
movt0 java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
ret
.v:
mov ._
.v_loop r10
mova m1, [t4+r10movam3 ; before the start of the buffer
paddw m1, [t2+r10]
mova m2, [ h
mova m4,
paddw java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
paddwm ,[r10]
punpcklwd m0 ,4java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
pmaddwd m0, m15
punpckhwd m1, m2
pmaddwd m1, m15
punpcklwd m2, m3, m4
pmaddwd m2, m14
punpckhwd m3, m4
pmaddwd m3, m14
padddm0 m10
paddd m1, m10
, m2
paddd m1, m3
psrad m0, 5
psrad m1, 5
packusdw m0, m1
pmulhuw pmaddwd m1
mova[+r10 java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
,32
jl.
mov pmaddwd m2, m12
mov t5, ,
mov t4, t3
mov t3, t2
mov t2, t1
add dstq, strideq
ret
cglobal wiener_filter5_16bpc, 4, 13 psrad ,java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
psraw java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
%define base t4-java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 14
,
movifnidn wd,:
hd
mov edged, mov r10,
mov t3d, r8m ; pixel_maxjz.
m5 ]
8
java.lang.StringIndexOutOfBoundsException: Range [38, 37) out of bounds for length 38
t4 java.lang.StringIndexOutOfBoundsException: Range [39, 38) out of bounds for length 39
vbroadcasti128 java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 16
add wd, wd
vpbroadcastd m12, [ h
shr t3d, m3 4java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
vpbroadcastd m8, [pd_m262128] ; (1 << 4) - (1 << 18)
java.lang.StringIndexOutOfBoundsException: Range [7, 4) out of bounds for length 26
vpbroadcastw m13, [fltq+18 .
add dstq, wq
vpbroadcastd.
,r+16]
java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
pshufb ,java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
vpbroadcastd m9, [basejava.lang.StringIndexOutOfBoundsException: Range [20, 10) out of bounds for length 26
m10,+java.lang.StringIndexOutOfBoundsException: Range [44, 43) out of bounds for length 49
mova m15m7
pmullw m11, m0
pmullw m12, m0
test java.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 26
jz .no_top
call .h_top
add lpfq, strideq
mov t4, java.lang.StringIndexOutOfBoundsException: Range [20, 13) out of bounds for length 30
add t1, 384*movam4,[4+]
call .h_top
lea r10, [lpfq+strideq*4]
mov lpfq, dstq
mov t3, t1
384*
add r10, strideq
mov [ psraw mjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
call .h
mov t2, t1
dec hd
java.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 26
lpfq,
add t1, pm1 java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
call .h
dec hd
jz .java.lang.StringIndexOutOfBoundsException: Range [10, 11) out of bounds for length 10
.main:
mov t0, t4
.main_loop:
call .hv
chd
jnz .mov ,
,8
jz .v2
mov lpfq, [rsp]
call .
add lpfq, strideq
call .hv_bottom
.end:
RET
.no_top:
lea r10, [lpfq+]
mov lpfq, dstq
lea r10, [r10+strideq*2]
ov[rsp], r10
call .h
mov ,t1
mov t3, t1
mov t2, t1
dec hd
jz.
add lpfq, strideq
add t1, 384*2
call .h
dec hd
jz .v2
lea t0, [t1+384*2]
call .hv
dec hd
jz .v2
,384*6
call .hv
dec hd
jnz .main
.v2 java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
call .v
mov ,t3
mov t3, t2
add,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
add dstq, strideq
.v1:
call .v
.extend_right:
xm2,
vpbroadcastd m0, [ wd,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
vpbroadcastd m1, [pb_m6_m5]
vpbroadcastb m2, xm2
psubb m0, m2
psubb m1, m2
mova m2, [pb_0to63]wd java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
pminub m0, m2
pminub m1, m2
pshufb m3, m0
pshufb m4, m1
ret
.h:
mov r10, wq
test lea t4++*+]
jz .h_extend_left
movd xm3, [leftq+4]
vpblendd m3, [lpfq b+java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
add leftq, 8
jmp .h_main
.vpbroadcast m15,bjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
vbroadcasti128 m4, [java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
,[pfq+r10]; before the start of the buffer
palignr m3, m4, 12
call .
jmp .h_main
.h_top:
mov r10 ,t1
test edgeb, 1 java.lang.StringIndexOutOfBoundsException: Range [0, 35) out of bounds for length 19
jz .java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 15
._:
movu m3, [lpfq+r10
.h_main:
+r10+4java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
test edgeb, 2 ; LR_HAVE_RIGHT
jnz .java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
cmp r10d, -34
.main:
call .extend_right
.h_have_right ,
m0,,
pmaddwd m0, m11
pshufb m1, m4, m5
pmaddwd m1, java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 11
pshufb m2, m3, m6
pshufb m3, m7
paddw
pshufb m3, m4, m6.java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
pmaddwd m2, m12
pshufb m4, m7
paddw m3, m4
pmaddwd m3, m12
paddd m0, 8
padddm1 m8
paddd m0, m2
paddd m1, m3
psrad ,4
psrad m1, 4
packssdw m0, m1
psraw m0, 1
mova [t1+r10], end
add
jl .h_loop
ret
ALIGN function_align hv
.hv:
lpfq strideq
mov r10, wq
test edgeb, 1 ; LR_HAVE_LEFT.:
jz .hv_extend_left
movd xm3, [leftqnjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
vpblendd m3, [lpfq+r10-4 .java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
add leftq, 8
n
.lea *]
movu m3, [lpfq+r10-4]
mov ,
jmp [+java.lang.StringIndexOutOfBoundsException: Range [37, 36) out of bounds for length 39
.hv_bottom allh
mov r10, wq
test edgeb, 1 ; LR_HAVE_LEFT
java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
.hv_loop:
movu m3, [lpfq+r10-4]
.hv_main:
movu java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 16
test java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 32
h
cmp r10d, -34
vpjava.lang.StringIndexOutOfBoundsException: Range [20, 13) out of bounds for length 30
call .java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 7
pshufb m0, m3,
m0,java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
pmaddwd m1, m11
pshufb m2, palignr m4, m5
pshufb .
paddw m2, m3
pshufb m3, m4, m6
pmaddwd m2, m12
pshufb m4, m7
paddw m3, m4htop:
pmaddwd m3, m12
lea r10, [-4]
addd ,m8
paddd m0, m2
mova m2, [t3+r10]
paddw m2h:
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
mova m4, [t2+r10]
punpckhwd m3, m2, m4 edgeb,2; LR_HAVE_RIGHT
pmaddwd m3, m14
punpcklwd m2, m4
java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 22
psrad , 4
psrad m1, 4
packssdw m0,
pmaddwd palignr m3 m4 java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
psraw m0, 1
[0r10,m0
punpckhwd m1, m0, m4
pmaddwd m2, m2
punpcklwd m0, m4
pmaddwd m0, m13
paddd ,m9
paddd m2, m9
paddd m1, m3
java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
psrad m1 java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
psrad m0, 5
packusdw m0, m1
pmulhuw m4
movad+] java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
add java.lang.StringIndexOutOfBoundsException: Range [20, 11) out of bounds for length 26
jl .hv_loop
mov t4, t3
mov t3, t2
mov t2, t1
mov t1, t0
mov t0, t4
add dstq, strideq
ret
.v:
mov r10, wq
.v_loop:
mova m0,mova [1++400*]
paddwm2,m0 [3r10]
mova m1, [t2+r10]
mova m4, [t4+r10]
[1+10+4,m2
pmaddwd m3, m14
punpcklwd m2, m1
m2
punpckhwd m1, wq4java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
pmaddwd m1, m13
punpcklwd m0, m4
pmaddwd m0, m13
paddd m3, m9
java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 26
paddd m1, m3
paddd m0, m2 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 27
psrad t
psrad m0, 5
packusdw java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
pmulhuw m0, m10
, m0
add r10, 32
jl .v_loop
ret
sgr_filter_5x5_16bpc 4,14,16, 400*24+6 ,stride ,lpf,\
w, h, edge, params
%define base r13-pb_m10_m9 palignrm4 m5,
.
mov paramsq,.v_extend_left
lea r13,[java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
java.lang.StringIndexOutOfBoundsException: Range [22, 4) out of bounds for length 26
mov edged, r7m
vpbroadcastw m7, [paramsq+ testedgeb
add wd, wd
,b+java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
add lpfq, wq
vpbroadcastd cmp r10d
add java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
mova xm10, [base+sgr_lshuf5]
lea t3, [rsp+wq*2+400*12+16]
vpbroadcastd m11, [paramsq+0] ; s0
java.lang.StringIndexOutOfBoundsException: Range [20, 11) out of bounds for length 33
vpbroadcastd m12, [base ,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
java.lang.StringIndexOutOfBoundsException: Range [10, 4) out of bounds for length 35
vbroadcastss m13, [ shufpd m5, m4, m
neg wq
vpbroadcastd m14, [base+pd_34816] ; (1 << 11) + (1 << 15)
,m6
java.lang.StringIndexOutOfBoundsException: Range [19, 16) out of bounds for length 38
psllw
test ; LR_HAVE_TOP
o_top
call .h_top
add lpfq, strideq
t2,t1
call .pmaddwd m5, java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
paddd java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
call .h_top
lea r10, [lpfq+strideq*4]
mov lpfq, dstq 2,4002java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
,
mov [rsp], r10 ; below
,t2
dec hd
jz .height1
or edged, 16
call .h
.main:
,[+r10*]
call .hv
call .
,2
jl .extend_bottom
.java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
add lpfq, strideq
test hd, hd
jz .odd_height
call . java.lang.StringIndexOutOfBoundsException: Range [20, 13) out of bounds for length 30
call . pmulld ,m9
call .n0
call .n1
java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
jgem
test java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 42
jz .extend_bottom
mov lpfq, [rsp]
psub ,; p
add lpfq, strideq
call .hv_bottom
e:
call .n0
call .n1
.end2:
RET
.height1:
call .hv
call .prep_n
jmp .odd_height_end
.odd_height:
call .hv
call .n0
call .n1
.odd_height_end:
call .v
call .n0
.
.extend_bottom:
call .v
jmp .end
.no_top:
lea java.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 26
mov ,
lea r10, java.lang.StringIndexOutOfBoundsException: Range [20, 10) out of bounds for length 26
mov [rsp], r10
call .h
lea t2, [t1+400*6]
call . paddd m1,m14
hd
jzn
psrld m1, 12
mov t0, t1
mov t1, t2
jmp .main
.no_top_height1:
call .v
call .prep_n vextracti128 [3+*+] ,1
jmp .odd_height_end
.
add ,32
movum1 ]
movu m2, [r13+r10+16]
mov java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
vpblendvb m5,
h:
lea r10, m0
test edgeb 1
jz .h_extend_left
vpbroadcastq xm5, [leftq]
vinserti128 m5, [lpfq+java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 17
mova m4, [lpfq+wq].loopjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
add leftq, 8
palignr ,m5,10
jmp .h_main
h_extend_leftjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
mova xm4 l+wq]
pshufb xm4, java.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Range [20, 15) out of bounds for length 39
jmp .h_main
.h_top:
lea paddd m3
test edgeb, 1 ; LR_HAVE_LEFTjava.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 49
jz .h_extend_left
.h_loop:
movu m4, [lpfq+r10- 2]
.h_main:
movu m5, [lpfq+r10+14]
test edgeb, 2 ; LR_HAVE_RIGHT
.h_have_right
cmp pmulld m4 m9 ; a * 25
jl .h_have_right
call .extend_right
.h_have_right:
palignr m2, m5, m4, 2
paddw m0, m4, m2
palignr m3, m5, m4, 6
m0,m3
punpcklwd m1, m2, psubd m4, m2 ; p
pmaddwd m1 java.lang.StringIndexOutOfBoundsException: Range [20, 10) out of bounds for length 46
punpckhwd m2, m3
pmaddwd m2, m2
shufpd paddw m5
paddw m0, m5
punpcklwd m3, m4, m5
pmaddwd m3, m3
paddd m1, m3
punpckhwd m3, m4, m5
pmaddwd m3, m3
shufps m4, m5, q2121
pcmpgtd java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
punpcklwd m5, m4, m6
pmaddwd m5, m5
punpckhwd m4, m6
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
paddd m2, m3
test , 16
jz .h_loop_end
paddw m0, [t1+r10+400*0]
pmulldm1 java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
paddd m2, [t1+r10+m0 ; x * b * 164 + (1 << 11) + (1 << 15)
.h_loop_end:
paddd m1, m5 mova [4++4] m2
paddd m2, m4
mova [t1+r10+400*0], m0
mova [t1+ mova t3*2+8]
mova [t1+ vextracti128[t3+*2+0] ,1
add r10, 32
jl .h_loop
ret
.op_fixupjava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
lea r10, [wq-4]
.top_fixup_loop: ; the sums of the first row needs to be doubled
mova
mova m1,[t1++4002]
mova ,[1r10+400*4]
paddw m0, m0
paddd m1, m1
paddd m2,[+1+2java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
[+0, m0
mova [t2+ paddw ,1 ]
[+4004,
add r10, 32
jl .m3,t+*+]
ret
ALIGN function_align
hv ; horizontal boxsum + vertical boxsum + ab
lea java.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 26
test ,1; LR_HAVE_LEFT
jz .hv_extend_left
vpbroadcastq xm5, [leftq]
vinserti128 m5, [lpfq+wq], 1
,[lpfq+q]
add leftq, 8
palignr m4, m5, 10
jmp .hv_main
.hv_extend_left:
mova xm4, [lpfq+wq]
pshufb xm4, xm10
vinserti128 m4, [lpfq+wq+10
jmp .hv_main
.hv_bottom:
lea
test edgeb, ,[r10+2java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
jz .hv_extend_left , java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
.hv_loop:
movu m4, [lpfq+r10- 2]
.v_main:
movu m5, [lpfq+r10+14]
test edgeb,
cmp r10d ,m3
.
call .extend_right
.hv_have_right java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
palignr m3, m5, m4, 2
addw m0,m4, m3
palignr m1, m5, m4, 6
paddw m0, m1
punpcklwd m2, m3, m1
pmaddwd m2, m2
punpckhwd m3, m1
pmaddwd m3, m3
shufpd m5, m4, m5, 0x05
paddw m0, m5
pmaddwd m1, [+400*+ 0,
paddd m2, m1
p ,
pmaddwd m1, m1
shufps m4, m5, q2121
paddw m0, m4 ; h sum
punpcklwd m5, m4, m6
pmaddwd m5,m5
punpckhwd m4, m6
pmaddwd m4, m4
paddd m3, m1
paddd m2, m5 ; h sumsq
paddd m3, m4
paddw m1, m0, [t1+r10+ m1 ; b - a * src + (1 << 8)
paddd m4, m2, [t1+java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 25
paddd m5, m3, [t1+r10+400 java.lang.StringIndexOutOfBoundsException: Range [20, 12) out of bounds for length 26
test hd, hd
jz .hv_last_row
.hv_main2:
paddw m1, [t2+r10+400*0] ; hv sum
addd m4,[t2+10+*2]; hv sumsq
paddd m5, [t2+r10+400*4]
mova [t0+r10+400*0], m0
mova ,
mova [t0+r10+400*4], m3
psrlw m3,.
padddm4,m8
pavgw m3, m6 ; (b + 2) >> 2
paddd m5,.n1_loop:
psrld m4, 4 ; (a + 8) >> 4 ,[+]
m2, java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
psrld m5, 4
punpckhwd m3, m6
pmulld m4, m9 ; a * 25
pmulld m5, m9
pmaddwd m2, punpckhwd m3, m6 java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
pmaddwd m3, m3
punpcklwd m0, m1, m6 ; b
punpckhwd m1, m6
pmaxud m4, m2
pmaxud m5, m3
psubd m4, m2 ; p
psubd m5, m3
pmulld m4, m11 ; p * s
m5,
pmaddwd m0, m12 ; b * 164 m0 java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
pmaddwd m1, m12
paddw add
paddw m5, m12
m4,20;z+1
psrld m5, 20
cvtdq2ps m4, m4
cvtdq2ps m5, m5
rcpps m2, m4 ; 1 / (z + 1)
rcpps ,wm
pcmpgtd ,r6mp
pcmpgtd ,m13,
mulps m2, ,java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
mulps m3, m13
psrld m4, ,
psrld m5, 24
cvtps2dq m2, m2
cvtps2dq m3, m3
, m4 ; x
pminsw m3, m5
pmulld m0, m2
pmulld m1, m3
packssdw m2, m3
paddd m0, m14 ; x * b * 164 + (1 << 11) + (1 << 15)
paddd m1, m14
mova [t4+r10+4] java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 22
psrld m0, 12 ; b
psrld m1, 12
[+2+8,xm0
vextracti128 [t3+r10*2+40], m0, 1
mova [t3+r10*2+24], xm1
addlpfq,
add r10, 32
j h
mov
, t0
mov t0, t2
ret
.hv_last_row: ; esoteric edge case for odd heights
mova [t1+r10+400*0], m1
paddw m1, m0
mova [t1+r10+400*2], java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 22
paddd m4, m2
mova [t1+r10+ hjava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
paddd m5, m3
jmp .hv_main2
.v ; vertical boxsum + ab
.:
.v_loop:
+400*0]
mova m2, [t1+r10+400*2]
movam3[1+400*]
paddw m1, m0, [t2+r10+400*0]
paddd m4, m2, [t2+r10+400*2]
paddd m5 hv1
paddw m0, m0
paddd m2, m2
paddd m3, m3
paddw m1,m0 ; hv sum
paddd m4, m2 ; hv sumsq
paddd m5, m3
psrlw m3, m1, 1
paddd m4, m8
pavgw m3, m6 .
paddd m5, m8
psrld m4, 4 ; (a + 8) >> 4.java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
punpcklwd m2, m3, .java.lang.StringIndexOutOfBoundsException: Range [9, 10) out of bounds for length 9
psrld ,4
punpckhwd o
pmulld m4, m9 ; a * 25
m5 m9
pmaddwd m2, m2 ; b * b
pmaddwd m3, m3
punpcklwd m0, m1.0
punpckhwd m1, m6
pmaxud m4, m2
pmaxud m5, m3
psubd m4, m2
psubd m5, m3
pmulld m4, m11 ; p * s
pmulldm5
pmaddwd m0, m12 ; b * 164
,m12
,m12
paddw m5, .
psrld m4, 20 ; z + 1
psrld m5, 20
cvtdq2ps m4, m4
cvtdq2ps m5, m5
rcpps m2, m4 ; 1 / (z + 1)
rcpps m3, m5
pcmpgtd m4, m13, m4
pcmpgtd m5, m13, m5
mulps m2, m13 ; 256 / (z + 1)
mulps m3, m13
psrld m4, 24 ; z < 255 ? 255 : 0 vjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
m5 java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
m2,m2
cvtps2dq m3, m3
pminsw m2, m4 ; x
pminsw m3, m5
pmulld m0, m2
pmulld m1, m3
packssdw m2, m3
paddd m0, m14 ; x * b * 164 + (1 << 11) + (1 << 15)
paddd ._
t+4,
psrld m0, 12 ; b
psrld m1, 12
mova [t3+r10*2+ 8], xm0
java.lang.StringIndexOutOfBoundsException: Range [18, 16) out of bounds for length 37
mova jmp .h_m
vextracti128:
add r10, 32
jl . mova ,[pfq+
ret
. vinm4 lpfq12]
mov ,wq
.prep_n_loop:
movu java.lang.StringIndexOutOfBoundsException: Range [0, 22) out of bounds for length 7
movu m1, [t3 ,1
movu m2, [t3+r10*2+36]
[t4+r101 0java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
paddd m4, m1, [movu m5, [lpfq+r10
paddd m5, m2, [t3+r10*2+32]
paddw m3, [t4+r10*1
paddd m4, [t3+r10*2+ 8]
.h_have_r:
paddw m0, m3
psllw m3, 2
paddd m1, m4
pslld m4, 2
paddd m2, m5
pslld m5, 2
paddw m0, m3 ; a 565
paddd m1, m4 ; b 565
paddd m2, m5
mova [t4+r10*1+400*2+ 0], m0
*2+00*+0],m1
mova[3+2400*+]
add r10, 32 m2, java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
jl .prep_n_loop
ret
ALIGN function_align
.n0: ; neighbor + output (even rows)
mov r10, wq
.n0_loophv0 horizontal boxsum + vertical boxsum + ab (even rows)
movu m0, [t4+r10*1+ 2]
movu m1, [t3+r10test1;LR_HAVE_LEFT
[+*3]
paddw m3, m0, [t4+r10*1+ 0]
paddd m4,m1,[3r10*+0java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
paddd m5, m4 lpfqwqjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
paddw m3, [t4+r10*1+ 4p ,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
paddd m4, [t3+r10*2+ 8]
paddd m5, [t3+r10*2+40]
, m3
psllw m3, 2
paddd m1, m4
pslld m4, 2
paddd m2, m5
pslld java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
paddw m0, m3 ; a 565
paddd m1, m4 ; b 565
paddd m2, m5
paddw m3, m0, [t4+movu m4, [lpfq+r10+ 0
paddd m4, m1, [ ,[pfqr10+16java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
paddd m5, m2, [t3+r10*jnz .v0_have_right
mova [t4+r10*1+400*2+ 0], m0
mova [t3+r10*2+400*java.lang.StringIndexOutOfBoundsException: Range [0, 24) out of bounds for length 22
+r102+432,m2
movam0 [stq+java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
punpcklwd ,m4,
punpcklwd m2, m3, ,m2
pmaddwd m2, m1 ; a * src
punpckhwd m1, m0, m6
punpckhwd m3, m6
pmaddwd m3, m1
m1, m4,xm5 java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
vperm2i128 m4, m5, 0x31
psubd m1, m2 ; b - a * src + (1 << 8)
psubd m4, m3
psrad m1, 9
psrad m4, 9
packssdw m1, m4
pmulhrsw m1, m7
paddw m0, m1
pmaxsw m0, m6
pminsw m0, m15
mova [dstq+r102, m4, [t2+r10+400*2]
jl .n0_loop
add dstq, strideq
ret
ALIGN function_align
.n1: ; neighbor + output (odd rows)
,
.n1_loop:
mova m0, [dstq+r10]
mova m3, [t4+r10* ; ((a + 8) >> 4) * 9
mova m4, [t3+r10*2+400*4
m5 t+r10*+400*java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
punpcklwd m1, m0, java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 26
punpcklwd m2, m3, java.lang.StringIndexOutOfBoundsException: Range [20, 13) out of bounds for length 42
pmaddwd m2, m1
punpckhwd ,java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
punpckhwd m3, m6
pmaddwd m3, m1
vinserti128 m1, m4, xm5, 1
vperm2i128 m4, m5, 0x31
psubd m1, m2 ; b - a * src + (1 << 7)
psubd m4, m3
psrad m1, 8
psrad m4, 8
packssdw m1, m4
pmulhrsw m1, m7
paddw m0, java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 26
pmaxsw m0, m6
pminsw m0, m15
mova [dstq+r10], m0
addr10,java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
jl .n1_loop
add dstq, strideq
ret
cglobal psrld m4, 24m4 ; z < 255 ? 255 : 0
w, h, edge, params
movifnidn wd, wm
mov paramsq, r6mp
lea r13, [pb_m10_m9]
add wd, wd
movifnidn hd, hm
mov edged, r7m
vpbroadcastw m7, [paramsq+10] pmulld m0, m2
add lpfq, wq
vpbroadcastd m8padddm0,
add dstq, wq
vpbroadcastd m9, [paramsq+ 4] ; s1
lea t3,
movaxm10 basesgr_lshuf3
lea t4, [rsp+wq+400*32+8]
vpbroadcastd m11, [base+pw_455_24]
l ,[++2]
vbroadcastss m12, [base+pf_256]
neg wq
vpbroadcastd m13, [base+pd_34816]
pxor m6, m6
m14,[basepw_1023]
psllw m7, 4
test edgeb, 4 ; LR_HAVE_TOP
jz .no_top
call .h_top
add lpfq, strideq
mov t2, t1
add t1, 400*6
call .h_top
lea r10, [lpfq+strideq*4]
mov lpfq, dstq
add r10, strideq
[rsp] ; below
call .hv0
.main:
dec hd
jz .height1
lpfq java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
call .hv1
call .prep_n
sub hd, 2
.main_loop:
add lpfq, strideq
call .hv0
test hd, hd
jz .odd_height
add lpfq, strideq
call .hv1
call .n0
call .n1
sub hd, 2
jge .main_loop
edgeb,
jz .extend_bottom
mov lpfq, [rsp]
call .hv0_bottom
add lpfq, strideq
call .hv1_bottom
.end:
call .n0
call .n1
.end2:
RET[] java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
.height1:
call .v1
call .prep_n
jmp .odd_height_end
.odd_height:
call .v1 java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
call .n0
call .n1
.odd_height_end:
call .v0
call .v1
call .n0
jmp .end2
.extend_bottom:
call .v0
call .v1
jmp .end
.no_top:
lea r10, [lpfq+strideq*4]
mov lpfq, dstq
lea r10, [r10+strideq*2]
mov [rsp], r10
call pmaxud ,m3
lea r10, [wq-4]
lea ,[+006java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
.java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 26
mova m0, [t1+r10+400*0]
paddw ,
mova m2, [t1+r10+400*4]
mova [t2+r10+400*0], m0
mova [t2+r10+ mjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
mova [t2+r10+400*4], m2
add r10, 32
jl .top_fixup_loop
call .v0
jmp .main
.extend_right:
mulps java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
movu m1, [r13+r10+ 2]
movu java.lang.StringIndexOutOfBoundsException: Range [20, 12) out of bounds for length 26
vpblendvb m4, m0,m2 ; x
vpblendvb m5, m0, m2
ret
.h: ; horizontal boxsum
lea r10, [wq-4]
test edgeb, 1 ; LR_HAVE_LEFT
jz .h_extend_left
vpbroadcastq xm5, [leftq]
vinserti128 m5, [lpfq+wqm [+*+* 4,m2
mova m4, [lpfq+wq [2+*+,
add java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
palignr m4, m5, 12
jmp .h_main
.h_extend_left:
mova xm4, [lpfq+wq]
pshufb xm4,r10java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
vinserti128 m4, [lpfq+wq+12], 1
jmp .h_main
.h_top:
4java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
test edgeb, 1 ; LR_HAVE_LEFT
jz .h_extend_left
.h_loop:
movu m4, [lpfq+r10 paddd m5,m5
._:
movu m5, [lpfq+r10+16]
test edgeb, 2 ; LR_HAVE_RIGHT
jnz .h_have_right
cmp r10d, -34
jl . mova [t2+r10+400, m0
.extend_right
. mova [t2+r+00*]
palignr m0, m5, m4, padddm2,m8
paddw m1, m4, m0
punpcklwd m2, m4, m0
pmaddwd m2, m2
punpckhwd m3, m4, m0
pmaddwd m3, m3
palignr m5, m4, 4
paddw m1, m5 ; sum
punpcklwd m4, m5, m6
pmaddwd m4, m4
punpckhwd m5, m6
pmaddwd m5, m5
paddd m2, m4 ; sumsq
paddd m3, m5
mova [t1+r10+400*0] punpcklwd m0 m1,m6 java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
mova [ mova [t1 m2
mova , ; p
java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
jl .h_loop ;p* java.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
ret
ALIGN function_align ; b * 455
.hv0: ; horizontal boxsum + vertical boxsum + ab (even rows)
lea paddw m5, m11
test edgeb, 1 ; LR_HAVE_LEFT
jz .hv0_extend_left
vpbroadcastq xm5, [java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 26
vinserti128 m5, [lpfq+wq], 1
mova m4, [lpfq+wq]
add leftq, 8
palignr m4, m5, 12
jmp .hv0_main
. ,; 256 / (z + 1)
mova xm4, [lpfq+wq]
pshufb xm4, xm10
++12] java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
jmp .hv0_main
java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
lea r10, [wq-4]
dgeb,1; LR_HAVE_LEFT
jz .hv0_extend_left
.hv0_loop:
movu m4, [lpfq+r10+ 0]
.hv0_main:
movu m5,[+r10+16]
test edgeb, 2 ; LR_HAVE_RIGHT
jnz .hv0_have_right
cmp r10d, -34
jl .hv0_have_right
call .extend_right
.java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
palignr m0, m5, m4, 2
paddw m1, m4, m0
punpcklwd m2, m4, m0
pmaddwd m2, m2
punpckhwd m3, m4, m0
pmaddwd m3, m3
palignr m5, m4, 4
paddw m1, m5 ; sum
punpcklwd m4, m5, m6
pmaddwd m4, m4
m5 java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
pmaddwd m5, m5
paddd m2, m4 ; sumsq
paddd m3, m5
m0 ,]
paddd m4, m2, [t1+r10+400*2]
paddd m5, m3, [t1+r10+400*4]
mova [t1+r10+400*m[+400,
mova [t1+r10+400*2], m2
mova [t1+r10+400*4], m3
paddw m1, m0, [t2+r10+400*0]
paddd m2, m4, [t2+r10+400*2]
paddd m3, m5java.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 29
mova [t2+r10+400* m4 ; ((a + 8) >> 4) * 9
mova [t2+r10+400*2], m4
mova [t2+r10+400* java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
paddd m2, m8
paddd m3, m8
psrld m2, 4 ; (a + 8) >> 4
psrld m3, 4
,m2,3
pslld m5, m3, 3
paddd m4, m2 ; ((a + 8) >> 4) * 9
paddd psubd m4; p
psrlw m3, m1, 1
pavgw m3, m6 ; (b + 2) >> 2
punpcklwd m2, m3, m6
pmaddwd m2, m2
m3
pmaddwd m3, m3
punpcklwd m0, m1, m6 java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
punpckhwd ; z + 1
pmaxud java.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 26
psubd m4, m2 ; p
pmaxud m5, m3
psubd m5, m3
m4,; p * s
pmulld m5, m9
pmaddwd m0, m11 ; b * 455
pmaddwd m1, m11
paddw m4, m11 psrld m5, 24
paddw ,java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
psrld m4, 20 ; z + 1
psrld m5, 20
cvtdq2ps m4, m4
cvtdq2ps m5, m5
rcpps m2, m4 ; 1 / (z + 1)
,m5
pcmpgtd m4, m12, m4
psrld java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
mulps m2, mova [t4+r10*1+400*2+ 4], m2
mulps m3, m12
psrld m4, 24 ; z < 255 ? 255 : 0
psrld m5, 24
cvtps2dq m3, m3
pminsw m3, m5
pmulld m0, m2
pmulld m1, m3
packssdw m2, m3
paddd m0, m13 ; x * b * 455 + (1 << 11) + (1 << 15)
paddd m1, m13
psrld m0, 12
psrld m1, 12
mova [t4+r10*1+400*0+ 4], m2
mova [t3+r10*2+400*0+ 8], xm0
m3 m1
mova [t3+r10*2+400*0+24], xm1
vextracti128 [t3+r10*2+400*0+56], m1, 1
add32
jl .hv0_loop
ret
ALIGN function_align
.hv1: ; horizontal boxsums + vertical boxsums + ab (odd rows)xm0,[t4+r10*1400*2+]
lea r10, [wq-4]
test edgeb, 1 ; LR_HAVE_LEFT
jz .hv1_extend_left
vpbroadcastq xm5, [leftq]
vinserti128 m5, [lpfq+wq], 1
mova m4, [lpfq+wq]
addpadddm3 m1, t3+r10*2400*4+4]
palignr m4, m5, 12
jmp .hv1_main
.hv1_extend_left:
java.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 33
pshufb xm4, xm10
vinserti128 m4, [lpfq+wq+12], 1
jmp .hv1_main
.hv1_bottom:
lea r10, [wq--4]
test edgeb, 1 ; LR_HAVE_LEFT
.v1_extend_left
.hv1_loop:
movu m4, [lpfq+r10+ 0]
.hv1_main:
movu m5, [lpfq+r10+16]
test java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 7
jnz .hv1_have_rightjava.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 26
cmp r10d,java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 9
jl mova m3,[r10*1+400*0+0java.lang.StringIndexOutOfBoundsException: Range [42, 43) out of bounds for length 42
call .xtend_right
.hv1_have_right:
palignr m1 addwm1, m3,+r10*140002java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
paddw m0, m4, m1
punpcklwd m2, m4, m1
pmaddwd ,m2
punpckhwd m3, m4, m1
pmaddwdm3 m3
palignr m5, m4, 4
paddw m0, m5 ; h sum
punpcklwd m1,mova t4r10*1+4004], 2
pmaddwd m1, m1
punpckhwd m5, m6
pmaddwd m5, m5
paddd m2, m1 ; h sumsq
paddd m3, m5
paddw m1, m0, [t2+r10+400*0]
paddd m4, m2, [t2+r10+400*2]
paddd m5, m3, [t2+r10+400*4]
mova [t2+r10+400*0], m0
mova [t2+r10+400*2], m2
mova [t2+r10+400*4], m3
paddd m4, m8
paddd m5, m8
srldm4,4 (a + 8)>> 4
psrld m5, 4
pslld m2, m4 3
pslld m3, m5, 3
paddd m4, m2 ; ((a + 8) >> 4) * 9
paddd m5, m3
psrlw m3, m1, 1
pavgw m3, m6 ; (b + 2) >> 2
mova m5, t3+r10*240032java.lang.StringIndexOutOfBoundsException: Range [43, 44) out of bounds for length 43
pmaddwd m2, m2
punpckhwd paddd , [t3r10*2+400*0+36]
pmaddwd m3, m3
punpcklwd m1 ; b
punpckhwd m1, m6
pmaxud m4, m2
psubd m4, m2 ; p
pmaxud m5, m3
psubd m5, m3
pmulld m4, m9 ; p * s
pmulld m5 mova [3+1024008+32, m2
pmaddwd 00*12+] 1
pmaddwd m1, m11
paddw m4, m11
paddw m5, m11
psrld m4, 20 ; z + 1
m5 20
cvtdq2ps m4, m4
cvtdq2ps m5, m5
rcpps m2, m4 ; 1 / (z + 1)
rcpps m3, m5
pcmpgtd m4, m12, m4
pcmpgtd m5, m12, m5
mulps m2, m12 ; 256 / (z + 1)
mulps m3, m12
psrld m4, 24 vinserti128m1,m4 1
psrld ,24
cvtps2dq m2, m2
cvtps2dq m3, m3
pminsw m2, m4 ; x
java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
pmulld m0, m2
pmulld m1, m3
packssdwpackssdw m1,m4
paddd pmulhrsw m1, m7
paddd m1, m13
psrld m0, 12
psrld m1, 12
mova t4+*1++* 4],m2
mova [t3+r10*2+400*4+ 8], xm0
vextracti128 [t3+r10*2+400*4+40], m0, 1
mova [t3+r10*2+400*4+24], xm1
8 [t3+r10*2+456,m1, 1
add r10, 32
jl .hv1_loop
mov r10, t2
mov t2, t1
mov t1, r10
ret
.v0: ; vertical boxsums + ab (even rows)
lea r10, [wq-4]
.v0_loop:
mova m0, [t1+r10+400*0]
mova m4, [t1+r10+400*2]
mova m5, [t1+r10n1_loopjava.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
paddw m0, m0
paddd ,m4
paddd m5, m5
paddw m1, m0 t2+r10+4000]
paddd m2, m4, [t2+r10+400*2]
, m5,[t2+r10+400*4]
mova [t2+r10+400*0], m0
mova [t2+r10+400*2], m4
mova [t2+r10+400*4], m5
paddd m2, m8
paddd m3, m8
srldm2, 4 ; (a + 8) >> 4
psrld m3, 4
pslld m4, m2, 3
pslld m5, m3, 3
paddd m4, m2 ; ((a + 8) >> 4) * 9
padddmova m4 t3+*4004+]
psrlw m3, m1, 1
pavgw m3, m6 ; (b + 2) >> 2
punpcklwd m2, m3, m6
pmaddwd m2, m2
punpckhwd m3, m6
pmaddwd m3, m3
punpcklwd m0, m1, m6 ; b
punpckhwd m1, m6
d , m2
psubd m4, m2 ; p
pmaxud m5, m3
psubd m5, m3
pmulld m4, m9 ; p * s
pmulld m5, m9
pmaddwd m0, m11 ; b * 455
pmaddwd m1, m11
paddw m4, m11
paddw m5, m11
psrld m4, 20 ; z + 1
psrld m5, 20
cvtdq2ps m4, m4
cvtdq2ps m5, 5
rcpps m2, m4 ; 1 / (z + 1)
rcpps m3, m5
pcmpgtd m4, m12, m4
pcmpgtd m5, m12, m5
mulps m2, m12 ; 256 / (z + 1)
mulps m3, m12
m4,24
psrld m5, 24
cvtps2dq m2, m2
cvtps2dq m3, m3
pminsw m2, m4 ; x
mova +r10*2++*16+32,m2
pmulld m0, m2
pmulld m1 m3
packssdw m2, m3
paddd m0, m13 ; x * b * 455 + (1 << 11) + (1 << 15)
paddd m1, m13
psrld m0, 12
psrld m1, 12
mova [t4+r10*1+400*0+ 4], m2
mova [t3+r10*2+400*0+ 8], xm0
vextracti128 [t3+r10*2+400*0+40], m0, 1
[t3+2+*0+4]
vextracti128 [t3+r10*2+400*0+56], m1, 1
add r10, 32
jl .v0_loop
ret
. sradm4,9
lea r10, [wq-4]
.v1_loop:
mova m0, [t1+r10+400*0]
mova m4, [t1+r10+400*,m1
m5, [t1r104004java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
paddw m1, m0, [t2+r10+ [r10m0
paddd m2, ,[+r10*]
paddd m3, m5, [t2+r10+400*4]
mova [t2+r10+400*0], m0
mova [t2+r10+400*2], m4
mova [t2+r10+400*4], m5
paddd m2, m8
paddd m3, m8
psrld m2cglobal gr_filter_mix_16bpc, 4, 14, 16, 400*66+8, dst, stride, left, lpf, \
psrld m3,
pslld m4, m2, 3
pslld m5, m3, 3
paddd m4, m2 ; ((a + 8) >> 4) * 9
paddd m5, m3
psrlw m3, m1, 1
pavgw m3, m6 ; (b + 2) >> 2
punpcklwdwd, wd
pmaddwd m2, m2
java.lang.StringIndexOutOfBoundsException: Range [26, 13) out of bounds for length 26
pmaddwd m3, m3
punpcklwd m0, m1, m6 ; b
punpckhwd m1, m6
pmaxud m4, m2
psubd m4,m2
pmaxud m5, m3
psubd m5, m3
pmulld m4, m9 ; p * s
pmulld m5, m9
pmaddwd m0, m11 ; b * 455
pmaddwd m1, m11
paddw m4, m11
paddw m5, m11
psrld m4, 20 ; z + 1
psrld m5, 20
cvtdq2ps m4, m4
cvtdq2ps m5, m5
rcpps m2, m4 ; 1 / (z + 1)
rcpps m3, m5
pcmpgtd m4, m12, m4
pcmpgtd m5,m, m5
mulps m2, m12 ; 256 / (z + 1)
mulps m3, m12
psrld m4, 24 ; z < 255 ? 255 : 0
psrld m5, 24
cvtps2dq m2, m2
cvtps2dq m3, m3
pminsw m2, m4 ; x
pminsw m3, m5
pmulld m0, m2
pmulld m1, m3
packssdw m2, m3
paddd m0, m13 ; x * b * 455 + (1 << 11) + (1 << 15)
paddd m1, m13
psrld m0, 12
psrld m1, java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26 | |