android_kernel_xiaomi_sm8350/arch
Paolo 'Blaisorblade' Giarrusso d89ea9b8bb [PATCH] i386: use -mcpu, not -mtune, for GCCs older than 3.4
I just noted that -mtune is used, which is only supported on recent GCCs; by
reading http://gcc.gnu.org/gcc-3.4/changes.html, you see "-mcpu has been
renamed to -mtune.", so for GCC < 3.4 we're not using any specific tuning in
the appropriate cases.  However -mcpu is deprecated, so use -mtune when
possible.

This was introduced by commit e9d4dce954a60dc23dd1d967766ca2347b780e54 of the
old tree (between 2.6.10-rc3 and 2.6.10) by Linus Torvalds, to remove the use
of -march, since that could trigger gcc using SSE on its own.  But no
attention was used about using -mcpu vs.  -mtune.

And btw, the old 2.6.4 code (for instance) was:
cflags-$(CONFIG_MPENTIUMII)     += $(call check_gcc,-march=pentium2,-march=i686)
cflags-$(CONFIG_MPENTIUMIII)    += $(call check_gcc,-march=pentium3,-march=i686)
cflags-$(CONFIG_MPENTIUMM)      += $(call check_gcc,-march=pentium3,-march=i686)
cflags-$(CONFIG_MPENTIUM4)      += $(call check_gcc,-march=pentium4,-march=i686)

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-30 17:37:16 -08:00
..
alpha [PATCH] memory hotplug locking: node_size_lock 2005-10-29 21:40:44 -07:00
arm [PATCH] mm: split page table lock 2005-10-29 21:40:42 -07:00
arm26 [PATCH] mm: arches skip ptlock 2005-10-29 21:40:40 -07:00
cris [PATCH] mm: cris v32 mmu_context_lock 2005-10-29 21:40:42 -07:00
frv [PATCH] mm: split page table lock 2005-10-29 21:40:42 -07:00
h8300
i386 [PATCH] i386: use -mcpu, not -mtune, for GCCs older than 3.4 2005-10-30 17:37:16 -08:00
ia64 [PATCH] memory hotplug locking: node_size_lock 2005-10-29 21:40:44 -07:00
m32r [PATCH] m32r: SMC91x driver update 2005-10-30 17:37:16 -08:00
m68k [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
m68knommu
mips [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
parisc [PATCH] memory hotplug locking: node_size_lock 2005-10-29 21:40:44 -07:00
ppc [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
ppc64 [PATCH] memory hotplug: ppc64 specific hot-add functions 2005-10-29 21:40:45 -07:00
s390 [PATCH] mm: init_mm without ptlock 2005-10-29 21:40:40 -07:00
sh [PATCH] mm: i386 sh sh64 ready for split ptlock 2005-10-29 21:40:41 -07:00
sh64 [PATCH] mm: i386 sh sh64 ready for split ptlock 2005-10-29 21:40:41 -07:00
sparc [PATCH] mm: arches skip ptlock 2005-10-29 21:40:40 -07:00
sparc64 [PATCH] mm: arches skip ptlock 2005-10-29 21:40:40 -07:00
um [PATCH] uml: remove old UM_FASTCALL, and make the thing work again 2005-10-30 17:37:16 -08:00
v850
x86_64 [PATCH] swsusp: rework memory freeing on resume 2005-10-30 17:37:14 -08:00
xtensa [PATCH] gfp_t: dma-mapping (xtensa) 2005-10-28 08:16:49 -07:00