Messages in this thread | | | Date | Fri, 14 Mar 2014 12:58:04 +0800 | Subject | Question for ARM926T mtune values in ARM Makfile | From | V JobNickname <> |
| |
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?
| |