diff options
author | Michael Meissner <meissner@linux.vnet.ibm.com> | 2016-04-11 19:45:35 +0000 |
---|---|---|
committer | Michael Meissner <meissner@gcc.gnu.org> | 2016-04-11 19:45:35 +0000 |
commit | 35fbda430dff88d550d1c73d4499f0c6aceece4e (patch) | |
tree | 17fc7642002652c4807a5bd71789fcefe83fb7db /gcc/doc | |
parent | a9c2f3d9af1ba5ef57d98bd48b5f1689b42082e5 (diff) | |
download | gcc-35fbda430dff88d550d1c73d4499f0c6aceece4e.zip gcc-35fbda430dff88d550d1c73d4499f0c6aceece4e.tar.gz gcc-35fbda430dff88d550d1c73d4499f0c6aceece4e.tar.bz2 |
re PR target/70381 (On powerpc, -mfloat128 is on by default for all VSX systems)
[gcc]
2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/70381
* config/rs6000/rs6000.c (rs6000_opt_masks): Disable using the
target attribute and pragma from changing the -mfloat128
and -mfloat128-hardware options.
* doc/extend.texi (Additional Floating Types): Document PowerPC
__float128 restrictions.
[libgcc]
2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/70381
* configure.ac (powerpc*-*-linux*): Rework tests to build
__float128 emulation routines to not depend on using #pragma GCC
target to enable -mfloat128.
* configure: Regnerate.
[gcc/testsuite]
2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
PR target/70381
* gcc.target/powerpc/float128-1.c: New tests to make sure the
__float128 emulator is built and runs.
* gcc.target/powerpc/float128-1.c: Likewise.
* lib/target-supports.exp (check_ppc_float128_sw_available):
Rework tests for __float128 software and hardware
availability. Fix exit condition to return 0 on success.
From-SVN: r234884
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/extend.texi | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 6e27029..a5a8b23 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -954,9 +954,13 @@ typedef _Complex float __attribute__((mode(TC))) _Complex128; typedef _Complex float __attribute__((mode(XC))) _Complex80; @end smallexample -On PowerPC 64-bit Linux systems there are currently problems in using -the complex @code{__float128} type. When these problems are fixed, -you would use: +In order to use @code{__float128} and @code{__ibm128} on PowerPC Linux +systems, you must use the @option{-mfloat128}. It is expected in +future versions of GCC that @code{__float128} will be enabled +automatically. In addition, there are currently problems in using the +complex @code{__float128} type. When these problems are fixed, you +would use the following syntax to declare @code{_Complex128} to be a +complex @code{__float128} type: @smallexample typedef _Complex float __attribute__((mode(KC))) _Complex128; |