This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [basic-improvements] Massive SPEC2000 failures
- From: Jan Hubicka <jh at suse dot cz>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: gcc at gcc dot gnu dot org, Jan Hubicka <jh at suse dot cz>
- Date: Wed, 4 Dec 2002 15:52:15 +0100
- Subject: Re: [basic-improvements] Massive SPEC2000 failures
- References: <20021204144813.GA10863@tornado.toronto.redhat.com>
> Starting on 2002-11-28 we have started failing to build a good
> number of SPEC2000 tests with -march=pentium4: gzip, gcc, crafty,
> parser, perlbmk, gap, bzip2, mesa and art.
>
> We seem to be emitting bogus operands for cmovb and others. An
> example from 164.gzip:
>
> -----------------------------------------------------------------------------
> /home/dnovillo/perf/sbox/bib/local/inst/lib/gcc-lib/i686-pc-linux-gnu/3.4-bi/cc1 -quiet -v -D__GNUC__=3 -D__GNUC_MINOR__=4 -D__GNUC_PATCHLEVEL__=0 trees.c -quiet -dumpbase trees.c -march=pentium4 -auxbase-strip trees.o -O2 -version -o /tmp/cchr6QFS.s
> GNU C version 3.4-bi 20021115 (experimental) (i686-pc-linux-gnu)
> compiled by GNU C version 3.4-bi 20021115 (experimental).
> ignoring nonexistent directory "/home/dnovillo/perf/sbox/bib/local/inst/i686-pc-linux-gnu/include"
> #include "..." search starts here:
> #include <...> search starts here:
> /usr/local/include
> /home/dnovillo/perf/sbox/bib/local/inst/include
> /home/dnovillo/perf/sbox/bib/local/inst/lib/gcc-lib/i686-pc-linux-gnu/3.4-bi/include
> /usr/include
> End of search list.
> as -V -Qy -o trees.o /tmp/cchr6QFS.s
> GNU assembler version 2.13 (i686-pc-linux-gnu) using BFD version 2.13 20021029
> /tmp/cchr6QFS.s: Assembler messages:
> /tmp/cchr6QFS.s:700: Error: suffix or operands invalid for `cmovb'
> specmake: *** [trees.o] Error 1
> -----------------------------------------------------------------------------
>
> Jan, this looks like your doing :)
I will fix this shortly. It works for -march=athlon as the cmov always
gets promoted to 32bit, but not for -march=pentium4 as we don't do the
promotion. This is also bug, I will fix both.
Thanks!
Honza