public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH], PR 68404 patch #2 (disable power8/power9 fusion on PowerPC)
@ 2016-02-10 22:42 Michael Meissner
  2016-02-10 22:46 ` Jakub Jelinek
  2016-02-11 21:43 ` [PATCH], PR 68404 patch #3 (fix earlyclobber problem on power8 fusion) Michael Meissner
  0 siblings, 2 replies; 8+ messages in thread
From: Michael Meissner @ 2016-02-10 22:42 UTC (permalink / raw)
  To: gcc-patches, dje.gcc

This patch disables -mcpu=power8/-mtune=power8 from setting -mpower8-fusion and
-mcpu=power9/-mtune=power9 from setting -mpower9-fusion.  I will look at the
earlyclobber that Bernd Schmidt mentioned, but for now it may be safest to just
disable it for GCC 6.0.

I built it on a little endian power8 system, and there were no regressions.  Is
it ok to install?

[gcc]
2016-02-10  Michael Meissner  <meissner@linux.vnet.ibm.com>

	PR target/68404
	* config/rs6000/predicates.md (fusion_gpr_addis): Revert
	2016-02-09 change.

	* config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER): Do not set
	power8/power9 fusion by default.
	(ISA_3_0_MASKS_SERVER): Likewise.

	* config/rs6000/rs6000.c (rs6000_option_override_internal): Remove
	code setting -mpower8-fusion if -mtune=power8 and -mpower9-fusion
	if -mtune=power9.

	* doc/invoke.texi (RS/6000 and PowerPC Options): Document that
	-mpower8-fusion and -mpower9-fusion are not set by default.

[gcc/testsuites]
2016-02-10  Michael Meissner  <meissner@linux.vnet.ibm.com>

	PR target/68404
	* gcc.target/powerpc/fusion.c: Do not assume that -mtune=power8
	sets -mpower8-fusion or -mtune=power9 sets -mpower9-fusion.
	* gcc.target/powerpc/fusion2.c: Likewise.
	* gcc.target/powerpc/fusion3.c: Likewise.

-- 
Michael Meissner, IBM
IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA
email: meissner@linux.vnet.ibm.com, phone: +1 (978) 899-4797

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

end of thread, other threads:[~2016-02-18 18:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-10 22:42 [PATCH], PR 68404 patch #2 (disable power8/power9 fusion on PowerPC) Michael Meissner
2016-02-10 22:46 ` Jakub Jelinek
2016-02-12  0:11   ` David Edelsohn
2016-02-11 21:43 ` [PATCH], PR 68404 patch #3 (fix earlyclobber problem on power8 fusion) Michael Meissner
2016-02-12  0:15   ` David Edelsohn
2016-02-12  0:20     ` Michael Meissner
2016-02-18 16:45   ` [PATCH], PR 68404 patch #4 " Michael Meissner
2016-02-18 18:28     ` David Edelsohn

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).