egcs at hp-ux8.0
Jan Hubicka
hubicka@horac.ta.jcu.cz
Mon Sep 1 01:12:00 GMT 1997
Hi
I've compiled egcs at hpux8.0 (hp425e with MC-68040 machine) and it works
well, except I had following compilation problems:
I had to change #elif to #else #if since HP-UX cpp complains about unknown
preprocesor dirrective, change %ccr to %cc in m68k.h since HP-UX assembles
don't know about %ccr register, %cc seems to work just fine and
change defaults from MC-68020 with MC-68881 to MC-68040 since 400 series
has this CPU (instead of 300 series, that was detected by configure script)
Note that I had small problem that mset calulation loop sometimes works
well and sometimes crashes with fpu exception, but this does not happends
with native HP-UX compiler nor intel platforms...
Maybe something is wrong with version of assembly file. Doc say that
MC-68010 requires version 1
MC-68020 requires version 2
MC-68020 with MC-68881 requires version 3
But there is nothing about MC-68040... I have outdated docs (for HP-UX 7.5)
but then all other FP programs seems to work. Mset loop always poduces
exception when run first time and then(next time) it works.
I also noticed interesting fact that -m68020-40 works faster than -m68040
at mset caluclation loop wich is IMO quite strange. It produces same
fp exceptions as -m68040
Hope this helps
--
------------------------------------------------------------------------------
Have you browsed my www pages? Look at:
http://www.paru.cas.cz/~hubicka
Koules-the game for Svgalib,X11 and OS/2, Xonix-the game for X11
czech documentation for linux index, original 2D computer art and
funny 100 years old photos and articles are there!
More information about the Gcc
mailing list