svn commit: r316807 - head/contrib/gcc/config/rs6000

Justin Hibbits jhibbits at FreeBSD.org
Fri Apr 14 03:20:35 UTC 2017


Author: jhibbits
Date: Fri Apr 14 03:20:34 2017
New Revision: 316807
URL: https://svnweb.freebsd.org/changeset/base/316807

Log:
  Default powerpcspe processor target to 8540
  
  This prevents internal compiler errors when -mcpu is omitted.

Modified:
  head/contrib/gcc/config/rs6000/freebsdspe.h

Modified: head/contrib/gcc/config/rs6000/freebsdspe.h
==============================================================================
--- head/contrib/gcc/config/rs6000/freebsdspe.h	Fri Apr 14 02:33:26 2017	(r316806)
+++ head/contrib/gcc/config/rs6000/freebsdspe.h	Fri Apr 14 03:20:34 2017	(r316807)
@@ -28,6 +28,7 @@
 #undef	TARGET_DEFAULT
 #define	TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS | MASK_STRICT_ALIGN)
 
+#undef PROCESSOR_DEFAULT
 #undef TARGET_SPE_ABI
 #undef TARGET_SPE
 #undef TARGET_E500
@@ -36,6 +37,7 @@
 #undef TARGET_E500_SINGLE
 #undef TARGET_E500_DOUBLE
 
+#define PROCESSOR_DEFAULT PROCESSOR_PPC8540
 #define TARGET_SPE_ABI rs6000_spe_abi
 #define TARGET_SPE rs6000_spe
 #define TARGET_E500 (rs6000_cpu == PROCESSOR_PPC8540)


More information about the svn-src-head mailing list