x86 assembler optimization

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@850 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nickols_k 2001-05-22 07:45:35 +00:00
parent d2a3dbc094
commit e772047266
1 changed files with 28 additions and 6 deletions

34
configure vendored
View File

@ -6,6 +6,9 @@
# #
# Changes in reversed order: # Changes in reversed order:
# #
# 2001/05/22 by Nick Kurshev
# - added definition of CPU clone
#
# 2001/04/16 by LGB # 2001/04/16 by LGB
# - added libcss stuffs # - added libcss stuffs
# #
@ -293,15 +296,18 @@ if [ -e /dev/mga_vid ]; then
fi fi
proc=pentium proc=pentium
iproc=586
case "$pvendor" in case "$pvendor" in
AuthenticAMD) AuthenticAMD)
case "$pfamily" in case "$pfamily" in
3) 3)
proc=i386 proc=i386
iproc=386
;; ;;
4) 4)
proc=i486 proc=i486
iproc=486
;; ;;
5) 5)
if [ $pmodel -ge 6 ]; then # LGB: models are: K5/SSA5 K5 K5 K5 ? ? K6 K6 K6-2 K6-3 if [ $pmodel -ge 6 ]; then # LGB: models are: K5/SSA5 K5 K5 K5 ? ? K6 K6 K6-2 K6-3
@ -309,12 +315,15 @@ case "$pvendor" in
else else
proc=k5 proc=k5
fi fi
iproc=586
;; ;;
6|7) # LGB: Though it seems Athlon CPUs returns with "6" 6|7) # LGB: Though it seems Athlon CPUs returns with "6"
proc=k7 proc=k7
iproc=686
;; ;;
*) *)
proc=pentium proc=pentium
iproc=586
;; ;;
esac esac
;; ;;
@ -322,18 +331,23 @@ case "$pvendor" in
case "$pfamily" in case "$pfamily" in
3) 3)
proc=i386 proc=i386
iproc=386
;; ;;
4) 4)
proc=i486 proc=i486
iproc=486
;; ;;
5) 5)
proc=pentium proc=pentium
iproc=586
;; ;;
6) 6)
proc=i686 proc=i686
iproc=686
;; ;;
*) *)
proc=pentium proc=pentium
iproc=586
;; ;;
esac esac
;; ;;
@ -341,17 +355,21 @@ case "$pvendor" in
case "$pfamily" in case "$pfamily" in
3) 3)
proc=i386 proc=i386
iproc=386
;; ;;
4) 4)
proc=i486 proc=i486
iproc=486
;; ;;
*) *)
proc=pentium proc=pentium
iproc=586
;; ;;
esac esac
;; ;;
*) *)
proc=pentium proc=pentium
iproc=586
;; ;;
esac esac
@ -1091,12 +1109,16 @@ $_gui
#define ARCH_X86 #define ARCH_X86
///////////////////////////////////////////////////////////////////////////// /* Define this to any prefered value from 386 up to infinity with step 100 */
// #define __CPU__ $iproc
// NOTE: Instead of modifying these here, use the --enable/--disable options
// of the ./configure script! See ./configure --help for details. /*----------------------------------------------------------------------------
// **
///////////////////////////////////////////////////////////////////////////// ** NOTE: Instead of modifying these definitions here, use the
** --enable/--disable options of the ./configure script!
** See ./configure --help for details.
**
*---------------------------------------------------------------------------*/
/* termcap flag for getch2.c */ /* termcap flag for getch2.c */
$_termcap $_termcap