[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH v2 1/9] arch/x86: add -mtune for ASFLAGS
Reviewed-by: Yuri Volchkov <yuri.volchkov@xxxxxxxxx> Florian Schmidt <florian.schmidt@xxxxxxxxx> writes: > This provides the preprocessor with compiler-provided defines such as > __AVX__. > > Signed-off-by: Florian Schmidt <florian.schmidt@xxxxxxxxx> > --- > arch/x86/x86_64/Makefile.uk | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > > diff --git a/arch/x86/x86_64/Makefile.uk b/arch/x86/x86_64/Makefile.uk > index 9d540c01..8cd2f8be 100644 > --- a/arch/x86/x86_64/Makefile.uk > +++ b/arch/x86/x86_64/Makefile.uk > @@ -10,33 +10,48 @@ ASINCLUDES += -I$(CONFIG_UK_BASE)/arch/x86/x86_64/include > CXXINCLUDES += -I$(CONFIG_UK_BASE)/arch/x86/x86_64/include > > > +ASFLAGS-$(CONFIG_MARCH_X86_64_GENERIC) += -mtune=generic > CFLAGS-$(CONFIG_MARCH_X86_64_GENERIC) += -mtune=generic > CXXFLAGS-$(CONFIG_MARCH_X86_64_GENERIC) += -mtune=generic > +ASFLAGS-$(CONFIG_MARCH_X86_64_NOCONA) += -march=nocona > CFLAGS-$(CONFIG_MARCH_X86_64_NOCONA) += -march=nocona > CXXFLAGS-$(CONFIG_MARCH_X86_64_NOCONA) += -march=nocona > +ASFLAGS-$(CONFIG_MARCH_X86_64_CORE2) += -march=core2 > CFLAGS-$(CONFIG_MARCH_X86_64_CORE2) += -march=core2 > CXXFLAGS-$(CONFIG_MARCH_X86_64_CORE2) += -march=core2 > +ASFLAGS-$(CONFIG_MARCH_X86_64_COREI7) += -march=corei7 > CFLAGS-$(CONFIG_MARCH_X86_64_COREI7) += -march=corei7 > CXXFLAGS-$(CONFIG_MARCH_X86_64_COREI7) += -march=corei7 > +ASFLAGS-$(CONFIG_MARCH_X86_64_COREI7AVX) += -march=corei7-avx > CFLAGS-$(CONFIG_MARCH_X86_64_COREI7AVX) += -march=corei7-avx > CXXFLAGS-$(CONFIG_MARCH_X86_64_COREI7AVX) += -march=corei7-avx > +ASFLAGS-$(CONFIG_MARCH_X86_64_COREI7AVXI) += -march=core-avx-i > CFLAGS-$(CONFIG_MARCH_X86_64_COREI7AVXI) += -march=core-avx-i > CXXFLAGS-$(CONFIG_MARCH_X86_64_COREI7AVXI) += -march=core-avx-i > +ASFLAGS-$(CONFIG_MARCH_X86_64_ATOM) += -march=atom > CFLAGS-$(CONFIG_MARCH_X86_64_ATOM) += -march=atom > CXXFLAGS-$(CONFIG_MARCH_X86_64_ATOM) += -march=atom > +ASFLAGS-$(CONFIG_MARCH_X86_64_K8) += -march=k8 > CFLAGS-$(CONFIG_MARCH_X86_64_K8) += -march=k8 > CXXFLAGS-$(CONFIG_MARCH_X86_64_K8) += -march=k8 > +ASFLAGS-$(CONFIG_MARCH_X86_64_K8SSE3) += -march=k8-sse3 > CFLAGS-$(CONFIG_MARCH_X86_64_K8SSE3) += -march=k8-sse3 > CXXFLAGS-$(CONFIG_MARCH_X86_64_K8SSE3) += -march=k8-sse3 > +ASFLAGS-$(CONFIG_MARCH_X86_64_AMDFAM10) += -march=amdfam10 > CFLAGS-$(CONFIG_MARCH_X86_64_AMDFAM10) += -march=amdfam10 > CXXFLAGS-$(CONFIG_MARCH_X86_64_AMDFAM10) += -march=amdfam10 > +ASFLAGS-$(CONFIG_MARCH_X86_64_BDVER1) += -march=bdver1 > CFLAGS-$(CONFIG_MARCH_X86_64_BDVER1) += -march=bdver1 > CXXFLAGS-$(CONFIG_MARCH_X86_64_BDVER1) += -march=bdver1 > +ASFLAGS-$(CONFIG_MARCH_X86_64_BDVER2) += -march=bdver2 > CFLAGS-$(CONFIG_MARCH_X86_64_BDVER2) += -march=bdver2 > CXXFLAGS-$(CONFIG_MARCH_X86_64_BDVER2) += -march=bdver2 > +ASFLAGS-$(CONFIG_MARCH_X86_64_BDVER3) += -march=bdver3 > CFLAGS-$(CONFIG_MARCH_X86_64_BDVER3) += -march=bdver3 > CXXFLAGS-$(CONFIG_MARCH_X86_64_BDVER3) += -march=bdver3 > +ASFLAGS-$(CONFIG_MARCH_X86_64_BTVER1) += -march=btver1 > CFLAGS-$(CONFIG_MARCH_X86_64_BTVER1) += -march=btver1 > CXXFLAGS-$(CONFIG_MARCH_X86_64_BTVER1) += -march=btver1 > +ASFLAGS-$(CONFIG_MARCH_X86_64_BTVER2) += -march=btver2 > CFLAGS-$(CONFIG_MARCH_X86_64_BTVER2) += -march=btver2 > CXXFLAGS-$(CONFIG_MARCH_X86_64_BTVER2) += -march=btver2 > -- > 2.19.2 > -- Yuri Volchkov Software Specialist NEC Europe Ltd Kurfürsten-Anlage 36 D-69115 Heidelberg _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |