aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-24 14:39:11 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-24 14:39:11 +0000
commit75785a6cdf321166564f9e3720c817ea1f793d90 (patch)
tree058d71cd8675e1b11273230521f461be2e3e8d9f
parentffd28484e5e947140794795c55fdecdecc0d2450 (diff)
define HAVE_FAST_UNALIGNED on x86 (32 and 64 bit).
Please add more architectures if you know they support unaligned access reasonably fast. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23656 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 5376a8955d..7d38fbfe2c 100755
--- a/configure
+++ b/configure
@@ -1588,6 +1588,7 @@ case "$host_arch" in
_arch='X86 X86_32'
_target_arch_x86="ARCH_X86 = yes"
_target_arch="ARCH_X86_32 = yes"
+ _def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
iproc=486
proc=i486
@@ -1832,6 +1833,7 @@ EOF
_arch='X86 X86_64'
_target_arch='ARCH_X86_64 = yes'
_target_arch_x86="ARCH_X86 = yes"
+ _def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1'
iproc='x86_64'
# gcc >= 3.4.0 doesn't support -mcpu, we have to use -mtune instead
@@ -8122,6 +8124,9 @@ $_def_pvr
byte first (like Motorola and SPARC, unlike Intel and VAX). */
$_def_words_endian
+/* Define if your processor can access unaligned data in a fast way */
+$_def_fast_unaligned
+
`ff_config_enable "$_arch_all" "$_arch" "ARCH"`
/* For the PPC. G5 has the dcbzl when in 64bit mode but G4s and earlier do not