PATCH: Select the default x86 arch/cpu based on target

Jason Merrill jason@redhat.com
Thu Feb 25 22:36:00 GMT 2010


On 02/25/2010 05:16 PM, H.J. Lu wrote:
> Here is the updated patch to allow native for with_cpu/with_arch.

Looks like you're missing cpu= in several of the cases:

> +  i386-*-*)
> +    arch=i386
> +    ;;
> +  i486-*-*)
> +    arch=i486
> +    ;;

> +      pentium4-*|pentium4m-*)
> +	arch=pentium4
> +	;;
> +      prescott-*)
> +	arch=prescott
> +	;;
> +      nocona-*)
> +	arch=nocona
> +	;;

> +      *)
> +	arch=pentiumpro
> +	;;

> +      nocona-*)
> +	arch=nocona
> +	;;

> +      *)
> +	arch=x86-64
> +	;;



More information about the Gcc-patches mailing list