summaryrefslogtreecommitdiff
path: root/libavutil/x86_cpu.h
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2008-07-13 14:56:01 +0000
committerLoren Merritt <lorenm@u.washington.edu>2008-07-13 14:56:01 +0000
commitf27e1d645e609c01fbacfc2425818b56126df567 (patch)
tree37eb74cee17dfd256db399efd6047de8ca05670a /libavutil/x86_cpu.h
parent6647ab80e36aa2484a145029141984843958b246 (diff)
simplify vorbis windowing
Originally committed as revision 14205 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/x86_cpu.h')
-rw-r--r--libavutil/x86_cpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavutil/x86_cpu.h b/libavutil/x86_cpu.h
index 444d33511b..a60b0b56a8 100644
--- a/libavutil/x86_cpu.h
+++ b/libavutil/x86_cpu.h
@@ -68,6 +68,10 @@ typedef int32_t x86_reg;
# define HAVE_7REGS 1
#endif
+#if defined(ARCH_X86_64) || (defined(ARCH_X86_32) && (defined(HAVE_EBX_AVAILABLE) || defined(HAVE_EBP_AVAILABLE)))
+# define HAVE_6REGS 1
+#endif
+
#if defined(ARCH_X86_64) && defined(PIC)
# define BROKEN_RELOCATIONS 1
#endif