[PATCH] Fix PR c/5972 (Sun as using different cmov syntax on IA-32)

Rainer Orth ro@TechFak.Uni-Bielefeld.DE
Wed Mar 20 11:29:00 GMT 2002


Richard Henderson writes:

> On Mon, Mar 18, 2002 at 01:41:37PM +0100, Jakub Jelinek wrote:
> > 	* config/i386/i386.md (movdicc_c_rex64, movsicc_noc, movhicc_noc,
> > 	movsfcc_1, movdfcc_1): Add %O2.
> > 	* config/i386/i386.c (print_operand): Handle %ON.
> > 	Print . before float condition codes in Sun as cmov syntax.
> > 	* config/i386/sol2.h (CMOV_SUN_AS_SYNTAX): Define for Sun as.
> > 	* config.gcc (i[34567]86-*-solaris2*): Remove comment which is
> > 	no longer true.
> 
> Ok when it gets verified.

After configuring for i686-pc-solaris2.8 and building with

	make BOOT_CFLAGS='-g -O2 -march=i686' bootstrap

the bootstrap completed without regressions in gcc 3.1 20020313 with Tom's
patch for bootstrap/5948

	http://gcc.gnu.org/ml/gcc-patches/2002-03/msg01007.html

This patch is necessary to allow the bootstrap on Solaris 2/Intel to
complete at all, until a proper fix has been developed.

Testsuite results are at

	http://gcc.gnu.org/ml/gcc-testresults/2002-03/msg00477.html

As expected, this fixed gcc.dg/980312-1.c and gcc.dg/980313-1.c.

	Rainer



More information about the Gcc-patches mailing list