diff options
author | Michael Meissner <meissner@linux.ibm.com> | 2021-08-27 13:19:54 -0400 |
---|---|---|
committer | Michael Meissner <meissner@linux.ibm.com> | 2021-08-27 13:19:54 -0400 |
commit | 94a047359f84c7ea5ade378028852b19529a7495 (patch) | |
tree | 843072ecf397fb3c8e11f648441c52637c29503f /gcc/cppbuiltin.c | |
parent | 66526c6a1c01b6110eaeda94ecc885177c636605 (diff) | |
download | gcc-94a047359f84c7ea5ade378028852b19529a7495.zip gcc-94a047359f84c7ea5ade378028852b19529a7495.tar.gz gcc-94a047359f84c7ea5ade378028852b19529a7495.tar.bz2 |
Fix float128-call.c test for power8 IEEE 128 and power10.
I built a compiler on a little endian power8 system where the default long
double was IEEE 128-bit instead of IBM 128-bit. I discovered that on
power8, we would generate a lxvd2x and xxpermdi to deal with the endianess
instead of the Altivec lxv.
In addition, I noticed the constant that was being loaded (1.0q) could be
loaded by the lxvkq instruction.
I rewrote the test to handle all forms of vector load and store that can
be generated.
2021-08-27 Michael Meissner <meissner@linux.ibm.com>
gcc/testsuite/
* gcc.target/powerpc/float128-call.c: Fix test for IEEE 128-bit
long double and power10.
Diffstat (limited to 'gcc/cppbuiltin.c')
0 files changed, 0 insertions, 0 deletions