# HG changeset patch # User conrad # Date 1220125221 0 # Node ID dbb5ab3373499f15a76b26cdb098d8ede55a4552 # Parent 023851dde8c750663788e1f011aa3dae92505486 Let ff_pw_8 be used as an SSE constant diff -r 023851dde8c7 -r dbb5ab337349 i386/dsputil_mmx.c --- a/i386/dsputil_mmx.c Sat Aug 30 17:51:03 2008 +0000 +++ b/i386/dsputil_mmx.c Sat Aug 30 19:40:21 2008 +0000 @@ -48,7 +48,7 @@ DECLARE_ALIGNED_8 (const uint64_t, ff_pw_3 ) = 0x0003000300030003ULL; DECLARE_ALIGNED_8 (const uint64_t, ff_pw_4 ) = 0x0004000400040004ULL; DECLARE_ALIGNED_16(const xmm_t, ff_pw_5 ) = {0x0005000500050005ULL, 0x0005000500050005ULL}; -DECLARE_ALIGNED_8 (const uint64_t, ff_pw_8 ) = 0x0008000800080008ULL; +DECLARE_ALIGNED_16(const xmm_t, ff_pw_8 ) = {0x0008000800080008ULL, 0x0008000800080008ULL}; DECLARE_ALIGNED_8 (const uint64_t, ff_pw_15 ) = 0x000F000F000F000FULL; DECLARE_ALIGNED_16(const xmm_t, ff_pw_16 ) = {0x0010001000100010ULL, 0x0010001000100010ULL}; DECLARE_ALIGNED_8 (const uint64_t, ff_pw_20 ) = 0x0014001400140014ULL; diff -r 023851dde8c7 -r dbb5ab337349 i386/dsputil_mmx.h --- a/i386/dsputil_mmx.h Sat Aug 30 17:51:03 2008 +0000 +++ b/i386/dsputil_mmx.h Sat Aug 30 19:40:21 2008 +0000 @@ -35,7 +35,7 @@ extern const uint64_t ff_pw_3; extern const uint64_t ff_pw_4; extern const xmm_t ff_pw_5; -extern const uint64_t ff_pw_8; +extern const xmm_t ff_pw_8; extern const uint64_t ff_pw_15; extern const xmm_t ff_pw_16; extern const uint64_t ff_pw_20;