Hi Mike,

On Mon, Aug 14, 2017 at 03:21:42PM -0400, Michael Meissner wrote:
> This patch enables the _Float128 keyword for the C langauge all of the time 
> for
> PowerPC VSX systems.  The __float128 keyword continues to be only enabled if
> you use the -mfloat128 option.

Looks good, please commit.  Thanks!


Segher


>       PR target/70589
>       * config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Make the
>       real keyword for IEEE 128-bit be __ieee128 for VSX runs, and define
>       __float128 to be __ieee128 if -mfloat128 is used or a float128
>       target attribute/pragma is used.  Enable _Float128 all of the
>       time.
>       (rs6000_cpu_cpp_builtins): Likewise.
>       * config/rs6000/rs6000.c (rs6000_init_builtins): Likewise.
>       (rs6000_floatn_mode): Likewise.
>       (rs6000_opt_masks): Likewise.
> 
> [gcc/testsuite]
> 2017-08-14  Michael Meissner  <meiss...@linux.vnet.ibm.com>
> 
>       PR target/70589
>       * gcc.target/powerpc/float128-1.c: Eliminate using the
>       -static-libgcc option.  Use -mvsx instead of -mcpu=power7 to run
>       the tests.
>       * gcc.target/powerpc/float128-2.c: Likewise.
>       * gcc.target/powerpc/float128-3.c: Test enabling -mfloat128 via
>       #pragma target.
>       * gcc.target/powerpc/float128-4.c: New test, clone float128-1.c,
>       using the _Float128 keyword.  Do not use the -mfloat128 option.

Reply via email to