diff options
author | Daniel Kang <daniel.d.kang@gmail.com> | 2013-01-27 20:28:58 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2013-01-28 07:23:20 +0100 |
commit | 05b0998f511ffa699407465d48c7d5805f746ad2 (patch) | |
tree | fc3e55ab5c6016423fb85b0e8224150cb0eca628 /libavcodec/x86/hpeldsp.asm | |
parent | 4eb93bed4e9b6daca7d3dd716a7517cd53dd5a95 (diff) | |
download | ffmpeg-05b0998f511ffa699407465d48c7d5805f746ad2.tar.gz |
dsputil: Fix error by not using redzone and register name
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/x86/hpeldsp.asm')
-rw-r--r-- | libavcodec/x86/hpeldsp.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/x86/hpeldsp.asm b/libavcodec/x86/hpeldsp.asm index 8afd955bf0..85594c1395 100644 --- a/libavcodec/x86/hpeldsp.asm +++ b/libavcodec/x86/hpeldsp.asm @@ -312,8 +312,8 @@ PUT_NO_RND_PIXELS8_Y2_EXACT ; avg_pixels8(uint8_t *block, const uint8_t *pixels, int line_size, int h) %macro AVG_PIXELS8 0 cglobal avg_pixels8, 4,5 - movsxdifnidn r2, edx - lea r4, [r2+r2] + movsxdifnidn r2, r2d + lea r4, [r2*2] .loop: mova m0, [r0] mova m1, [r0+r2] @@ -343,7 +343,7 @@ AVG_PIXELS8 ; avg_pixels8_x2(uint8_t *block, const uint8_t *pixels, int line_size, int h) %macro AVG_PIXELS8_X2 0 cglobal avg_pixels8_x2, 4,5 - movsxdifnidn r2, edx + movsxdifnidn r2, r2d lea r4, [r2*2] .loop: mova m0, [r1] |