Mercurial > mplayer.hg
comparison configure @ 23636:46a6e2183078
define HAVE_FAST_UNALIGNED on x86 (32 and 64 bit).
Please add more architectures if you know they support unaligned
access reasonably fast.
author | reimar |
---|---|
date | Sun, 24 Jun 2007 14:39:11 +0000 |
parents | 16db18293ebd |
children | f5d5fc751a6a |
comparison
equal
deleted
inserted
replaced
23635:1318a24d46cf | 23636:46a6e2183078 |
---|---|
1586 case "$host_arch" in | 1586 case "$host_arch" in |
1587 i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686) | 1587 i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686) |
1588 _arch='X86 X86_32' | 1588 _arch='X86 X86_32' |
1589 _target_arch_x86="ARCH_X86 = yes" | 1589 _target_arch_x86="ARCH_X86 = yes" |
1590 _target_arch="ARCH_X86_32 = yes" | 1590 _target_arch="ARCH_X86_32 = yes" |
1591 _def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1' | |
1591 iproc=486 | 1592 iproc=486 |
1592 proc=i486 | 1593 proc=i486 |
1593 | 1594 |
1594 | 1595 |
1595 if test "$_runtime_cpudetection" = no ; then | 1596 if test "$_runtime_cpudetection" = no ; then |
1830 | 1831 |
1831 x86_64|amd64) | 1832 x86_64|amd64) |
1832 _arch='X86 X86_64' | 1833 _arch='X86 X86_64' |
1833 _target_arch='ARCH_X86_64 = yes' | 1834 _target_arch='ARCH_X86_64 = yes' |
1834 _target_arch_x86="ARCH_X86 = yes" | 1835 _target_arch_x86="ARCH_X86 = yes" |
1836 _def_fast_unaligned='#define HAVE_FAST_UNALIGNED 1' | |
1835 iproc='x86_64' | 1837 iproc='x86_64' |
1836 | 1838 |
1837 # gcc >= 3.4.0 doesn't support -mcpu, we have to use -mtune instead | 1839 # gcc >= 3.4.0 doesn't support -mcpu, we have to use -mtune instead |
1838 if test "$cc_vendor" = "gnu" && test "$_cc_major" -gt 3 -o "$_cc_major" -eq 3 -a "$_cc_minor" -ge 4 ; then | 1840 if test "$cc_vendor" = "gnu" && test "$_cc_major" -gt 3 -o "$_cc_major" -eq 3 -a "$_cc_minor" -ge 4 ; then |
1839 cpuopt=-mtune | 1841 cpuopt=-mtune |
8120 | 8122 |
8121 /* Define if your processor stores words with the most significant | 8123 /* Define if your processor stores words with the most significant |
8122 byte first (like Motorola and SPARC, unlike Intel and VAX). */ | 8124 byte first (like Motorola and SPARC, unlike Intel and VAX). */ |
8123 $_def_words_endian | 8125 $_def_words_endian |
8124 | 8126 |
8127 /* Define if your processor can access unaligned data in a fast way */ | |
8128 $_def_fast_unaligned | |
8129 | |
8125 `ff_config_enable "$_arch_all" "$_arch" "ARCH"` | 8130 `ff_config_enable "$_arch_all" "$_arch" "ARCH"` |
8126 | 8131 |
8127 /* For the PPC. G5 has the dcbzl when in 64bit mode but G4s and earlier do not | 8132 /* For the PPC. G5 has the dcbzl when in 64bit mode but G4s and earlier do not |
8128 have the instruction. */ | 8133 have the instruction. */ |
8129 $_def_dcbzl | 8134 $_def_dcbzl |