Selecting the correct default ABI for the iWMMXt processor

Nick Clifton nickc@redhat.com
Fri Apr 16 11:21:00 GMT 2004


Hi Richard,

>>It won't,  It will select an ABI to use if the user has not specified 
>>one.  The code in arm_override_options() already makes a decision of 
>>which ABI to use when the user has not specified one.  This patch simply 
>>extends the logic used so that the ABI selected will be compatible with 
>>the iWMMXt processor.
>>

>>Yes it does.  Consider:
>>
>>- User installs a standard ARM Linux distribution on iWMMX processor
>>(arm-unknown-linux-gnu).
>>
>>- User builds application with -mcpu=iwmmxt.  Compiler says to itself
>>"Hmm, no abi specified on command line -- must set that to iWMMX..."
>>
>>- Application now fails to execute (assuming it would even link).
>>
>>- User files bug report that the compiler generates bad code.
>>    
>>
I see - very well I shall revert my patch and fix the XScale makefile 
fragments so that they do not attempt to build iWMMXt multlibs.  Once we 
have the ABI support problem resolved they can be re-enabled.

Cheers
  Nick



More information about the Gcc-patches mailing list