[PATCH, v8] Vectorized _cpp_clean_line

Rainer Orth ro@CeBiTec.Uni-Bielefeld.DE
Mon Aug 23 18:33:00 GMT 2010


Richard Henderson <rth@redhat.com> writes:

> Tested on {i686,x86_64,ppc64,ia64}-linux.  On the
> ppc64 box, I used BOOT_CFLAGS with -mcpu=G5 in order
> to enable the Altivec path.

Just returned from a 3-week vacation and found Solaris/x86 bootstrap
broken by this patch in two different ways:

* On Solaris 8 with Sun as, there's no SSE2 support, so we get errors
  assembling lex.s:

Assembler: lex.c
        "lex.s", line 869 : Illegal mnemonic
        "lex.s", line 869 : Syntax error
        "lex.s", line 869 : Illegal mnemonic
  [...]

	movdqa	repl_chars, %xmm6

  Even when using gas instead, cc1 dies with SIGILL since Solaris 8
  cannot execute SSE/SSE2 instructions at all.

* On Solaris 10 with Sun as, cc1 (and the other backends) are tagged as
  requiring SSE4.2, so ld.so.1 refuses to execute cc1 on a machine that
  lacks the necessary hardware.   This could be fixed like

	http://gcc.gnu.org/ml/gcc-patches/2010-02/msg00985.html

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University



More information about the Gcc-patches mailing list