public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: [PATCH] bootstrap/69611
@ 2016-02-03 22:13 David Edelsohn
  0 siblings, 0 replies; 2+ messages in thread
From: David Edelsohn @ 2016-02-03 22:13 UTC (permalink / raw)
  To: Andreas Tobler; +Cc: GCC Patches

this patch fixes bootstrap on FreeBSD PowerPC and hopefully all other
PowerPC targets which do not have float128 support.

The patch itself is a bandaid to survive stage4. We have to come up
with a better solution for FreeBSD and all other soft float targets
which do not support float128.

The patch was tested by Michael Meissner on different POWER machines.

Ok to commit to trunk?

TIA,
Andreas

2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>

PR bootstrap/69611
* config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
__FLOAT128__ to compile only for __float128 capable targets.


Okay.

Thanks, David

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] bootstrap/69611
@ 2016-02-03 21:41 Andreas Tobler
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Tobler @ 2016-02-03 21:41 UTC (permalink / raw)
  To: GCC Patches

Hi all,

this patch fixes bootstrap on FreeBSD PowerPC and hopefully all other 
PowerPC targets which do not have float128 support.

The patch itself is a bandaid to survive stage4. We have to come up with 
a better solution for FreeBSD and all other soft float targets which do 
not support float128.

The patch was tested by Michael Meissner on different POWER machines.

Ok to commit to trunk?

TIA,
Andreas

2016-02-03  Andreas Tobler  <andreast@gcc.gnu.org>

	PR bootstrap/69611
	* config/rs6000/sfp-machine.h: Guard __sfp_exceptions with
	__FLOAT128__ to compile only for __float128 capable targets.

Index: config/rs6000/sfp-machine.h
===================================================================
--- config/rs6000/sfp-machine.h	(revision 233109)
+++ config/rs6000/sfp-machine.h	(working copy)
@@ -110,7 +110,7 @@
     floating point on pre-ISA 3.0 machines without the IEEE 128-bit 
floating
     point support.  */

-#ifndef __NO_FPRS__
+#ifdef __FLOAT128__
  #define ISA_BIT(x) (1LL << (63 - x))

  /* Use the same bits of the FPSCR.  */
@@ -151,7 +151,7 @@
    } while (0)

  # define FP_ROUNDMODE	(_fpscr & FP_RND_MASK)
-#endif	/* !__NO_FPRS__ */
+#endif	/* !__FLOAT128__ */

  /* Define ALIASNAME as a strong alias for NAME.  */
  # define strong_alias(name, aliasname) _strong_alias(name, aliasname)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-03 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-03 22:13 [PATCH] bootstrap/69611 David Edelsohn
  -- strict thread matches above, loose matches on Subject: below --
2016-02-03 21:41 Andreas Tobler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).