Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - How to enable generation of PowerPC SPE instructions: (2 Items)
   
How to enable generation of PowerPC SPE instructions  
How can I instruct the GCC compiler to use SPE instructions for floating-point operations?

We have tried to use -mspe and -mspe=yes but still get the standard PowerPC FPU instructions.

We have also tried to use –mabi=spe but got the following error:
cc1: error: not configured for ABI: 'spe'


We use GCC v4.2.1

Re: How to enable generation of PowerPC SPE instructions  
> How can I instruct the GCC compiler to use SPE instructions for floating-point
>  operations?
> 
> We have tried to use -mspe and -mspe=yes but still get the standard PowerPC 
> FPU instructions.
> 
> We have also tried to use –mabi=spe but got the following error:
> cc1: error: not configured for ABI: 'spe'
> 
> 
> We use GCC v4.2.1

The  gcc 4.2.1 toolchain available on the foundry is not configured for the e500 ABI. The e500 ABI is incompatible with 
the default ABI and would require rebuilding all binaries (executables and libraries) to use the SPE instructions.

Regards,

Ryan Mansfield