This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mainline performance regression (observered on SPARC)


"David S. Miller" <davem@redhat.com> writes:

  >    From: Dan Nicolaescu <dann@godzilla.ICS.UCI.EDU>
  >    Date: Fri, 24 May 2002 13:53:33 -0700
  >    
  >    -mcpu=ultrasparc is v8plus not v9
  >    
  > Check again, -mcpu=ultrasparc is v9.

Hmm, then something is really fishy, look at the assembler command
line:


vino:/tmp> echo 'int main (){}' > t.c
vino:/tmp> gcc t.c -mcpu=ultrasparc -v
Reading specs from /opt/contrib/gcc-3.1/lib/gcc-lib/sparc-sun-solaris2.7/3.1/specs
Configured with: ../gcc-3.1/configure --prefix=/opt/contrib/gcc-3.1 --with-gnu-as --disable-nls --with-gnu-ld --with-as=/opt/contrib/binutils-2.12.1/bin/as --with-ld=/opt/contrib/binutils-2.12.1/bin/ld
Thread model: posix
gcc version 3.1
 /opt/contrib/gcc-3.1/lib/gcc-lib/sparc-sun-solaris2.7/3.1/cc1 -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=1 -D__GNUC_PATCHLEVEL__=0 -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D__PRAGMA_REDEFINE_EXTNAME -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__PRAGMA_REDEFINE_EXTNAME -D__sparc -D__sun -D__unix -Asystem=unix -Asystem=svr4 -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D__sparcv8 -D__SIZE_TYPE__=unsigned int -D__PTRDIFF_TYPE__=int -D__WCHAR_TYPE__=long int -D__WINT_TYPE__=long int -D__GCC_NEW_VARARGS__ -Acpu=sparc -Amachine=sparc t.c -quiet -dumpbase t.c -mcpu=ultrasparc -version -o /var/tmp//ccvfJa4R.s
GNU CPP version 3.1 (cpplib) (sparc ELF)
GNU C version 3.1 (sparc-sun-solaris2.7)
        compiled by GNU C version 3.1.
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/opt/contrib/gcc-3.1/sparc-sun-solaris2.7/include"
#include "..." search starts here:
#include <...> search starts here:
 /opt/contrib/gcc-3.1/include
 /opt/contrib/gcc-3.1/lib/gcc-lib/sparc-sun-solaris2.7/3.1/include
 /usr/include
End of search list.
 /opt/contrib/binutils-2.12.1/bin/as --traditional-format -V -Qy -s -xarch=v8plusa -o /var/tmp//ccAgaiuN.o /var/tmp//ccvfJa4R.s
GNU assembler version 2.12.1 (sparc-sun-solaris2.7) using BFD version 2.12.1
 /opt/contrib/gcc-3.1/lib/gcc-lib/sparc-sun-solaris2.7/3.1/collect2 -V -Y P,/usr/ccs/lib:/usr/lib -Qy /opt/contrib/gcc-3.1/lib/gcc-lib/sparc-sun-solaris2.7/3.1/crt1.o /opt/contrib/gcc-3.1/lib/gcc-lib/sparc-sun-solaris2.7/3.1/crti.o /usr/ccs/lib/values-Xa.o /opt/contrib/gcc-3.1/lib/gcc-lib/sparc-sun-solaris2.7/3.1/crtbegin.o -L/opt/contrib/gcc-3.1/lib/gcc-lib/sparc-sun-solaris2.7/3.1 -L/usr/ccs/bin -L/usr/ccs/lib -L/opt/contrib/gcc-3.1/lib/gcc-lib/sparc-sun-solaris2.7/3.1/../../.. /var/tmp//ccAgaiuN.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh -lc /opt/contrib/gcc-3.1/lib/gcc-lib/sparc-sun-solaris2.7/3.1/crtend.o /opt/contrib/gcc-3.1/lib/gcc-lib/sparc-sun-solaris2.7/3.1/crtn.o
GNU ld version 2.12.1
  Supported emulations:
   elf32_sparc
   elf64_sparc
vino:/tmp> file a.out
a.out:          ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ Required, dynamically linked, not stripped

Any clues? 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]