Revision b9c7f66e libavcodec/x86/h264_intrapred.asm

View differences:

libavcodec/x86/h264_intrapred.asm
1249 1249
    sub          r0, r3
1250 1250
    lea          r2, [r0+r3*2]
1251 1251
    movq        mm0, [r0+r3*1-8]
1252
    punpckhbw   mm0, [r0+r3*0-8]
1252
    test         r1, r1
1253
    lea          r1, [r0+r3]
1254
    cmovnz       r1, r0
1255
    punpckhbw   mm0, [r1+r3*0-8]
1253 1256
    movq        mm1, [r2+r3*1-8]
1254 1257
    punpckhbw   mm1, [r0+r3*2-8]
1255 1258
    mov          r2, r0
......
1264 1267
    punpckhdq   mm3, mm1
1265 1268
    lea          r0, [r0+r3*2]
1266 1269
    movq        mm0, [r0+r3*0-8]
1267
    movq        mm1, [r2]
1270
    movq        mm1, [r1+r3*0-8]
1268 1271
    mov          r0, r2
1269 1272
    movq        mm4, mm3
1270 1273
    movq        mm2, mm3
1271 1274
    PALIGNR     mm4, mm0, 7, mm0
1272 1275
    PALIGNR     mm1, mm2, 1, mm2
1273
    test        r1, r1 ; top_left
1274
    jnz .do_left
1275
.fix_lt_1:
1276
    movq        mm5, mm3
1277
    pxor        mm5, mm4
1278
    psrlq       mm5, 56
1279
    psllq       mm5, 48
1280
    pxor        mm1, mm5
1281
.do_left:
1282 1276
    movq        mm0, mm4
1283 1277
    PRED4x4_LOWPASS mm2, mm1, mm4, mm3, mm5
1284 1278
    movq        mm4, mm0
......
2153 2147
    sub          r0, r3
2154 2148
    lea          r2, [r0+r3*2]
2155 2149
    movq        mm0, [r0+r3*1-8]
2156
    punpckhbw   mm0, [r0+r3*0-8]
2150
    test         r1, r1
2151
    lea          r1, [r0+r3]
2152
    cmovnz       r1, r0
2153
    punpckhbw   mm0, [r1+r3*0-8]
2157 2154
    movq        mm1, [r2+r3*1-8]
2158 2155
    punpckhbw   mm1, [r0+r3*2-8]
2159 2156
    mov          r2, r0
......
2168 2165
    punpckhdq   mm3, mm1
2169 2166
    lea          r0, [r0+r3*2]
2170 2167
    movq        mm0, [r0+r3*0-8]
2171
    movq        mm1, [r2]
2168
    movq        mm1, [r1+r3*0-8]
2172 2169
    mov          r0, r2
2173 2170
    movq        mm4, mm3
2174 2171
    movq        mm2, mm3
2175 2172
    PALIGNR     mm4, mm0, 7, mm0
2176 2173
    PALIGNR     mm1, mm2, 1, mm2
2177
    test        r1, r1
2178
    jnz .do_left
2179
.fix_lt_1:
2180
    movq        mm5, mm3
2181
    pxor        mm5, mm4
2182
    psrlq       mm5, 56
2183
    psllq       mm5, 48
2184
    pxor        mm1, mm5
2185
.do_left:
2186 2174
    movq       mm0, mm4
2187 2175
    PRED4x4_LOWPASS mm2, mm1, mm4, mm3, mm5
2188 2176
    movq       mm4, mm0

Also available in: Unified diff