x86-atom.mk revision ae5c0ab2726ed4b9ca7b08f9b29e3393aa0a5d40
1# This file contains feature macro definitions specific to the
2# 'x86-atom' arch variant. This is an extension of the 'x86' base variant
3# that adds Atom-specific features.
4#
5# See build/core/combo/arch/x86/x86.mk for differences.
6#
7ARCH_X86_HAVE_MMX   := true
8ARCH_X86_HAVE_SSE   := true
9ARCH_X86_HAVE_SSE2  := true
10ARCH_X86_HAVE_SSE3  := true
11ARCH_X86_HAVE_SSSE3 := true
12ARCH_X86_HAVE_MOVBE := true
13ARCH_X86_HAVE_POPCNT := false   # popcnt is not supported by current Atom CPUs
14
15# CFLAGS for this arch
16arch_variant_cflags := \
17	-march=atom \
18	-mstackrealign \
19	-mfpmath=sse \
20
21