[Buildroot] [PATCH v2 1/5] target: add symbols for i386/x86_64 cpu features
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Jun 2 22:17:32 UTC 2012
Le Sun, 3 Jun 2012 00:09:43 +0200,
Samuel Martin <s.martin49 at gmail.com> a écrit :
> Selecting the target architecture variant automatically selects the
> appropriated set of features.
>
> Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
>
> diff --git a/target/Config.in.arch b/target/Config.in.arch
> index 25ff750..9908b58 100644
> --- a/target/Config.in.arch
> +++ b/target/Config.in.arch
> @@ -242,7 +242,7 @@ choice
> default BR2_mips_1 if BR2_mipsel
> help
> Specific CPU variant to use
> -
> +
Unrelated change.
> +# i386/x86_64 cpu features
> +config BR2_CPU_HAS_MMX
> + bool
> +config BR2_CPU_HAS_SSE
> + bool
> +config BR2_CPU_HAS_SSE2
> + bool
> +config BR2_CPU_HAS_SSE3
> + bool
> +config BR2_CPU_HAS_SSSE3
> + bool
> +config BR2_CPU_HAS_SSE41
> + bool
> +config BR2_CPU_HAS_SSE42
> + bool
> +config BR2_CPU_HAS_SSE4
> + bool
> +config BR2_CPU_HAS_SSE4A
> + bool
> +config BR2_CPU_HAS_3DNOW
> + bool
> +config BR2_CPU_HAS_ABM
> + bool
Should we name those options BR2_X86_CPU_HAS_* ?
Otherwise, this looks good to me.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list