arch: add core-avx2
Signed-off-by: Steven Noonan <steven@uplinklabs.net> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
c060425f67
commit
f92e6219cf
@ -15,6 +15,8 @@ config BR2_X86_CPU_HAS_SSE42
|
|||||||
bool
|
bool
|
||||||
config BR2_X86_CPU_HAS_AVX
|
config BR2_X86_CPU_HAS_AVX
|
||||||
bool
|
bool
|
||||||
|
config BR2_X86_CPU_HAS_AVX2
|
||||||
|
bool
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Target Architecture Variant"
|
prompt "Target Architecture Variant"
|
||||||
@ -101,6 +103,17 @@ config BR2_x86_corei7_avx
|
|||||||
select BR2_X86_CPU_HAS_SSE4
|
select BR2_X86_CPU_HAS_SSE4
|
||||||
select BR2_X86_CPU_HAS_SSE42
|
select BR2_X86_CPU_HAS_SSE42
|
||||||
select BR2_X86_CPU_HAS_AVX
|
select BR2_X86_CPU_HAS_AVX
|
||||||
|
config BR2_x86_core_avx2
|
||||||
|
bool "core-avx2"
|
||||||
|
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
|
||||||
|
select BR2_X86_CPU_HAS_SSE4
|
||||||
|
select BR2_X86_CPU_HAS_SSE42
|
||||||
|
select BR2_X86_CPU_HAS_AVX
|
||||||
|
select BR2_X86_CPU_HAS_AVX2
|
||||||
config BR2_x86_atom
|
config BR2_x86_atom
|
||||||
bool "atom"
|
bool "atom"
|
||||||
select BR2_X86_CPU_HAS_MMX
|
select BR2_X86_CPU_HAS_MMX
|
||||||
@ -239,6 +252,7 @@ config BR2_GCC_TARGET_ARCH
|
|||||||
default "core2" if BR2_x86_core2
|
default "core2" if BR2_x86_core2
|
||||||
default "corei7" if BR2_x86_corei7
|
default "corei7" if BR2_x86_corei7
|
||||||
default "corei7-avx" if BR2_x86_corei7_avx
|
default "corei7-avx" if BR2_x86_corei7_avx
|
||||||
|
default "core-avx2" if BR2_x86_core_avx2
|
||||||
default "atom" if BR2_x86_atom
|
default "atom" if BR2_x86_atom
|
||||||
default "k8" if BR2_x86_opteron
|
default "k8" if BR2_x86_opteron
|
||||||
default "k8-sse3" if BR2_x86_opteron_sse3
|
default "k8-sse3" if BR2_x86_opteron_sse3
|
||||||
|
Loading…
Reference in New Issue
Block a user