This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
SPE scalar float instructions
- From: Zack Weinberg <zack at codesourcery dot com>
- To: gcc at gcc dot gnu dot org, Aldy Hernandez <aldyh at redhat dot com>
- Date: Tue, 14 Dec 2004 19:42:19 -0800
- Subject: SPE scalar float instructions
Currently, the SPE scalar float instructions are predicated on
TARGET_HARD_FLOAT && !TARGET_FPRS (and TARGET_E500_DOUBLE for DFmode)
but not on TARGET_SPE. This can cause problems in an embedded context
- as one of CodeSourcery's customers points out,
> This will indeed post a problem, because those instructions require
> MSR[SPE] bit be set, which is not true for all cases. SPE unavailable
> exception may result.
I'm wondering if TARGET_SPE should be added to the controlling
condition for all those instructions. Thoughts?
zw