]> gcc.gnu.org Git - gcc.git/commit
PowerPC: Add long double target-supports.
authorMichael Meissner <meissner@linux.ibm.com>
Thu, 17 Dec 2020 05:58:44 +0000 (00:58 -0500)
committerMichael Meissner <meissner@linux.ibm.com>
Thu, 17 Dec 2020 05:58:44 +0000 (00:58 -0500)
commit5628d653aaab796c416725be45187bed62e77362
tree96cfb8ca639cb42fcd7bf4a905252dcaa970531c
parent427f1895d12d919252e8d56af089399660e1f445
PowerPC: Add long double target-supports.

This patch adds 6 target supports to test what type of PowerPC long double is
used by the test:

   1) Long double uses the IBM 128-bit extended double format;
   2) Long double uses the IEEE 128-bit format;
   3) We can force long double to use IBM 128-bit and GLIBC works;
   4) We can force long double to use IEEE 128-bit and GLIBC works;
   5) Long double uses one of the 128-bit formats; (and)
   6) Long double uses the 64-bit format.

gcc/testsuite/
2020-12-17  Michael Meissner  <meissner@linux.ibm.com>

* lib/target-supports.exp
(check_effective_target_ppc_long_double_ibm): New function.
(check_effective_target_ppc_long_double_ieee): New function.
(check_effective_target_ppc_long_double_override_ibm): New function.
(check_effective_target_ppc_long_double_override_ieee): New function.
(check_effective_target_ppc_long_double_128bit): New function.
(check_effective_target_ppc_long_double_64bit): New function.
gcc/testsuite/lib/target-supports.exp
This page took 0.063058 seconds and 6 git commands to generate.