projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e23b50
)
snowdsp: explicitily state instruction size.
author
Ronald S. Bultje
<rsbultje@gmail.com>
Wed, 2 May 2012 16:55:46 +0000
(09:55 -0700)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Wed, 2 May 2012 16:57:12 +0000
(09:57 -0700)
Fixes a compile error with clang at -O0.
libavcodec/x86/snowdsp_mmx.c
patch
|
blob
|
history
diff --git
a/libavcodec/x86/snowdsp_mmx.c
b/libavcodec/x86/snowdsp_mmx.c
index
3e6bc99
..
00b6261
100644
(file)
--- 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"\
+ "add
l $"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"\
+ "add
l $"PTR_SIZE"*1, %1
\n\t"\
snow_inner_add_yblock_sse2_end_common1\
"dec %2 \n\t"\
snow_inner_add_yblock_sse2_end_common2