From 593eb7b8d774da68bc76ead2762b2b00ad1c1eee Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Tue, 23 Feb 2016 18:21:42 -0800 Subject: [PATCH] sandybridge setup: no AES_NI, AVX, MOVBE Sandy Bridge actually doesn't have all of these options. For example AVX is only available on the higher-end SKUs (not on Celeron G550). Change-Id: Ib595a9a6b464626d0c88525c6aaa4d69176645cc --- core/combo/arch/x86/sandybridge.mk | 6 +++--- core/combo/arch/x86_64/sandybridge.mk | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/combo/arch/x86/sandybridge.mk b/core/combo/arch/x86/sandybridge.mk index bca595373d..830e1db52a 100644 --- a/core/combo/arch/x86/sandybridge.mk +++ b/core/combo/arch/x86/sandybridge.mk @@ -5,13 +5,13 @@ ARCH_X86_HAVE_SSSE3 := true ARCH_X86_HAVE_SSE4 := true ARCH_X86_HAVE_SSE4_1 := true ARCH_X86_HAVE_SSE4_2 := true -ARCH_X86_HAVE_AES_NI := true -ARCH_X86_HAVE_AVX := true +ARCH_X86_HAVE_AES_NI := false +ARCH_X86_HAVE_AVX := false ARCH_X86_HAVE_POPCNT := true ARCH_X86_HAVE_MOVBE := false # CFLAGS for this arch arch_variant_cflags := \ - -march=corei7-avx \ + -march=corei7 \ -mfpmath=sse \ diff --git a/core/combo/arch/x86_64/sandybridge.mk b/core/combo/arch/x86_64/sandybridge.mk index 865548c6b3..574ec8aed2 100644 --- a/core/combo/arch/x86_64/sandybridge.mk +++ b/core/combo/arch/x86_64/sandybridge.mk @@ -5,11 +5,11 @@ ARCH_X86_HAVE_SSSE3 := true ARCH_X86_HAVE_SSE4 := true ARCH_X86_HAVE_SSE4_1 := true ARCH_X86_HAVE_SSE4_2 := true -ARCH_X86_HAVE_AES_NI := true -ARCH_X86_HAVE_AVX := true +ARCH_X86_HAVE_AES_NI := false +ARCH_X86_HAVE_AVX := false ARCH_X86_HAVE_POPCNT := true ARCH_X86_HAVE_MOVBE := false # CFLAGS for this arch arch_variant_cflags := \ - -march=corei7-avx + -march=corei7