pdp11-modes.def: Add RESET_FLOAT_FORMAT calls.
authorPaul Koning <pkoning@equallogic.com>
Tue, 3 Feb 2004 17:36:02 +0000 (17:36 +0000)
committerPaul Koning <pkoning@gcc.gnu.org>
Tue, 3 Feb 2004 17:36:02 +0000 (12:36 -0500)
commite621b5885a6108a671b093bcb4770e5020e92f4a
treecc274592d7165e286fc83149f4f969fd0056e0e1
parentb6d3cb37ef676c2439fdf9498e4dbe8042fb3c6a
pdp11-modes.def: Add RESET_FLOAT_FORMAT calls.

* config/pdp11/pdp11-modes.def: Add RESET_FLOAT_FORMAT calls.
* config/pdp11/pdp11-protos.h (legitimate_const_double_p): Add.
* config/pdp11/pdp11.c (encode_pdp11_f, decode_pdp11_f,
encode_pdp11_d, decode_pdp11_d): New functions to handle PDP11
floating point format.
(pdp11_f_format, pdp11_d_format): New real_format descriptors for
the above functions.
(output_move_quad): Output float values in correct target format.
(legitimate_const_double_p): New function.
* config/pdp11/pdp11.h: Fix typos.
(FLOAT_WORDS_BIG_ENDIAN): Add definition.
(TARGET_FLOAT_FORMAT): Ditto.
(pdp11_f_format, pdp11_d_format): Add external declarations.
(MAX_REGS_PER_ADDRESS): Corrected.
(LEGITIMATE_CONSTANT_P): Use legitimate_const_double_p().
(PRINT_OPERAND): Output float literals in target format.

From-SVN: r77180
gcc/ChangeLog
gcc/config/pdp11/pdp11-modes.def
gcc/config/pdp11/pdp11-protos.h
gcc/config/pdp11/pdp11.c
gcc/config/pdp11/pdp11.h