trq@moose.cita.toronto.edu (Tom Quinn) (10/08/88)
There is no cpp definition to distinguish compiling for the 68881 or the FPA. This makes it hard to have defines to use the special instructions for the FPA. Here is a proposed fix to tm-sun3.h: *** /tmp/,RCSt1a26228 Sat Oct 8 12:23:19 1988 --- tm-sun3.h Sat Oct 8 12:17:56 1988 *************** *** 10,16 #if TARGET_DEFAULT & 0102 /* m68881 or mfpa is the default */ ! #define CPP_SPEC "%{!msoft-float:-D__HAVE_68881__} \ %{m68000:-Dmc68010}%{mc68000:-Dmc68010}%{!mc68000:%{!m68000:-Dmc68020}}" #else /* msoft-float is the default */ --- 10,16 ----- #if TARGET_DEFAULT & 0102 /* m68881 or mfpa is the default */ ! #define CPP_SPEC "%{!msoft-float:-D__HAVE_68881__} %{mfpa:-D__HAVE_FPA__} \ %{m68000:-Dmc68010}%{mc68000:-Dmc68010}%{!mc68000:%{!m68000:-Dmc68020}}" #else /* msoft-float is the default */ Tom Quinn Canadian Institute for Theoretical Astrophysics trq@moose.cita.toronto.edu SOON TO BE trq@moose.cita.utoronto.ca UUCP - decvax!utgpu!moose!trq BITNET - quinn@utorphys.bitnet ARPA - trq%moose.cita.toronto.edu@relay.cs.net