diff options
author | Adrien BĂ©raud <adrien.beraud@savoirfairelinux.com> | 2014-01-15 17:17:10 -0500 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-01-15 23:19:46 +0100 |
commit | a20cb386590ac2b6dbb1dac3fdd21eb9462c05a4 (patch) | |
tree | 06552da7842eb03c3400103b57b4be4f31689e88 /arch | |
parent | 613c30c85e05de06f97fa860c1bba1d49a00653f (diff) | |
download | buildroot-a20cb386590ac2b6dbb1dac3fdd21eb9462c05a4.tar.gz buildroot-a20cb386590ac2b6dbb1dac3fdd21eb9462c05a4.zip |
arch: add support for "jaguar" AMD CPU optimisations
AMD Jaguar ( https://en.wikipedia.org/wiki/Jaguar_%28microarchitecture%29 ) is
suddenly a popular architecture since it is used in the PS4 and the XBox One.
Many embedded systems are also likely to use it in the next years.
This patch adds support for GCC architecture-specific optimisations and
tuning for these CPUs.
These optimizations are available with GCC 4.8+.
Signed-off-by: Adrien Beraud <adrien.beraud@savoirfairelinux.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/Config.in.x86 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/Config.in.x86 b/arch/Config.in.x86 index 15d5c16940..bbedfb4ac2 100644 --- a/arch/Config.in.x86 +++ b/arch/Config.in.x86 @@ -124,6 +124,13 @@ config BR2_x86_barcelona select BR2_X86_CPU_HAS_SSE select BR2_X86_CPU_HAS_SSE2 select BR2_X86_CPU_HAS_SSE3 +config BR2_x86_jaguar + bool "jaguar" + select BR2_X86_CPU_HAS_MMX + select BR2_X86_CPU_HAS_SSE + select BR2_X86_CPU_HAS_SSE2 + select BR2_X86_CPU_HAS_SSE3 + select BR2_X86_CPU_HAS_SSSE3 config BR2_x86_geode bool "geode" # Don't include MMX support because there several variant of geode @@ -172,6 +179,7 @@ config BR2_ARCH default "i686" if BR2_x86_opteron && BR2_i386 default "i686" if BR2_x86_opteron_sse3 && BR2_i386 default "i686" if BR2_x86_barcelona && BR2_i386 + default "i686" if BR2_x86_jaguar && BR2_i386 default "i686" if BR2_x86_k6 default "i686" if BR2_x86_k6_2 default "i686" if BR2_x86_athlon @@ -200,6 +208,7 @@ config BR2_GCC_TARGET_TUNE default "k8" if BR2_x86_opteron default "k8-sse3" if BR2_x86_opteron_sse3 default "barcelona" if BR2_x86_barcelona + default "btver2" if BR2_x86_jaguar default "k6" if BR2_x86_k6 default "k6-2" if BR2_x86_k6_2 default "athlon" if BR2_x86_athlon @@ -229,6 +238,7 @@ config BR2_GCC_TARGET_ARCH default "k8" if BR2_x86_opteron default "k8-sse3" if BR2_x86_opteron_sse3 default "barcelona" if BR2_x86_barcelona + default "btver2" if BR2_x86_jaguar default "k6" if BR2_x86_k6 default "k6-2" if BR2_x86_k6_2 default "athlon" if BR2_x86_athlon |