config.gcc (s390-*-linux-*, [...]): Add t-dfprules to tmake_file.
authorAndreas Krebbel <krebbel1@de.ibm.com>
Wed, 29 Mar 2006 11:55:53 +0000 (11:55 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Wed, 29 Mar 2006 11:55:53 +0000 (11:55 +0000)
commit4dc19cc052742f88e118458c6036468d0a9bf7a6
treed8d134d3bae1ae04863febb7e4b3e1647676337e
parentf08ac361ee42e760b09453404da81d76a62a68b0
config.gcc (s390-*-linux-*, [...]): Add t-dfprules to tmake_file.

2006-03-29  Andreas Krebbel  <krebbel1@de.ibm.com>

* config.gcc (s390-*-linux-*, s390x-*-linux*): Add t-dfprules to
tmake_file.
* config/s390/s390.c (S390_scalar_mode_supported_p): New function.
(NR_C_MODES): Add TDmode, DDmode and SDmode.
(s390_output_pool_entry, ): Accept MODE_DECIMAL_FLOAT.
(s390_hard_regno_mode_ok): Disallow TDmode in integer regs.
(s390_function_arg_float): Allow SDmode and DDmode values to be
passed in floating point registers.
(s390_function_arg_integer, s390_function_value): Replace MODE_FLOAT
check with SCALAR_FLOAT_MODE_P.
(TARGET_SCALAR_MODE_SUPPORTED_P): Define target macro.

From-SVN: r112491
gcc/ChangeLog
gcc/config.gcc
gcc/config/s390/s390.c