aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/inline_asm.h
diff options
context:
space:
mode:
authorChristophe Gisquet <christophe.gisquet@gmail.com>2014-08-06 07:43:40 +0000
committerMichael Niedermayer <michaelni@gmx.at>2014-08-06 19:24:49 +0200
commit71db2d08b1f1eeda3b47564662365a7886ca5d3e (patch)
tree7cae5424d2e38b06d06745ffa1e39bd924ac4ae4 /libavcodec/x86/inline_asm.h
parent4e128ab0b1b32d2e0a1a8350e224b8d6cc534f93 (diff)
downloadffmpeg-71db2d08b1f1eeda3b47564662365a7886ca5d3e.tar.gz
x86: better share ff_pw_2
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/inline_asm.h')
-rw-r--r--libavcodec/x86/inline_asm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/inline_asm.h b/libavcodec/x86/inline_asm.h
index c2f1bf0f9c..3e65a76973 100644
--- a/libavcodec/x86/inline_asm.h
+++ b/libavcodec/x86/inline_asm.h
@@ -37,7 +37,7 @@
"paddb %%"#regd", %%"#regd" \n\t" ::)
#ifndef PIC
-#define MOVQ_WTWO(regd) __asm__ volatile ("movq %0, %%"#regd" \n\t" :: "m"(ff_wtwo))
+#define MOVQ_WTWO(regd) __asm__ volatile ("movq %0, %%"#regd" \n\t" :: "m"(ff_pw_2))
#else
// for shared library it's better to use this way for accessing constants
// pcmpeqd -> -1