summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-05-02 09:55:46 -0700
committerRonald S. Bultje <rsbultje@gmail.com>2012-05-02 09:57:12 -0700
commitbec207f9f9ed5583a8ce49b62ce73bfae1cae85b (patch)
tree3ab3cdaea417f3383a40a3248836908c8bb43b5d
parent0e23b508214611659fc459ed6e5d6704b907694b (diff)
downloadffmpeg-streaming-bec207f9f9ed5583a8ce49b62ce73bfae1cae85b.zip
ffmpeg-streaming-bec207f9f9ed5583a8ce49b62ce73bfae1cae85b.tar.gz
snowdsp: explicitily state instruction size.
Fixes a compile error with clang at -O0.
-rw-r--r--libavcodec/x86/snowdsp_mmx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/x86/snowdsp_mmx.c b/libavcodec/x86/snowdsp_mmx.c
index 3e6bc99..00b6261 100644
--- a/libavcodec/x86/snowdsp_mmx.c
+++ b/libavcodec/x86/snowdsp_mmx.c
@@ -675,14 +675,14 @@ static void ff_snow_vertical_compose97i_mmx(IDWTELEM *b0, IDWTELEM *b1, IDWTELEM
#define snow_inner_add_yblock_sse2_end_8\
"sal $1, %%"REG_c" \n\t"\
- "add $"PTR_SIZE"*2, %1 \n\t"\
+ "addl $"PTR_SIZE"*2, %1 \n\t"\
snow_inner_add_yblock_sse2_end_common1\
"sar $1, %%"REG_c" \n\t"\
"sub $2, %2 \n\t"\
snow_inner_add_yblock_sse2_end_common2
#define snow_inner_add_yblock_sse2_end_16\
- "add $"PTR_SIZE"*1, %1 \n\t"\
+ "addl $"PTR_SIZE"*1, %1 \n\t"\
snow_inner_add_yblock_sse2_end_common1\
"dec %2 \n\t"\
snow_inner_add_yblock_sse2_end_common2
OpenPOWER on IntegriCloud