summaryrefslogtreecommitdiffstats
path: root/core/combo
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2015-03-13 04:18:17 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-03-13 04:18:18 +0000
commit62d5e2acf5b189c5b7dfda530db690af8c607809 (patch)
tree11fa43d979b696bef1d65bd88db889fedaa8d466 /core/combo
parentcf26fb819da63fee37d4c8070f213b404a0b7fe7 (diff)
parent357778de34c7e8aa31a0baec1ab45fcf31dde234 (diff)
downloadbuild-62d5e2acf5b189c5b7dfda530db690af8c607809.zip
build-62d5e2acf5b189c5b7dfda530db690af8c607809.tar.gz
build-62d5e2acf5b189c5b7dfda530db690af8c607809.tar.bz2
Merge "Update x86_64 minimal ISA instruction set"
Diffstat (limited to 'core/combo')
-rw-r--r--core/combo/TARGET_linux-x86_64.mk3
-rwxr-xr-xcore/combo/arch/x86_64/x86_64.mk3
2 files changed, 6 insertions, 0 deletions
diff --git a/core/combo/TARGET_linux-x86_64.mk b/core/combo/TARGET_linux-x86_64.mk
index c945b3e..89e42f9 100644
--- a/core/combo/TARGET_linux-x86_64.mk
+++ b/core/combo/TARGET_linux-x86_64.mk
@@ -117,6 +117,9 @@ endif
ifeq ($(ARCH_X86_HAVE_SSE4_2),true)
TARGET_GLOBAL_CFLAGS += -msse4.2
endif
+ifeq ($(ARCH_X86_HAVE_POPCNT),true)
+ TARGET_GLOBAL_CFLAGS += -mpopcnt
+endif
ifeq ($(ARCH_X86_HAVE_AVX),true)
TARGET_GLOBAL_CFLAGS += -mavx
endif
diff --git a/core/combo/arch/x86_64/x86_64.mk b/core/combo/arch/x86_64/x86_64.mk
index 9d2b620..08dd9cd 100755
--- a/core/combo/arch/x86_64/x86_64.mk
+++ b/core/combo/arch/x86_64/x86_64.mk
@@ -8,6 +8,9 @@
ARCH_X86_HAVE_SSSE3 := true
ARCH_X86_HAVE_MOVBE := false # Only supported on Atom.
ARCH_X86_HAVE_POPCNT := true
+ARCH_X86_HAVE_SSE4 := true
+ARCH_X86_HAVE_SSE4_1 := true
+ARCH_X86_HAVE_SSE4_2 := true
# CFLAGS for this arch