[MPlayer-cvslog] CVS: main configure,1.1072,1.1073

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Fri Oct 7 18:10:18 CEST 2005


On Wednesday, 05 October 2005 at 21:52, Jindrich Makovicka CVS wrote:
> CVS change done by Jindrich Makovicka CVS
> 
> Update of /cvsroot/mplayer/main
> In directory mail:/var2/tmp/cvs-serv25750
> 
> Modified Files:
> 	configure 
> Log Message:
> detect Centaur CPUs (Winchip, VIA C3)
> 
> Index: configure
> ===================================================================
> RCS file: /cvsroot/mplayer/main/configure,v
> retrieving revision 1.1072
> retrieving revision 1.1073
> diff -u -r1.1072 -r1.1073
> --- configure	5 Oct 2005 19:39:31 -0000	1.1072
> +++ configure	5 Oct 2005 19:52:13 -0000	1.1073
> @@ -850,6 +850,30 @@
>      *) proc=pentium4 iproc=686 ;;
>      esac
>      ;;
> +  CentaurHauls)
> +    case "$pfamily" in
> +    5) iproc=586
> +	if test "$pmodel" -ge 8; then
> +		proc=winchip2
> +	elif test "$pmodel" -ge 4; then
> +		proc=winchip-c6
> +	else
> +		proc=i586
> +	fi
> +	;;

I've just noticed: GCC's docs say
    winchip-c6
          IDT Winchip C6 CPU, dealt in same way as i486 with additional
          MMX instruction set support.
    winchip2
          IDT Winchip2 CPU, dealt in same way as i486 with additional
          MMX and 3dNOW!  instruction set support.
so I don't think we should use -march=i586 as a fallback.

> +    6) iproc=686
> +        # VIA C3 has SSE, but doesn't have MMX2
> +        # workaround for SSE => MMX2 implication above
> +        _mmx2=no
> +	if test "$pmodel" -ge 9; then
> +		proc=c3-2
> +	else
> +		proc=i686
> +	fi
> +	;;

There's also c3, which has 3DNow, but not SSE.

    c3
          Via C3 CPU with MMX and 3dNOW! instruction set support.  (No
          scheduling is implemented for this chip.)

    c3-2
          Via C3-2 CPU with MMX and SSE instruction set support.  (No
          scheduling is implemented for this chip.)

I'll try to send a patch this weekend.

R.

-- 
MPlayer RPMs maintainer: http://rpm.greysector.net/mplayer/
"I am Grey. I stand between the candle and the star. We are Grey.
 We stand between the darkness ... and the light."
        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"




More information about the MPlayer-cvslog mailing list