diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-05-07 01:34:53 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-05-07 18:03:35 +0200 |
commit | 3334cbec0aa1aa3814b8eb91f964c7da5e8053f5 (patch) | |
tree | f24f8cec7440e27ca16f20c410e9abaa8afc63d9 /libavcodec/x86/dsputil_mmx.h | |
parent | 63bac48f734fc69cca2ef2cfada92cd9a222734d (diff) | |
download | ffmpeg-3334cbec0aa1aa3814b8eb91f964c7da5e8053f5.tar.gz |
x86: dsputil: Remove unused MOVQ_BONE macro
Diffstat (limited to 'libavcodec/x86/dsputil_mmx.h')
-rw-r--r-- | libavcodec/x86/dsputil_mmx.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/x86/dsputil_mmx.h b/libavcodec/x86/dsputil_mmx.h index 2977bfe419..26a1926a12 100644 --- a/libavcodec/x86/dsputil_mmx.h +++ b/libavcodec/x86/dsputil_mmx.h @@ -28,7 +28,6 @@ #include "libavcodec/dsputil.h" #include "libavutil/x86/asm.h" -extern const uint64_t ff_bone; extern const uint64_t ff_wtwo; extern const xmm_reg ff_pw_3; @@ -81,17 +80,10 @@ extern const double ff_pd_2[2]; "paddb %%"#regd", %%"#regd" \n\t" ::) #ifndef PIC -#define MOVQ_BONE(regd) __asm__ volatile ("movq %0, %%"#regd" \n\t" :: "m"(ff_bone)) #define MOVQ_WTWO(regd) __asm__ volatile ("movq %0, %%"#regd" \n\t" :: "m"(ff_wtwo)) #else // for shared library it's better to use this way for accessing constants // pcmpeqd -> -1 -#define MOVQ_BONE(regd) \ - __asm__ volatile ( \ - "pcmpeqd %%"#regd", %%"#regd" \n\t" \ - "psrlw $15, %%"#regd" \n\t" \ - "packuswb %%"#regd", %%"#regd" \n\t" ::) - #define MOVQ_WTWO(regd) \ __asm__ volatile ( \ "pcmpeqd %%"#regd", %%"#regd" \n\t" \ |