-mcpu=ultrasparc optimization

Jakub Jelinek jj@sunsite.ms.mff.cuni.cz
Fri Jun 25 08:19:00 GMT 1999


On Fri, Jun 25, 1999 at 10:11:47AM -0500, Brian Ford wrote:
> In light of all the Solaris bug reports recently closed by Jeff for
> gcc-2.95, I have two questions.
> 
> Does -mcpu=ultrasparc work reliably now, or are there any known bugs?  I
> know several internal compiler errors were present with -O2
> -mcpu=ultrasparc in egcs-1.1.1 and egcs-1.1.2.  I'd like to know if I can
> make this the default for my future compiler builds.  I guess I'll go
> ahead and try it.  I was just looking for some preliminary feedback before
> I spent the time.

David Miller rewrote a huge part of the Sparc backend between egcs-1.1.x and
gcc-2.95, so sparc problems you saw in older egcs releases will probably not apply
to 2.95. I'm using -mcpu=ultrasparc a lot (though on linux).

> 
> What is the state of the Sparc v9 (ie. 64 bit) code?  Has any progress
> been made?

gcc-2.95 will miscompile a lot of things on v9. I'm working on fixing it but
a) it will take some time still
b) won't make it obviously into 2.95

Cheers,
    Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
UltraLinux  |  http://ultra.linux.cz/  |  http://ultra.penguin.cz/
Linux version 2.3.6 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________


More information about the Gcc mailing list