Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2017 03:20:34 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r316807 - head/contrib/gcc/config/rs6000
Message-ID:  <201704140320.v3E3KY03089787@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704140320.v3E3KY03089787>