From 9f88296ee0414a82160b245a45de3ef538d9b73a Mon Sep 17 00:00:00 2001 From: conrad Date: Sat, 30 Aug 2008 19:40:21 +0000 Subject: [PATCH] Let ff_pw_8 be used as an SSE constant git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15052 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- libavcodec/i386/dsputil_mmx.c | 2 +- libavcodec/i386/dsputil_mmx.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/i386/dsputil_mmx.c b/libavcodec/i386/dsputil_mmx.c index 0ff06d48c..41aadc611 100644 --- a/libavcodec/i386/dsputil_mmx.c +++ b/libavcodec/i386/dsputil_mmx.c @@ -48,7 +48,7 @@ DECLARE_ALIGNED_16(const uint64_t, ff_pdw_80000000[2]) = 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 --git a/libavcodec/i386/dsputil_mmx.h b/libavcodec/i386/dsputil_mmx.h index d944dbd43..a4b3bfcda 100644 --- a/libavcodec/i386/dsputil_mmx.h +++ b/libavcodec/i386/dsputil_mmx.h @@ -35,7 +35,7 @@ extern const uint64_t ff_pdw_80000000[2]; 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; -- 2.39.2