Add support for x86_sse3 and x86_sse4 arch sections
Change-Id: I26b642808c66bc4562b3079edbe482febf9b2435
This commit is contained in:
@@ -126,6 +126,8 @@ var cpuVariantConditionals = map[string]struct {
|
|||||||
"mips_rev6": {"ifdef ARCH_MIPS_REV6", "mips", false},
|
"mips_rev6": {"ifdef ARCH_MIPS_REV6", "mips", false},
|
||||||
"atom": {"ifeq ($(TARGET_ARCH_VARIANT),atom)", "$(TARGET_ARCH)", true},
|
"atom": {"ifeq ($(TARGET_ARCH_VARIANT),atom)", "$(TARGET_ARCH)", true},
|
||||||
"silvermont": {"ifeq ($(TARGET_ARCH_VARIANT),silvermont)", "$(TARGET_ARCH)", true},
|
"silvermont": {"ifeq ($(TARGET_ARCH_VARIANT),silvermont)", "$(TARGET_ARCH)", true},
|
||||||
|
"x86_sse3": {"ifeq ($(ARCH_X86_HAVE_SSE3),true)", "x86", true},
|
||||||
|
"x86_sse4": {"ifeq ($(ARCH_X86_HAVE_SSE4),true)", "x86", true},
|
||||||
}
|
}
|
||||||
|
|
||||||
var hostScopedPropertyConditionals = map[string]string{
|
var hostScopedPropertyConditionals = map[string]string{
|
||||||
|
@@ -135,6 +135,10 @@ type archProperties struct {
|
|||||||
// Mips arch variants
|
// Mips arch variants
|
||||||
Mips_rev6 interface{} `blueprint:"filter(android:\"arch_variant\")"`
|
Mips_rev6 interface{} `blueprint:"filter(android:\"arch_variant\")"`
|
||||||
|
|
||||||
|
// X86 arch variants
|
||||||
|
X86_sse3 interface{} `blueprint:"filter(android:\"arch_variant\")"`
|
||||||
|
X86_sse4 interface{} `blueprint:"filter(android:\"arch_variant\")"`
|
||||||
|
|
||||||
// X86 cpu variants
|
// X86 cpu variants
|
||||||
Atom interface{} `blueprint:"filter(android:\"arch_variant\")"`
|
Atom interface{} `blueprint:"filter(android:\"arch_variant\")"`
|
||||||
Silvermont interface{} `blueprint:"filter(android:\"arch_variant\")"`
|
Silvermont interface{} `blueprint:"filter(android:\"arch_variant\")"`
|
||||||
|
Reference in New Issue
Block a user