From a6c9b188f35baa239b99ece2aba5b7f335a5ab0d Mon Sep 17 00:00:00 2001 From: "H.J. Lu" <hongjiu.lu@intel.com> Date: Wed, 18 Jul 2007 22:28:28 +0000 Subject: [PATCH] Makefile.in (D32PBIT_FUNCS): Add _sd_to_tf and _tf_to_sd. 2007-07-18 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (D32PBIT_FUNCS): Add _sd_to_tf and _tf_to_sd. (D64PBIT_FUNCS): Add _dd_to_tf and _tf_to_dd. (D128PBIT_FUNCS): Add _td_to_tf and _tf_to_td. * config/dfp-bit.c: Empty for TFmode conversions. From-SVN: r126735 --- gcc/ChangeLog | 8 ++++++++ gcc/Makefile.in | 11 ++++++----- gcc/config/dfp-bit.c | 9 +++++++++ 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 893789db73fa..eb3e3e447cd6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2007-07-18 H.J. Lu <hongjiu.lu@intel.com> + + * Makefile.in (D32PBIT_FUNCS): Add _sd_to_tf and _tf_to_sd. + (D64PBIT_FUNCS): Add _dd_to_tf and _tf_to_dd. + (D128PBIT_FUNCS): Add _td_to_tf and _tf_to_td. + + * config/dfp-bit.c: Empty for TFmode conversions. + 2007-07-18 Caroline Tice <ctice@apple.com> * var-tracking.c (find_src_status): Check for COND_EXEC insns diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 874c26eac23f..7aa1efbd1e06 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1268,23 +1268,24 @@ D32PBIT_FUNCS = _addsub_sd _div_sd _mul_sd _plus_sd _minus_sd \ _eq_sd _ne_sd _lt_sd _gt_sd _le_sd _ge_sd \ _sd_to_si _sd_to_di _sd_to_usi _sd_to_udi \ _si_to_sd _di_to_sd _usi_to_sd _udi_to_sd \ - _sd_to_sf _sd_to_df _sd_to_xf _sf_to_sd _df_to_sd _xf_to_sd \ + _sd_to_sf _sd_to_df _sd_to_xf _sd_to_tf \ + _sf_to_sd _df_to_sd _xf_to_sd _tf_to_sd \ _sd_to_dd _sd_to_td _unord_sd _conv_sd D64PBIT_FUNCS = _addsub_dd _div_dd _mul_dd _plus_dd _minus_dd \ _eq_dd _ne_dd _lt_dd _gt_dd _le_dd _ge_dd \ _dd_to_si _dd_to_di _dd_to_usi _dd_to_udi \ _si_to_dd _di_to_dd _usi_to_dd _udi_to_dd \ - _dd_to_sf _dd_to_df _dd_to_xf \ - _sf_to_dd _df_to_dd _xf_to_dd \ + _dd_to_sf _dd_to_df _dd_to_xf _dd_to_tf \ + _sf_to_dd _df_to_dd _xf_to_dd _tf_to_dd \ _dd_to_sd _dd_to_td _unord_dd _conv_dd D128PBIT_FUNCS = _addsub_td _div_td _mul_td _plus_td _minus_td \ _eq_td _ne_td _lt_td _gt_td _le_td _ge_td \ _td_to_si _td_to_di _td_to_usi _td_to_udi \ _si_to_td _di_to_td _usi_to_td _udi_to_td \ - _td_to_sf _td_to_df _td_to_xf \ - _sf_to_td _df_to_td _xf_to_td \ + _td_to_sf _td_to_df _td_to_xf _td_to_tf \ + _sf_to_td _df_to_td _xf_to_td _tf_to_td \ _td_to_sd _td_to_dd _unord_td _conv_td # These might cause a divide overflow trap and so are compiled with diff --git a/gcc/config/dfp-bit.c b/gcc/config/dfp-bit.c index af1db1623ec8..b472792c4989 100644 --- a/gcc/config/dfp-bit.c +++ b/gcc/config/dfp-bit.c @@ -37,6 +37,11 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA /* The intended way to use this file is to make two copies, add `#define ' to one copy, then compile both copies and add them to libgcc.a. */ +/* FIXME: This implementation doesn't support TFmode conversions. */ +#if !(defined (L_sd_to_tf) || defined (L_dd_to_tf) \ + || defined (L_td_to_tf) || defined (L_tf_to_sd) \ + || defined (L_tf_to_dd) || defined (L_tf_to_td)) + #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -576,3 +581,7 @@ DFP_UNORD (DFP_C_TYPE arg_a, DFP_C_TYPE arg_b) return (decNumberIsNaN (&arg1) || decNumberIsNaN (&arg2)); } #endif /* L_unord_sd || L_unord_dd || L_unord_td */ + +/* !(L_sd_to_tf || L_dd_to_tf || L_td_to_tf \ + || L_tf_to_sd || L_tf_to_dd || L_tf_to_td) */ +#endif -- GitLab