diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-07 08:21:21 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-10-07 08:21:21 +0000 |
commit | dd28b138b2019f975f5b977996770b430aac4eab (patch) | |
tree | 50fea605915c06125c5fa78a5ba8976b01609226 /gcc/config/pdp11/t-pdp11 | |
parent | 4b581b1858832ce2e613634ef0014eab251cc9e7 (diff) | |
download | gcc-dd28b138b2019f975f5b977996770b430aac4eab.tar.gz |
* t-pdp11: Add MULTILIB support for msoft-float.
* pdp11.h (LEGITIMATE_CONSTANT_P): Fix soft-float case.
* t-pdp11: Add LIB2FUNCS_EXTRA.
* pdp11.c (pdp11_output_function_prologue): Restrict offset to 16bit,
add preceding 0 to the octal constant, rename 'fp' to 'r5', rename
'fldd' to 'ldd', rename 'fstd' to 'std'.
(pdp11_output_function_epilogue): Likewise.
(output_move_quad): Make the comment gas compatible.
(output_ascii): Add preceding 0 to the octal constant.
(print_operand_address): Add pre_modify, post_modify.
(output_addr_const_pdp11): Add preceding 0 to the octal constant.
* pdp11.h (GO_IF_LEGITIMATE_ADDRESS) : Add 'movb' pre_modify case
with the indication of Paul Koning.
(PRINT_OPERAND): Fix floating constant.
* pdp11.md (movdi): Restrict matching pattern.
(movqi): Generalize the matching pattern.
(movdf): Restrict matching pattern.
(zero_extendqihi2): Change constant representation.
(floatsidf2): Fix wrong operands.
(addqi3): Fix wrong instruction name.
(subqi3): Fix wrong instruction name.
(andsi3, andhi3, andqi3): Simplify and fix to use 'bic'.
(xorsi3): Fix wrong insn.
(one_cmplqi2): Add two operand pattern.
(lsrsi3): New.
(negsi2): New.
(call): Add register indirect case.
(mod): Fix wrong subreg.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57886 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/pdp11/t-pdp11')
-rw-r--r-- | gcc/config/pdp11/t-pdp11 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gcc/config/pdp11/t-pdp11 b/gcc/config/pdp11/t-pdp11 index 38bf1473a44..0231a7b38d6 100644 --- a/gcc/config/pdp11/t-pdp11 +++ b/gcc/config/pdp11/t-pdp11 @@ -1 +1,15 @@ TARGET_LIBGCC2_CFLAGS = -O2 -mfloat32 +LIB2FUNCS_EXTRA = $(srcdir)/config/udivmod.c $(srcdir)/config/udivmodsi4.c +# 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 |