Fixes checkasm on win64.
Showing the changes to libavcodec (1 of 1 file). Show all
Unified · Split
| @@ -43,7 +43,7 @@ SECTION .text · 42 unmodified lines | |||
| 43 | 43 | ||
| 44 | %macro AC3_EXPONENT_MIN 0 | 44 | %macro AC3_EXPONENT_MIN 0 |
| 45 | cglobal ac3_exponent_min, 3, 4, 2, exp, reuse_blks, expn, offset | 45 | cglobal ac3_exponent_min, 3, 4, 2, exp, reuse_blks, expn, offset |
| 46 | shl reuse_blksq, 8 | 46 | shl reuse_blksd, 8 |
| 47 | jz .end | 47 | jz .end |
| 48 | LOOP_ALIGN | 48 | LOOP_ALIGN |
| 49 | .nextexp: | 49 | .nextexp: |
| @@ -57,7 +57,7 @@ cglobal ac3_exponent_min, 3, 4, 2, exp, reuse_blks, expn, offset · 7 unmodified lines | |||
| 57 | jae .nextblk | 57 | jae .nextblk |
| 58 | mova [expq], m0 | 58 | mova [expq], m0 |
| 59 | add expq, mmsize | 59 | add expq, mmsize |
| 60 | sub expnq, mmsize | 60 | sub expnd, mmsize |
| 61 | jg .nextexp | 61 | jg .nextexp |
| 62 | .end: | 62 | .end: |
| 63 | RET | 63 | RET |
| @@ -71,7 +71,7 @@ AC3_EXPONENT_MIN · 7 unmodified lines | |||
| 71 | %undef LOOP_ALIGN | 71 | %undef LOOP_ALIGN |
| 72 | 72 | ||
| 73 | ;----------------------------------------------------------------------------- | 73 | ;----------------------------------------------------------------------------- |
| 74 | ; void ff_float_to_fixed24(int32_t *dst, const float *src, unsigned int len) | 74 | ; void ff_float_to_fixed24(int32_t *dst, const float *src, size_t len) |
| 75 | ;----------------------------------------------------------------------------- | 75 | ;----------------------------------------------------------------------------- |
| 76 | 76 | ||
| 77 | INIT_XMM sse2 | 77 | INIT_XMM sse2 |
| @@ -217,6 +217,7 @@ cglobal ac3_compute_mantissa_size, 1, 2, 4, mant_cnt, sum · 139 unmodified lines | |||
| 217 | 217 | ||
| 218 | %macro AC3_EXTRACT_EXPONENTS 0 | 218 | %macro AC3_EXTRACT_EXPONENTS 0 |
| 219 | cglobal ac3_extract_exponents, 3, 3, 4, exp, coef, len | 219 | cglobal ac3_extract_exponents, 3, 3, 4, exp, coef, len |
| 220 | movsxdifnidn lenq, lend | ||
| 220 | add expq, lenq | 221 | add expq, lenq |
| 221 | lea coefq, [coefq+4*lenq] | 222 | lea coefq, [coefq+4*lenq] |
| 222 | neg lenq | 223 | neg lenq |