mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +00:00
support for xtensa CPU architecture
patch by Dan Nicolaescu (dann ics.uci edu), Reimar and me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25368 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
472727ba1f
commit
cb80e1a797
13
configure
vendored
13
configure
vendored
@ -1263,6 +1263,7 @@ if test -z "$_target" ; then
|
||||
s390x) host_arch=s390x ;;
|
||||
mips*) host_arch=mips ;;
|
||||
vax) host_arch=vax ;;
|
||||
xtensa*) host_arch=xtensa ;;
|
||||
*) host_arch=UNKNOWN ;;
|
||||
esac
|
||||
;;
|
||||
@ -1627,7 +1628,7 @@ EOF
|
||||
fi
|
||||
|
||||
|
||||
_arch_all='X86 X86_32 X86_64 IA64 SPARC ARM ARMV4L SH3 POWERPC PPC ALPHA SGI_MIPS PA_RISC S390 S390X VAX BFIN GENERIC'
|
||||
_arch_all='X86 X86_32 X86_64 IA64 SPARC ARM ARMV4L SH3 POWERPC PPC ALPHA SGI_MIPS PA_RISC S390 S390X VAX BFIN XTENSA GENERIC'
|
||||
case "$host_arch" in
|
||||
i[3-9]86|x86|x86pc|k5|k6|k6-2|k6-3|pentium*|athlon*|i586-i686)
|
||||
_arch='X86 X86_32'
|
||||
@ -2242,6 +2243,16 @@ EOF
|
||||
_optimizing=''
|
||||
;;
|
||||
|
||||
xtensa)
|
||||
_arch='XTENSA'
|
||||
_target_arch='ARCH_XTENSA = yes'
|
||||
iproc='xtensa'
|
||||
proc=''
|
||||
_march=''
|
||||
_mcpu=''
|
||||
_optimizing=''
|
||||
;;
|
||||
|
||||
generic)
|
||||
_arch='GENERIC'
|
||||
_target_arch='ARCH_GENERIC = yes'
|
||||
|
@ -568,5 +568,9 @@ void GetCpuCaps( CpuCaps *caps)
|
||||
#ifdef ARCH_VAX
|
||||
mp_msg(MSGT_CPUDETECT,MSGL_INFO, "CPU: Digital VAX\n" );
|
||||
#endif
|
||||
|
||||
#ifdef ARCH_XTENSA
|
||||
mp_msg(MSGT_CPUDETECT,MSGL_INFO, "CPU: Tensilica Xtensa\n" );
|
||||
#endif
|
||||
}
|
||||
#endif /* !ARCH_X86 */
|
||||
|
Loading…
Reference in New Issue
Block a user