This is the mail archive of the gcc-patches@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] |
In addition to the previous pdp11 patch, I revised the patch to support -msoft-float and MULTILIB compilation. The difference between the patches is small as following. Attached patch is against gcc-3.2 including the previous modification. Regards, -- Naohiko Shimizu Dept. Communications Engineering/Tokai University 1117 Kitakaname Hiratsuka 259-1292 Japan TEL.+81-463-58-1211(ext. 4084) FAX.+81-463-58-8320 ---------------------------------------------------------------- $ diff gcc-3.2-pdp11-021005.patch gcc-3.2-pdp11-020913.patch 3,7c3,4 < +++ gcc-3.2-pdp11port/ChangeLog Sat Oct 5 01:41:51 2002 < @@ -1,3 +1,39 @@ < +2002-10-05 Naohiko Shimizu <nshimizu@keyaki.cc.u-tokai.ac.jp> < + * t-pdp11: add MULTILIB support for msoft-float < + * pdp11.h (LEGITIMATE_CONSTANT_P): fix soft-float case. --- > +++ gcc-3.2-pdp11port/ChangeLog Fri Sep 13 12:22:53 2002 > @@ -1,3 +1,36 @@ 46c43 < +++ gcc-3.2-pdp11port/gcc/config/pdp11/pdp11.c Sat Oct 5 00:48:42 2002 --- > +++ gcc-3.2-pdp11port/gcc/config/pdp11/pdp11.c Fri Sep 13 11:21:16 2002 216c213 < +++ gcc-3.2-pdp11port/gcc/config/pdp11/pdp11.h Sat Oct 5 00:51:08 2002 --- > +++ gcc-3.2-pdp11port/gcc/config/pdp11/pdp11.h Thu Sep 12 12:25:47 2002 225,233d221 < @@ -717,7 +718,7 @@ < /* Nonzero if the constant value X is a legitimate general operand. < It is given that X satisfies CONSTANT_P or is a CONST_DOUBLE. */ < < -#define LEGITIMATE_CONSTANT_P(X) (1) < +#define LEGITIMATE_CONSTANT_P(X) (TARGET_FPU? 1: !(GET_CODE(X) == CONST_DOUBLE)) < < /* The macros REG_OK_FOR..._P assume that the arg is a REG rtx < and check its validity for a certain class. 275c263 < +++ gcc-3.2-pdp11port/gcc/config/pdp11/pdp11.md Sat Oct 5 00:48:42 2002 --- > +++ gcc-3.2-pdp11port/gcc/config/pdp11/pdp11.md Fri Sep 13 12:41:26 2002 579,580c567,568 < +++ gcc-3.2-pdp11port/gcc/config/pdp11/t-pdp11 Sat Oct 5 01:33:54 2002 < @@ -1 +1,15 @@ --- > +++ gcc-3.2-pdp11port/gcc/config/pdp11/t-pdp11 Wed Sep 11 11:50:24 2002 > @@ -1 +1,2 @@ 583,595d570 < +# floating point emulation libraries < + < +FPBIT = fp-bit.c < +DPBIT = dp-bit.c < + < +fp-bit.c: $(srcdir)/config/fp-bit.c < + echo '#define FLOAT' > fp-bit.c < + cat $(srcdir)/config/fp-bit.c >> fp-bit.c < + < +dp-bit.c: $(srcdir)/config/fp-bit.c < + cat $(srcdir)/config/fp-bit.c > dp-bit.c < + < +MULTILIB_OPTIONS = msoft-float
Attachment:
gcc-3.2-pdp11-021005.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |