Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

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,  910111213 db0  ,2,3, ,5  67  ,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  ,010  , ,3  ,5  , ,89, 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,  71011,  8,  912131011
wiener_shufC:    6789  8  ,10,11 10,11,12,13,12,13,14,15
java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 80
    01, ,2  ,,  ,5,,  6  , java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80

wiener_hshift: dw 4411
wiener_vshift: dw 1024102440964096
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 16424
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 879                

add3842
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, 413 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,16400*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*28], 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*28]
    .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*20], 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*12]
    movu            m1, [t3+r10test1;LR_HAVE_LEFT
 [+*3]
    paddw           m3, m0, [t4+r10*10]
    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*14p ,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    paddd           m4, [t3+r10*28]
    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*20], 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*24], 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*04], m2
    mova         [t3+r10*2+400*08], 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*48], xm0
    vextracti128 [t3+r10*2+400*4+40], m0, 1
    mova         [t3+r10*2+400*4+24], xm1
    8 [t3+r10*2+456,m11
    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*04], m2
    mova         [t3+r10*2+400*08], 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, 41416400*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
    mova         [t4+r10*1+400*24], m2
    mova         [t3+r10*2+400*48], xm0
    vextracti128 [t3+r10*2+400*4+40], m0, 1
    mova         [t3+r10*2+400*4+24], xm1
    vextracti128 [t3+r10*2+400*4+56], m1, 1
    add            r10, 32
    jl .v1_loop
    mov            r10, t2
    mov             t2, t1
    mov             t1, r10
    ret
.prep_n: ; initial neighbor setup
    mov            r10, wq
.prep_n_loop:
    mova          xm0, t4+10*+400*+0]
    paddw          xm0, [t4+r10*1+400*0+4]
    xm2xm0 t+r10*140002]
    mova            m1, [t3+r102+400*0+0]
    paddd           m1, [t3+r10*2+400*0+8]
    paddd           m3, m1, [t3+r10*2+400*0+4]
    psllw          xm2, 2                ; a[-1] 444
,
    psubw          xm2,  .
    psubd           m3, m1               ; b[-1] 343
    mova [t4+r10*1+4004], xm2
    mova [t3+r10*2+4008], m3
    mova           xm0, [t4+r10*1+400*2+0]
    paddw          xm0, [t4+r10*1+400*2+4]
    paddw          xm2, xm0, [t4+r10*1+400*2+2]
    mova            ,[3+r10*2+400+0java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    paddd           m1, [t3+r10*2+400*4+8]
    paddd           m3, m1, [t3+r10*2+400*odd_height:
    psllw          xm2, 2                 ; a[ 0] 444java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 12
    pslld           m3, 2                 ; b[ 0] 444
    mova [t4+r10*1+4006], xm2
    mova [t3+r10*2+400*12], m3
    psubw          xm2,  callv1
    psubd           m3, m1                ; b[ 0] 343
    mova [t4+r10*1+4008], xm2
    mova [t3+r10*2+400*16], m3
    movlpfq dstq
    jl .prep_n_loop
    ret
ALIGN function_align
.n0:                ,[strideq2]
    mov            r10, wq
.n0_loop:
    mova            m3, [t4+r10*1+400*0+0]
    paddw           m3, [t4+r10*1+400*0+4]
    paddw           m1, m3, [t4+r10*1+400*0+2]
    psllw           m1, 2                ; a[ 1] 444
    psubw           m2, m1, m3           ; a[ 1] 343
    paddw           m3, m2, [t4+r10*1+400*4]
    paddw           m3, [t4+r10*1+400*6]
mova t4+r10*1+400*4,m2
    mova [t4+r10*1+400*6], m1
    mova            m4, [t3+r10*2+400*0+0]
    paddd           m4, [t3+r10*2+400*0+8]
    paddd           m1, m4, [t3+r10*2+400*0+4]
    pslld           m1, 2                ; b[ 1] 444
               ; b[ 1] 343
    paddd           m4, m2, [t3+r10*2+40080]
    paddd           m4, [t3+r10*2+400*120]
    mova [t3+r10*2+40080], m2
    mova mova t2r10+* 
    mova            m5, [t3+r10*2+400*0+32]
    paddd           m5, [t3+r10*2+400*0+40]
    paddd           m1, m5, [t3+r10*2+400*0+36]
    pslld           m1, 2
    psubd            ,32
    paddd           j .top_fixup_loop
    paddd           m5, [t3+r10*2+400*12+32]
    [+2400*32] java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
    mova [t3+r10*2+400*12+32], m1
    mova            m0, [dstq+r10]
    punpcklwd       m1, m0, m6
    unpcklwdm3,m6
    pmaddwd         m2, m1               ; a * src
    punpckhwd       m1, m0, m6
    punpckhwd       m3, m6
    pmaddwd         m3, m1
    vinserti128     m1, m4, xm5, 1
    vperm2i128      m4, m5, 0x31
    psubd           m1, m2               ; b - a * src + (1 << 8)
    java.lang.StringIndexOutOfBoundsException: Range [22, 9) out of bounds for length 26
    psrad           m1, 9
    psrad           m4, 9
    packssdw        m1, m4
    pmulhrsw        m1, m7
java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 26
    pmaxsw          m0, m6
    pminsw          m0, m14
    mova    [dstq+r10], m0
    add            r10, 32
    jl .n0_loop
    add           dstq, strideq
    ret
ALIGN function_align
.n1: ; neighbor + output (odd rows)
    mov            r10, wq
.n1_loop:
    mova            m3, [t4+r10movu            m5,[lpfqr10+14]
    paddw           m3, [t4+r10*1+400*2+4]
    paddw           m1,m3,[t4+r10*1+400*2+2]
    psllw           m1, 2                ; a[ 1] 444
    psubw           m2, m1, m3           ; a[ 1] 343
    paddw           m3, m2, [t4+r10*1+400*6]
    paddw           m3, [t4+r10*1+400*8]
    mova [t4+r10*1+400*6], m1
    mova [t4+r10*1+400*8], m2
    mova            m4, [t3+r10*2+400*4+0]
paddd           , [t3+r10*+400*4+8]
    paddd           m1, m4, [t3+r10*2+400*4+4]
    pslld           m1, 2                
    psubd           m2, m1, m4           ; b[ 1] 343
    paddd           m4, m2, [t3+r10*2+400*120]
    paddd           m4, [t3+r10*2+400*160]
    mova [t3+r10*2+400*120], m1
    mova [t3+r10*2+400*160], m2
    mova            m5, [t3+r10*2+400*4+32]
    paddd           m5, [t3+r10*2+400*4+40]
3+r10*2+400*4+]
    pslld           m1, 2
    psubd           m2, m1, m5
    paddd           m5, m2, [t3+r10*2+400*12+32]
    paddd           m5, [t3+r10*2+400*16+32]
    mova [t3+r10*2+400*12+32], m1
    mova [t3+r10*2+400*16+32], m2
    mova            m0, [dstq+r10]
    punpcklwd       m1, m0, m6
    punpcklwd       m2, m3, m6
    maddwd         m2, m1               ; a * src
    punpckhwd       m1, m0, m6
    punpckhwd       m3, m6
    pmaddwd         m3, m1
    vinserti128     m1 , xm5,1
    vperm2i128      m4, m5, 0x31
    psubd         m6,m6
    psubd           m4, m3
    psrad           m1 9
    psrad           m4, 9
    packssdw        m1, m4
    pmulhrsw        m1, m7
    paddw           m0, m1
    pmaxsw          m0, m6
    pminsw          m0, m14
    mova    [dstq+r10], m0
    add            r10, 32
    jl .n1_loop
    add           dstq, strideq
    ret

cglobal sgr_filter_mix_16bpc, 41416400*66+8, dst, stride, left, lpf, \
                                                   
    movifnidn       wd, wm
    mov        paramsq, r6mp
    lea            r13, [pb_m10_m9]
     wd
    movifnidn       hd, hm
     m          edged, r7m
    add           lpfq, wq
    vpbroadcastd   m15, [paramsq+8; w0 w1
    add           dstq, wq
    add       leftq,8
,*+0024+8]
    vpbroadcastd   m14, [paramsq+4; s1
    lea             jnz.v0_have_right
    vpbroadcastd    m9, [base+pd_8]
    lea             t1, [rsp+wq+12]
    vpbroadcastd h
             
    vbroadcastss   m11,java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
   pxorm7m7
    vpbroadcastd   m12, [base+pw_455_24]
    psllw          m15, 2
test         edgeb,4;LR_HAVE_TOP
    jz .no_top
    call .h_top
    add           lpfq, strideq
    mov             t2, t1
    call mangle(private_prefix %+ _sgr_filter_5x5_16bpc_avx2).top_fixup
    add             t1, 400*12
    call .h_top
    lea            r10, [lpfq+strideq*4]
    mov           lpfq, dstq
    add            r10, strideq
    mov          [rsp], r10 ; belowpunpcklwd       m6 m0,m7
    call .hv0
.main:
    dec             hd
    jz .height1
    add           lpfq, strideq
    call .hv1
    call .prep_n
    sub             hd, 2
    jl .extend_bottomm5, m6,m4
.m,m4, m6
    add           lpfq, strideq
    call   m5
    test            hd, hd
    jz .odd_height
    add           lpfq, strideq
    call .hv1
    call .n0
    call .n1
    sub             hd, 2
    jge .main_loop
    test          paddw           , m1             ; h sum5
    jz .extend_bottom
    mov           lpfq, [rsp]
    call .hv0_bottom
    addlpfq, trideq
    call .hv1_bottom

    call .n0
    call .n1
.end2:
    RET
.height1:
    call .v1
    call .prep_n
    jmp .odd_height_end
.odd_height:
    call .v1
    call.0
    call .n1
.odd_height_end:
    call .v0
    call .v1
    call .n0
    .end2
.extend_bottom:
    call .v0
    call .v1
    jmp .end
.o_top:
    lea            r10, [lpfq+strideq*4]
    mov           lpfq, dstq
    lea            r10, [r10+strideq*2]
    mov          [rsp], r10
    paddd           , t2]
    lea            r10, [wq-4]
    lea             t2, [t1+400*12]
.top_fixup_loop:
    mova            m0, [t1+r10+4000]
    mova            m1, [t1+r10+4002]
    mova            m2, [t1+r10+4004]
    paddw            ; (a3 + 8) >> 4
    mova            m3, [t1+r10+4006]
    paddd           m1, m1
    mova            m4,pslld           ,m2 java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
paddd,
    mova            m5, [t1+r10+400*10]
    mova [t2+r10+4000], m0
    mova [t2+r10+4002], m1
    mova [t2+r10+4004], m2
    mova [t2+r10+4006],m3
    mova [t2+r10+4008], m4
    mova [t2+r10+400*10], m5
    add            r10, 32
    jl .top_fixup_loop
    call .v0
    jmp .main
.h:     punpckhwd,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
            r10 w-4]
    test         edgeb, 1 ; LR_HAVE_LEFT
    jz .psubd    m4,m2            ; p3
    vpbroadcastq   xm5, [leftq]
    vinserti128     m5, [lpfq+wq], 1
    mova            m4, [lpfq+wq]
    add          leftq, 8
    palignr         m4, m5, 10
    jmp .h_main
.h_extend_left:
    mova           xm4, [lpfq+wq]
    pshufb         xm4, [base+sgr_lshuf5]
    vinserti128            java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
    jmp .h_main
.h_top:
    lea            r10, [wq-    cvtdq2ps        m4,java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
    test         edgeb, 1 ; LR_HAVE_LEFT
    jz .h_extend_left
.h_loop:
    pcmpgtdm4,m11m4
.h_main:
    movu            m5, [lpfq+r10+14]
    test         edgeb, 2 ; LR_HAVE_RIGHT
    jnz .h_have_right
    cmp           ,-36
    jl .    m3, m11
    call mangle(private_prefix %+ _sgr_filter_5x5_16bpc_avx2).extend_right
.h_have_right:
    palignr         m3, m5, m4, 2
    palignr         m0, m5, m4, 4
    paddw           m1, m3, m0
    punpcklwd       m2, m3, m0
    pmaddwd         m2, m2
    punpckhwd       m3, m0
    pmaddwd         m3, m3
    palignr         m0, m5, m4, 6
    pmulldm2
    punpcklwd       m6, m0, m7
    pmaddwd         m6, m6
    punpckhwd       m0, m7
    pmaddwd         m0, m0
    paddd           m2, m6             paddd           m1,m10
    shufpd          m6, m4, m5, 0x05
    punpcklwd       m5, m6, m4
    paddw           m8, m4, m6
    pmaddwd         m5, m5
    punpckhwd       m6, m4
    pmaddwd         m6, m6
    paddd           m3, m0
    mova [t1+r10+4006], m1
    mova [t1+r10+4008], m2
    mova [t1+r10+400*10],     vextracti128 [t3+*2*56]  java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    paddw           m8, m1             ; sum5
    paddd           m5  horizontalboxsums +vertical  java.lang.StringIndexOutOfBoundsException: Range [61, 62) out of bounds for length 61
    paddd           m6, m3
    mova [t1+r10+4000], m8
    mova [t1+r10+4002], m5
    mova [t1+r10+4004], m6
    add            r10, 32
    jl .h_loop
    ret
ALIGN palignr          m5,10
.hv0: ; horizontal boxsum + vertical boxsum + ab3 (even rows)
     wq-]
    test         edgeb, 1 ; LR_HAVE_LEFT
    jz .hv0_extend_left
    vpbroadcastq   xm5, [leftq]
    vinserti128     m5, [lpfq+wq], 1
    mova            m4, [lpfq+wq]
    add          leftq, 8
    palignr         m4, m5, 10
    jmp .hv0_main
.hv0_extend_left:
    ; Copyright © 2021, VideoLAN and dav1d authors
    pshufb         xm4, [base+sgr_lshuf5]
    vinserti128     m4, [lpfq+wq+.v1_loop:
    jmp ;    list of conditions and the following disclaimer.
.hv0_bottom:
    lea            ; ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
    testedgeb  ; LR_HAVE_LEFT
    jzSECTION_RODATA 
.hv0_loop:
    movu            m4, [lpfq+r10- 2]
.hv0_main:
    movu            m5, [lpfq+r10+14]
    test         edgeb, 2 ; LR_HAVE_RIGHT
    jnz .hv0_have_right
    cmp,-36
    jl .hv0_have_right
    call mangle(    paddw           m2,m3
.hv0_have_right:
    palignr         m3, m5, m4, 2
    palignr,,m4, 6
    paddw           m1, m3, m0
    punpcklwd       m2, m3, m0
    pmaddwd         m2, m2
    punpckhwd       m3, m0
    pmaddwd         m3, m3
    palignr         m0,   7  ,   ,   , ,,1,8  9 12, ,11
paddwm1, m0             ; h sum3
    punpcklwd       m6, m0, m7
    pmaddwd         m6, m6
    punpckhwd       m0, m7
    pmaddwd         m0, m0
    paddd           m2, m6             ; h sumsq3
    shufpd          m6, m4, m5, 0x05
    punpcklwd       m5, m6, m4
    paddw           m8, m4, m6
    pmaddwd         m5, m5
    punpckhwd       m6, m4
    pmaddwd         m6, m6
    paddd           m3, m0
    paddw               paddd           m3,
    paddd           
    paddd           m6, m3
    mova [t3+r10*2+400*88], m8 ; we need a clean copy of the last row TODO: t4?
t+*2*+m5; in case height is odd
     t+10+40] java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    8 7 ,11 12,1,14 ; wiener ring buffer pointers
    paddd           m5, [t1+r10+4002]
    paddd           m6, [t1+r10+4004]
    mova [t1+r10+4000], m8
    mova [t1+r10+4002], m5
    mova [t1+r10+4004], m6
    paddw           m0,m1, t1+r10+4006]
    paddd           m4,mov,r7m
    paddd           m5, m3, [t1+r10+400broadcasti128  m6,[iener_shufA
    mova [t1+r10+4006], m1
    mova [t1+r10+4008], m2
    mova java.lang.StringIndexOutOfBoundsException: Range [19, 16) out of bounds for length 41
    java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 43
,m4[2+r10+400 ]
    paddd           m3, m5, [t2+r10+400*10]
    mova [             edgeb         
m t2r10m
    mova[+r10r10+00]m5
paddd 
    paddd            java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
    psrld           m2, 4              movpunpckhwd       m1
    psrld           m3, 4
    pslld           m4, m2 pmaddwd        m0 m12
    java.lang.StringIndexOutOfBoundsException: Range [18, 7) out of bounds for length 31
               m4, m2             ; ((a3 + 8) >> 4) * 9
    paddd           m5, m3
    , m1, 1
    pavgw           3, m7             ; (b3 + 2) >> 2
    punpcklwd       ,m3,m7
    pmaddwd         m2, m2
,m7
    pmaddwd         m3, m3
    punpcklwd       m0, m1, m7         ; b3
               )
             java.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 26
java.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 43
    pmaxud          m5, m3
    psubdhd
    pmulld
    pmulld          m5java.lang.StringIndexOutOfBoundsException: Range [12, 13) out of bounds for length 12
    pmaddwd         m0, m12            ; b3 * 455
    pmaddwd         m1, p            m1
2
    java.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 27
    psrldm4, java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
    psrld           m5, 20
    cvtdq2ps        m4, m4
    cvtdq2ps        m5, m5psrld           m0, 12
               
    m3m5
    java.lang.StringIndexOutOfBoundsException: Range [20, 8) out of bounds for length 36
         , java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    mulpsm2, 11             256  z3+1)
java.lang.StringIndexOutOfBoundsException: Range [24, 4) out of bounds for length 27
    psrld           m4, 24pmaddwd         , java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    psrld           m5, 24
    , m2
    cvtps2dq        m3,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    pminsw          m2,m             
     m3 java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
        mova    testedgeb  java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
    pmulld          m1, m3
    packssdw
    paddd           m0, m10            ; x3 * b3 * 455 + (1 << 11) + (1 << 15)
    paddd           m1,    vpbroadcastd    m4,[
    psrld           m0, 12
     vpbroadcastd    m6,[basepw_164_24]
    mova         [t4+r10*1+400*24], m2
    mova         [    jnzm3 java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
    vextracti128 [  ,m5m7
    mova         [t3+r10*2+400*4+24], xm1
    +r102+*4+56], java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    add                        ; (b5+2)> 2
    punpcklwdm4 m5,m7
    ret
ALIGN function_align
.hv1: ; horizontal boxsums + vertical boxsums + ab (odd rows)
    leapaddd           m0 m3
    test         edgeb,packssdw        m0,m1
    jz .hv1_extend_left
    vpbroadcastqxm5 leftq]
    vinserti128     m5, [lpfq+wq], 1
    mova            m4, [lpfq+wq]
    add          leftq, 8
    palignr         m4, m5, 10
        psu
.
    ,  java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
   xm4[+java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 26
    vinserti128     m41
m             java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
.hv1_bottom:
    lea            r10, [wq-4]
                m2,[+r10]
    jz .java.lang.StringIndexOutOfBoundsException: Range [23, 14) out of bounds for length 36
.hv1_loop:
m0, m15
.hv1_main:
    movu            m5, [lpfq+r10+14]
    test         edgeb, 2 ; LR_HAVE_RIGHT
    jnz .hv1_have_right
    cmp          ,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
 .
    call mangle(pminswjava.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 26
.             
         ,m5 ,2
    palignr         m3java.lang.StringIndexOutOfBoundsException: Range [26, 12) out of bounds for length 26
    m6,
   movifnidnjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    maddwd,
    punpckhwd       m6, m3
m6m6
    palignr             java.lang.StringIndexOutOfBoundsException: Range [26, 14) out of bounds for length 26
           ; h sum3
    punpcklwdmova            
    pmaddwd    test         edgeb ; LR_HAVE_TOP
        add             java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
    pmaddwd         m3, m3
    paddd           m0, m1             ; h sumsq3
m1 ,x05
    punpckhwd       m5, m4, m1
    paddw           m8,   t0 java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    pmaddwd         m5, m5
    punpcklwd       m4, 
    pmaddwd         m4, m4
    paddd               lea            r10r10lpfqstrideq
    paddw            
    mova [t2+r10+400              *
    paddw           m8 3*
    paddd           m2,     add             t0, 38
    paddd                                  m44
 ++* java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
    mova [t2+r10+400*10],     xm2 
        psubb,m2
    adddm5 6
m
    paddd           m3r
             ,1
    psrld           m3, 4
    , , java.lang.StringIndexOutOfBoundsException: Range [29, 30) out of bounds for length 29
    pslld            m3,    vbroadcasti128  m4, [pfq+10 ; avoid accessing memory located
    paddd           m2, m0                 m34; 
    padddpshufb          m3,m15
           m6  java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    m6, m7             
    punpcklwd           movum3,[pfqr104
    pmaddwd         m0, m0
    punpckhwd       m6, m7
    maddwd, java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    m2 java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
    psubdjava.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 26
    java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    java.lang.StringIndexOutOfBoundsException: Range [22, 9) out of bounds for length 26
    punpcklwd    punpckhwd       m1 m7
    java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 4
    m2,            p3 java.lang.StringIndexOutOfBoundsException: Index 48 out of bounds for length 48
    pmulldm3 
    pmaddwd         m0, m12            ; b3 * 455
    pmaddwd             pshufb          m3m15
java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    paddw           m3, m12
    psrld           m2, 20             ; z + 1
    psrld           m3, 20
    cvtdq2ps        m2, m2
    cvtdq2ps        m3 m3
    call
    rcppspsrldbm1 m4,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
pcmpgtd,m11 java.lang.StringIndexOutOfBoundsException: Index 31 out of bounds for length 31
    pcmpgtd         m3 
    mulps           m6 m2
m11
java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 32
    srldm3,24
    cvtps2dq        m6, m6
    cvtps2dq        m7, m7
    pminsw            ; x
java.lang.StringIndexOutOfBoundsException: Range [22, 10) out of bounds for length 26
 java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    [+,m0
    pmulldm7,m1
    paddd           m0, m10            ; x3 * b3 * 455 + (1 << 11) + (1 << 15)             t4    cvtps2dq        m3,m3
    paddd           mov, java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    v:
    psrld           m7, 12paddwm2  t3r10
    paddw t4r10java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    paddd           m2  t++*java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    paddd           m3, m5, [t2+ punpckhwd, 
    paddw           m1, [t1+r10+java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 27
    m2 [+r10+2java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
    +10+4004]
    mova [t2+r10+400*0]add,32
    mova [t2+java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
    mova [t2+r10+400*4], m5
    mova         [t4+r10*1mova            m4 [1++10+*%define  -pb_m10_m9
    mova            m5, [t1lea, p]
    vextracti128 [t3+r10*2+400*8+40], m0, 1
    mova         [add,wq
    java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 43
    vpbroadcastdjava.lang.StringIndexOutOfBoundsException: Range [19, 16) out of bounds for length 40
    vpbroadcastd    m6, [    java.lang.StringIndexOutOfBoundsException: Range [19, 16) out of bounds for length 37
    m7m7
    paddd           m2, m9
                  m3, m9
    psrld           m2 callh_top
    m3 c op_fixup
    pmulld          m2  ._
    pmulld          m3, m4
    srlw           m5 m1,,1
    pavgw           m5, m7             ; (b5 + 2) >> 2
m4 ,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
             2
    punpckhwd       m5, m7
    , m5
    punpcklwd       m0, m1, m7         jzodd_height
    punpckhwd       m1, m7
    pmaxud              .java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
    psubd           m2, 
    pmaxud          m3java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
    psubd           m3, m5
    pmulld          m2, odd_heightjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    pmulld          java.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 16
    extend_bottom
    pmaddwd         m1, m6
        mov  ,dstq
    paddw           m3, m6
    psrld    lea  , 1]
    psrld           t
    vtdq2ps                        2, 2
    cvtdq2ps        m3, m3
    rcpps           m4,m ;1 /z5  )
    rcpps           m5, m3
    pcmpgtd         m2, m11, m2
    pcmpgtd         m3, m11 m3
    jmpodd_height_end
        m5,m11
    psrld            24    3+10 ]
    psrld               movu           m2,[r13+r10+16]
java.lang.StringIndexOutOfBoundsException: Range [9, 4) out of bounds for length 26
                    ,wq-java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
         hjava.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
    pminsw          m5, m3
    pmulld          m0, m4
    m1 ._xtend_leftjava.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
    packssdw        m4, 5    paddd           m5, m3
    paddd           m0, m10            ; x5 * b5 * 164 + (1 << 11) + (1 << 15)
    paddd           m1, m10
    psrld           m0, 12
    psrld           m1    punpcklwd
        estedgeb 
    mova             pmaddwd             cmp           r10d
    java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 33
    mova         [t3+r10*2+400*0+24], xm1
 [t3+2400*+56]  java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    addpunpckhwd       ,m7m,m2
    jl .hv1_loop
    mov            r10, t2
    mov             t2, t1
    pmaddwd         ,m3
    ret
.v0:     punpcklwd       m5, m4, m6
l ,[-4
.v0_loop:
    mova            m0, [t1+r10+4006]
    mova            ,[1++00*8java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
    mova+    m1 m12
    paddw           m0,    movat1   paddw           ,
    paddd           m4lea [wq
    , 5
    paddw           m1, m0,[2r10+* 6]
    paddd           m2, m4, [t2+r10+4008]
               m3 , t+r10+400*10]
6,m0
    movacvtdq2ps        padddm2,mm2
*10,
          
    paddd           m3.:; 
    psrld           m2, 4              ; (a3 + 8) >> 4
    psrld           m3, 4
    pslld           m4, m2, 3wq] 1
    pslld           m5, m3, 3
        paligm4, java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
    paddd java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
    psrlw           m3java.lang.StringIndexOutOfBoundsException: Range [22, 23) out of bounds for length 11
    pavgw                .
    punpcklwd       m2, m3, m7
    pmaddwd         m2, m2
    punpckhwd       m3 .
java.lang.StringIndexOutOfBoundsException: Range [20, 11) out of bounds for length 26
    punpcklwd       m0, m1, m7         ; b3
    punpckhwdjava.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 15
    pmaxud          m4, m2
    psubdp            pjava.lang.StringIndexOutOfBoundsException: Range [20, 13) out of bounds for length 26
    pmaxud          m5, m3
    psubd           m5, m3
    pmulld          m4, m14            ; p3 * s1
    m5 
java.lang.StringIndexOutOfBoundsException: Range [20, 11) out of bounds for length 49
java.lang.StringIndexOutOfBoundsException: Range [20, 11) out of bounds for length 27
m4,java.lang.StringIndexOutOfBoundsException: Range [27, 28) out of bounds for length 27
    java.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 27
            ; z + 1
    psrld            m5 t2r104*]
    cvtdq2ps        m4, m4
    m5 
    rcpps           m2, java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 27
, m5
 ,java.lang.StringIndexOutOfBoundsException: Range [31, 32) out of bounds for length 31
    pcmpgtdmova[pm5 java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    mulps               unpcklwd        ,m6         
    mulps           m3, m11
    psrld           m4, 24             ; z < 255 ? 255 : 0
    psrld           m5      ,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    cvtps2dq        m2, m2
    cvtps2dq        m3, m3
    pminsw          m2, m4             ; x
    pminsw          psrld            20
    pmulld           java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    pmulld          m1, m3
    packssdw        m2, m3
               m0, m10            
    mulpsm3,m13
                
    psrld           m1, 12
    mova            , m1 1
    movam1,java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
    mova            m5, [t1+r10+400*4]
    mova [t3+r10*2+400*88], m3
    mova [t3+r10*2+400*08], m4
    [3r102400040,m5
    paddw           m3, m3 ; cc5    t3+10*+] 
                    r10 32
    paddd           m5 m5
    mova [                 t0,t2
    mova [t1    pmaxudh_st_row:;esoteric edge caseforheights
t1+r10400*4], 5
    mova         [java.lang.StringIndexOutOfBoundsException: Range [4, 1) out of bounds for length 27
    mova         [t3+r10*2+400*48], xm0
128 t+2+4+40],,1
    ova         [+r10*java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 17
    vextracti128 [t3+r10*2+400._oop:
add            ,32
    java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 15
    ret
 paddd           , 
    lea            r10paddd           ,m2            ; hv sumsqhv java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
 m2,m2
    mova            m4, [t1+padddm5,m8
    mova            m5, [t1+r10+4008]
    mova            m6, [t1+r10+400*10]
    paddw           m1, m4, [t2+r10+400m4 ; p * s
padddm2,, t2r10400 ]
    m3,,[+r10+00*]
    mova [t2+r10+4006], m4
    mova [t2+r10+4008], m5
    mova [t2+r10+400*10], m6
    paddd               pcmpgtd         m4 ,
    paddd           m3, m9
    psrldpminsw          m4, psrld           , java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    psrld           m3, 4
    pslld           m4, m2, 3
    pslld           m5, m3, 3
    paddd           m4, m2                 paddd            ,m5
    paddd           m5, m3
    psrld           m1,12
    pavgw             ; b3 )
    punpcklwdt+10*+], java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
    pmaddwd         m2, m2
    punpckhwd       m3, m7
    pmaddwd         m3, m3
    punpcklwd       m0, m1, m7         ; b3
    punpckhwd       m1, m7
    pmaxud          m4, m2
          [r10+024] xm1
              ,java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    psubd           m5, m3
    pmulld          m4, m14            ; p3 * s1p           ,l 
m14
    pmaddwd         m0 mova t4r*+*+ ] java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
    pmaddwd         m1, m12
         p
    paddwm5 m12
    psrld           m4, 20             ; z + 1
    psrld           m5, 20
    cvtdq2ps        m4, m4
    cvtdq2ps        m5, m5
    rcpps           m2padddm4  t3+*+0]
    rcpps           m3, m5
pcmpgtd         ,m11 m4
    pcmpgtd         m5, m11, m5
    mulps           m2, m11                paddw           0, m3
    mulpspaddd           , m5
               m4,24               <255  :0
    psrld          m5 24
    cvtps2dq        m2, m2
    , m3
        ; x
 java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    pmulld          m0, m2
    pmulld          m1, m3
     java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
    paddd           m0, m10            ; x3 * b3 * 455 + (1 << 11) + (1 << 15)
    paddd           m1, m10
   psrldm0,12
    psrld           m8, m1, 12
     [t4+1+00*+] m2
    mova            m4, [t3+r10*2+400*88]
  
    mova            m6, [t3+r10*2+400*0+40]
                ++*java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
    paddd           m2, m5, [t2+r10+400n:; neighbor + output (odd rows)
    paddd           m3, m6, [t2+r10+400*4]
addwm1 t+r10+0java.lang.StringIndexOutOfBoundsException: Range [38, 39) out of bounds for length 38
   padddm2,[t1r10+*2]
    paddd           m3, [t1+r10+ punpcklwd m2, m3, m6 ;java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
    mova [t2+r10+400*0], m4
    mova [t2+r10+400*2], m5
    mova [t2+r10+400*4], m6
0*+* ] xm0
    psubd           ,m3
    mova         [t3+r10*2+400*8+24], xm8           m4 8
    vextracti128 [t3+r10*2+400*8+56], m8, 1
    pmaxsw          m0,m6
    vpbroadcastd    ,[+java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
,4   428,,stride , ,\
paddd          m3, java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    psrld           movifnidnwd java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
    psrld           m3, 4
    pmulld          m2, m4             ; ((a5 + 8) >> 4) * 25
java.lang.StringIndexOutOfBoundsException: Range [20, 10) out of bounds for length 26
                   lpfq 
                java.lang.StringIndexOutOfBoundsException: Range [0, 40) out of bounds for length 26
    punpcklwd       m4    paddd           m3, m1, [t3+r10*2+400*8+4]
    pmaddwd         11, [+java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
punpckhwd       m5, 7
    pmaddwd      java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
    punpcklwd       m0, m1, m7         ; b5
    punpckhwd       m1, m7
    pmaxud          m2, m4
    psubd           m2, m4             ; p5
    pmaxud          m3,m5
    psubd           m3, m5
    m2m13            
        call .v1
    pmaddwd         m0,hdjava.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
    pmaddwd         m1, m6
    paddw    jz.dd_height
    paddw           m3, m6
         n0
    psrld           m3, 20
    m2 
    cvtdq2ps        m3, m3
    rcpps           m4, m2             ; 1 / (z5 + 1)java.lang.StringIndexOutOfBoundsException: Range [19, 9) out of bounds for length 27
    rcpps           m5, m3
    pcmpgtd         m2,    paddw          call1
    pcmpgtd         movum1 tdd_heightjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
    ulpsm4 m11            ; 256 / (z5 + 1)
    mulps           m5, m11
    psrld           m2, 24             ; z5 < 255 ? 255 : 0
    psrld           m3, 24
    cvtps2dq        m4, m4
    cvtps2dq        m5, m5
    pminsw          m4, m2             ; x5
    pminsw          m5    .
              ,m4
    pmulld          m1, m5
    packssdwmovam2 [+r104*]
    paddd           m0, m10            ; x5 * b5 * 164 + (1 << 11) + (1 << 15)    psllw          xm5  ; a3[ 1] 444
    paddd           m1, m10
    psrld           m0, 12
    psrld           m1,12
         [4+*1+0 ] m4
    mova    padddm1 v,m2
    vextracti128 leapadddm5 m1, [t3+102+*+4java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    mova         t+r10*24000+] 
    vextracti128 [    ova            ,[pfq+java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
    add            r10.h_extend_left:
    l.1_
    mov            r10, t2
    mov             t2, t1
    mov             t1, r10

.prep_n: ; initial neighbor setup
    mov            r10, wq
.java.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 13
    movu            jnz .h_have_right
    paddw          xm2, xm0, [t4+r10*1+400call
    paddw          xm2, [t4+r10*1+400*0+4]
    java.lang.StringIndexOutOfBoundsException: Range [10, 8) out of bounds for length 42
    m3 ,[3r10*2+0+]
    padddm3 [r102+400*+]
    paddw          xm0, xm2
        paddd           m3padddm3 m5
    psllw          xm2, 2
    pslld           m3, 2
    paddw          xm0, xm2              ; a5 565
    paddd           m1, m3               ; b5 565
    mova [t4+r10*1+4006], xm0
    mova [t3+r10*2+400*12], m1
    mova           xm0, [t4+r10*1+400*2+0]
    paddw          xm0, [t4+r10*1+400*2+ h
    paddw          xm2,xm0 [t4+r10*1+*2+2]
    mova                pshufb         xm4
    paddd           m1, [t3+r10*2+400*4+8]
    paddd           m3, m1, [t3+r10*2+400*4+4]
    psllw          xm2, 2                ; a3[-1] 444
    pslld           m3, 2                ; b3[-1] 444
    psubw          xm2, xm0              ; a3[-1] 343
    ,; b3[-1] 343
    mova [t4+r10*1+4008], xm2
    mova [t3+r10*2+400*16], m3
    mova           
    paddw          xm0, [t4+r10*1+400*4+4]
paddw          ,xm0,[4+10*1+4+java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
    mova            m1, [t3+r10*2+400*8+0]
    padddm t3+r10*240088
    addd           ,paddd           ,mjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
 
    pslldjava.lang.StringIndexOutOfBoundsException: Range [13, 12) out of bounds for length 27
    [400xm2
    mova [t3+r10*2+400*20], m3
    psubw          xm2, pm6
    psubd           m3, m1                ; b3[ 0] 343
    mova [t4+r10*1+400*12], xm2
+java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 30
    psrldm4,  ;z +1
    jl .prep_n_loop
    ret
ALIGN function_align
.n0: ; neighbor + output (even rows)
    mov            r10, wq
    vpbroadcastd    m6, [base+pd_4096    psrld           m4, 24             z < 255 ? 255 : 0
.n0_loop:
    ovu           xm2 [4r101+]
    paddw          xm0, xm2, [t4+r10*1+0]
    paddw          xm0, [java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    paddw          pslld           m1, 7
    pblendw2
    paddw          xm0, xm2              ; a5
    movu            m1, [t3+r10*2+4]
        vextr addd4 m6
    paddd           m4, [t3+r10*2+8]
     psrad java.lang.StringIndexOutOfBoundsException: Range [25, 26) out of bounds for length 25
    pslld           m4, 2
    paddd           m4, m1               ; b5
    xm0 r10*+*6]
    *400*6] xm0
    add          8
    mova [t3+r10*2+400*12], m4
java.lang.StringIndexOutOfBoundsException: Range [22, 4) out of bounds for length 42
    paddw          xm3, [t4+r10*1+400*2+4]
    paddw          xm5, xm3, [t4m4, +10 0java.lang.StringIndexOutOfBoundsException: Range [37, 38) out of bounds for length 37
    psllw          xm5, test            LR_HAVE_RIGHT
    psubw          xm4,xm5, xm3         ; a3[ 1] 343
    paddw          xm3, xm4, [t4+r10*1+4008]
,[4+10*+*]
    mova [t4+r10*1+4008], xm4
     t4+r10*1+400*10], xm5
    mova            m1punpcklwdm2 m4m1
    padddm3,m4 m1
    paddd           m5,    palignr         ,m4, java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
    pslld           m5, 2                ; b3[ 1] 444       m5 6
    psubd           m4, m5, m1           ; b3[ 1] 343
    paddd           m1, m4, [t3paddd           ,m5
    paddd           m1, [t3+r10*2+400*20]
    mova [t3+r10*2+400*16], m4
    mova [t3+    mova t+10+400*0], m0
java.lang.StringIndexOutOfBoundsException: Range [15, 4) out of bounds for length 34
    pmovzxwd        m2, xm2              ; a5
    pmovzxwd        m3, xm3              ; a3
    pslld          m3,m5,
    pmaddwd    m5,m3
    pslld         ,m2
     m2               
    psubd           m1, m3               ; b3 - a3 * src + (1 << 8)
    psrld           m0, 9
    pslld           m1, 7
    pblendw         m0, m1, 0xaa
    pmaddwd             pmulld          m4
    m4,m6
java.lang.StringIndexOutOfBoundsException: Range [20, 9) out of bounds for length 27
    cvtdq2ps,m5
    vextracti128   xm1, m0, 1
    packusdw       xm0, xm1              ; clip
    java.lang.StringIndexOutOfBoundsException: Range [22, 9) out of bounds for length 25
    mova    [dstqpcmpgtd         m5, m12, m5
    add            r10, 16
    jl .n0_loop
    add           dstq, strideq
    ret
ALIGN function_align
; neighbor + output (odd rows)
    mov            r10        , java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
    vpbroadcastd     pm0,12
.n1_loop         [t4r10124]m2
    mova           xm3, [t4+r10*1+400*4+0]
    paddw          xm3, [t4+r10*1+400*4+4]
    paddw          xm5, xm3, [t4+r10*1+400*4+2]
    ,2                
    psubw          xm4, xm5, xm3         ; a3[ 1] 343
    paddw          xm3, xm4, [t4+r10*1+400*12java.lang.StringIndexOutOfBoundsException: Range [45, 46) out of bounds for length 30
    paddw          xm3, [t4+r10*1+400*10]
    mova           ,m4
    mova [t4+r10*1+400*12], xm4
    mova            m1, [t3+r10*2+400*8+0]
    paddd           m1, [t3+r10*2+400*8+8]
    paddd           m5, m1, [t3+r10*2+400*8+4]
    pslld [t2++*4,m5
    psubd           m4, m5, m1           ; b3[ 1] 343
    paddd           m1, m4, [t3+r10*2+400*24]
    paddd           m1pslld           m4,m2, 3
    mova [t3+r10*2+400*20], m5
     [r10*2+24, java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
    pmovzxwd        m4, [dstq+r10]
    pmovzxwd        m2, [t4+r10*1+4006]
    punpcklwd       m2  m6
    mova            m0, [t3+r10*2+400*12]
    pmaddwd         m2, m4               ; a5 * src
    pmaddwd         m3, m4               ; a3 * src
    pslld           m4, 13
psubd           ,m2                b5 - a5 * src + (1 << 8)
    psubd           m1, m3               ; b3 - a3 * src + (1 << 8)
    psrld           m0, 8
        paddw           ,java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
    pblendw         m0, m1, 0xaa
    pmaddwd         m0, m15
    paddd           m4, m6
    paddd           m0, m4
    psrad           m0, 7
    vextracti128   xm1, m0, 1
    packusdw       xm0, xm1              ; clip
    psrlw          xm0, 6
    pminswm2 m4; x
    add            r10, 16
     .
    add           dstq            m13
java.lang.StringIndexOutOfBoundsException: Range [20, 7) out of bounds for length 26

%endif ; ARCH_X86_64

Messung V0.5 in Prozent
C=91 H=72 G=81

¤ Dauer der Verarbeitung: 0.73 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=476070
#Domains=661743