[FFmpeg-cvslog] r16797 - trunk/libavcodec/x86/dsputil_mmx.c
conrad
subversion
Mon Jan 26 04:40:48 CET 2009
Author: conrad
Date: Mon Jan 26 04:40:48 2009
New Revision: 16797
Log:
Workaround for gcc 3.4 to align sh properly
Modified:
trunk/libavcodec/x86/dsputil_mmx.c
Modified: trunk/libavcodec/x86/dsputil_mmx.c
==============================================================================
--- trunk/libavcodec/x86/dsputil_mmx.c Mon Jan 26 00:21:02 2009 (r16796)
+++ trunk/libavcodec/x86/dsputil_mmx.c Mon Jan 26 04:40:48 2009 (r16797)
@@ -2491,12 +2491,12 @@ static void sub_int16_sse2(int16_t * v1,
static int32_t scalarproduct_int16_sse2(int16_t * v1, int16_t * v2, int order, int shift)
{
int res = 0;
- DECLARE_ALIGNED_16(int64_t, sh);
+ DECLARE_ALIGNED_16(xmm_reg, sh);
x86_reg o = -(order << 1);
v1 += order;
v2 += order;
- sh = shift;
+ sh.a = shift;
__asm__ volatile(
"pxor %%xmm7, %%xmm7 \n\t"
"1: \n\t"
More information about the ffmpeg-cvslog
mailing list