Question for ARM926T mtune values in ARM Makfile

From: V JobNickname
Date: Fri Mar 14 2014 - 01:14:32 EST


For ARM926T, the value in the Makefile are assigned to arm9tdmi.
Actually all ARM9xxx are assigned by value arm9tdmi.

But in some cross compile GCC toolchains, such as from Buildroot, they
have different specified tune value
for example, in buildroot GCC

config BR2_GCC_TARGET_TUNE
...
default arm920 if BR2_arm920
default arm920t if BR2_arm920t
default arm922t if BR2_arm922t
default arm926ej-s if BR2_arm926t
default arm1136j-s if BR2_arm1136j_s
default arm1136jf-s if BR2_arm1136jf_s
default arm1176jz-s if BR2_arm1176jz_s
default arm1176jzf-s if BR2_arm1176jzf_s
...

and by "man gcc"
-mtune is similar to mcpu
and in mcpu list includes arm9tdmi and arm926ej-s

Should mtune value in Kernel ARM Makefile for ARM926T be modified to
tune-$(CONFIG_CPU_ARM926T) =-mtune=arm926ej-s

and will this have better instruction tune by GCC for ARM926T?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/