ARM: optimize for FA526 if toolchain supports it
PATCH 1/1 ARM: optimize for FA526 if toolchain supports it
Currently, when we are targetting a Farady FA526-based system the toolchain will use the arm9tdmi mtune option of gcc, gcc > 4.6 supports the FA526 CPU, and allow us to optimize for it.
--- arch/arm/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/Makefile +1 -1
@@ -82,7 +82,7 @@ tune-$(CONFIG_CPU_ARM920T) :=-mtune=arm9tdmi tune-$(CONFIG_CPU_ARM922T) :=-mtune=arm9tdmi tune-$(CONFIG_CPU_ARM925T) :=-mtune=arm9tdmi tune-$(CONFIG_CPU_ARM926T) :=-mtune=arm9tdmi -tune-$(CONFIG_CPU_FA526) :=-mtune=arm9tdmi +tune-$(CONFIG_CPU_FA526) :=$(call cc-option,-mtune=fa526,-mtune=arm9tdmi) tune-$(CONFIG_CPU_SA110) :=-mtune=strongarm110 tune-$(CONFIG_CPU_SA1100) :=-mtune=strongarm1100 tune-$(CONFIG_CPU_XSCALE) :=$(call cc-option,-mtune=xscale,-mtune=strongarm110) -Wa,-mcpu=xscale
Signature · 1 line
1.7.5.4
PATCH 1/1 ARM: optimize for FA526 if toolchain supports it
Quoted 5 lines · Florian Fainelli
Currently, when we are targetting a Farady FA526-based system the toolchain will use the arm9tdmi mtune option of gcc, gcc > 4.6 supports the FA526 CPU, and allow us to optimize for it.
Signed-off-by Florian Fainelli <[email protected]>
No objections to the patch, but a question out of curiosity:
Is this the regular gemini platform that you are working on, or something else? Do you have other platform support patches that you are planning to submit for this?
Arnd
PATCH 1/1 ARM: optimize for FA526 if toolchain supports it
Hi Arnd,
Le 04/23/12 15:15, Arnd Bergmann a ?crit :
Quoted 11 lines · Florian Fainelli
Quoted 5 lines
Currently, when we are targetting a Farady FA526-based system the toolchain will use the arm9tdmi mtune option of gcc, gcc> 4.6 supports the FA526 CPU, and allow us to optimize for it.
Signed-off-by Florian Fainelli<[email protected]>No objections to the patch, but a question out of curiosity:
Is this the regular gemini platform that you are working on, or something else? Do you have other platform support patches that you are planning to submit for this?
I need this on a different platform (Moschip MCS814x), which I will be submitting once I have all the bits working and converted to device tree. --
Florian
PATCH 1/1 ARM: optimize for FA526 if toolchain supports it
Quoted 7 lines · Florian Fainelli
Le 04/23/12 15:15, Arnd Bergmann a ?crit :
Quoted 6 lines · Florian Fainelli
Quoted 5 lines
Currently, when we are targetting a Farady FA526-based system the toolchain will use the arm9tdmi mtune option of gcc, gcc> 4.6 supports the FA526 CPU, and allow us to optimize for it.
Signed-off-by Florian Fainelli<[email protected]>
Quoted 8 lines
Quoted 5 lines
No objections to the patch, but a question out of curiosity:
Is this the regular gemini platform that you are working on, or something else? Do you have other platform support patches that you are planning to submit for this?
I need this on a different platform (Moschip MCS814x), which I will be submitting once I have all the bits working and converted to device tree.
Ok, good to know.
Thanks,
Arnd