Showing the changes to codec/decoder (1 of 8 files). Show all
Unified · Split
| @@ -119,7 +119,7 @@ sse2_wd_0x02: times 8 dw 0x02 · 118 unmodified lines | |||
| 119 | punpckhdq %1, %4 | 119 | punpckhdq %1, %4 |
| 120 | %endmacro | 120 | %endmacro |
| 121 | 121 | ||
| 122 | %macro SUMW_HORIZON 3 | 122 | %macro SUMW_HORIZON 3 |
| 123 | movhlps %2, %1 ; x2 = xx xx xx xx d7 d6 d5 d4 | 123 | movhlps %2, %1 ; x2 = xx xx xx xx d7 d6 d5 d4 |
| 124 | paddw %1, %2 ; x1 = xx xx xx xx d37 d26 d15 d04 | 124 | paddw %1, %2 ; x1 = xx xx xx xx d37 d26 d15 d04 |
| 125 | punpcklwd %1, %3 ; x1 = d37 d26 d15 d04 | 125 | punpcklwd %1, %3 ; x1 = d37 d26 d15 d04 |
| @@ -129,14 +129,14 @@ sse2_wd_0x02: times 8 dw 0x02 · 3 unmodified lines | |||
| 129 | paddd %1, %2 ; x1 = xxxx xxxx xxxx d01234567 | 129 | paddd %1, %2 ; x1 = xxxx xxxx xxxx d01234567 |
| 130 | %endmacro | 130 | %endmacro |
| 131 | 131 | ||
| 132 | %macro COPY_16_TIMES 2 | 132 | %macro COPY_16_TIMES 2 |
| 133 | movdqa %2, [%1-16] | 133 | movdqa %2, [%1-16] |
| 134 | psrldq %2, 15 | 134 | psrldq %2, 15 |
| 135 | pmuludq %2, [mmx_01bytes] | 135 | pmuludq %2, [mmx_01bytes] |
| 136 | pshufd %2, %2, 0 | 136 | pshufd %2, %2, 0 |
| 137 | %endmacro | 137 | %endmacro |
| 138 | 138 | ||
| 139 | %macro COPY_16_TIMESS 3 | 139 | %macro COPY_16_TIMESS 3 |
| 140 | movdqa %2, [%1+%3-16] | 140 | movdqa %2, [%1+%3-16] |
| 141 | psrldq %2, 15 | 141 | psrldq %2, 15 |
| 142 | pmuludq %2, [mmx_01bytes] | 142 | pmuludq %2, [mmx_01bytes] |