Commit c342f4a9 authored by conrad's avatar conrad

Workaround for gcc 3.4 to align sh properly


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16797 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent d5e591dc
......@@ -2491,12 +2491,12 @@ static void sub_int16_sse2(int16_t * v1, int16_t * v2, int order)
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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment