Commit ba181049 by Uros Bizjak

config.host (ia64*-*-linux*): Add t-softfp to tmake_file.

	* config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
	* config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.

From-SVN: r144138
parent 3f238e8b
...@@ -18,14 +18,13 @@ ...@@ -18,14 +18,13 @@
2009-02-12 H.J. Lu <hongjiu.lu@intel.com> 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
* config.gcc: Add ia64/t-fprules-softfp soft-fp/t-softfp to * config.gcc (ia64*-*-linux*): Add ia64/t-fprules-softfp and
tmake_file for ia64*-*-linux*. soft-fp/t-softfp to tmake_file.
* config/ia64/ia64.c (ia64_soft_fp_init_libfuncs): New. * config/ia64/ia64.c (ia64_soft_fp_init_libfuncs): New.
(ia64_expand_compare): Use HPUX library for TFmode only for (ia64_expand_compare): Use HPUX library for TFmode only for HPUX.
HPUX. (ia64_builtins) [IA64_BUILTIN_COPYSIGNQ, IA64_BUILTIN_FABSQ,
(ia64_builtins): Add IA64_BUILTIN_COPYSIGNQ, IA64_BUILTIN_FABSQ IA64_BUILTIN_INFQ]: New.
and IA64_BUILTIN_INFQ.
(ia64_init_builtins): Initialize __builtin_infq, (ia64_init_builtins): Initialize __builtin_infq,
__builtin_fabsq and __builtin_copysignq if not HPUX. __builtin_fabsq and __builtin_copysignq if not HPUX.
(ia64_expand_builtin): Handle IA64_BUILTIN_COPYSIGNQ, (ia64_expand_builtin): Handle IA64_BUILTIN_COPYSIGNQ,
...@@ -46,8 +45,8 @@ ...@@ -46,8 +45,8 @@
(TF_SIZE): Likewise. (TF_SIZE): Likewise.
(TARGET_INIT_LIBFUNCS): Likewise. (TARGET_INIT_LIBFUNCS): Likewise.
* config/ia64/t-glibc: Add $(srcdir)/config/ia64/libgcc-glibc.ver * config/ia64/t-glibc (SHLINB_MAPFILES):
to SHLIB_MAPFILES. Add $(srcdir)/config/ia64/libgcc-glibc.ver,
2009-02-12 H.J. Lu <hongjiu.lu@intel.com> 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
......
2009-02-12 Uros Bizjak <ubizjak@gmail.com>
* config.host (ia64*-*-linux*): Add t-softfp to tmake_file.
* config/ia64/tf-signs.c (__copysigntf3, __fabstf2): Prototype.
2009-02-12 H.J. Lu <hongjiu.lu@intel.com> 2009-02-12 H.J. Lu <hongjiu.lu@intel.com>
* config.host: Add ia64/t-fprules-softfp ia64/t-softfp-compat * config.host (ia64*-*-linux*): Add ia64/t-fprules-softfp and
to tmake_file for ia64*-*-linux*. ia64/t-softfp-compat to tmake_file.
* Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*. * Makefile.in (gen-hide-list): Ignore .*_compat and .*@.*.
......
...@@ -350,7 +350,7 @@ ia64*-*-freebsd*) ...@@ -350,7 +350,7 @@ ia64*-*-freebsd*)
;; ;;
ia64*-*-linux*) ia64*-*-linux*)
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o" extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
tmake_file="ia64/t-ia64 ia64/t-fprules-softfp ia64/t-softfp-compat" tmake_file="ia64/t-ia64 t-softfp ia64/t-fprules-softfp ia64/t-softfp-compat"
;; ;;
ia64*-*-hpux*) ia64*-*-hpux*)
;; ;;
......
...@@ -38,6 +38,9 @@ union _FP_UNION_Q ...@@ -38,6 +38,9 @@ union _FP_UNION_Q
} bits __attribute__((packed)); } bits __attribute__((packed));
}; };
__float128 __copysigntf3 (__float128, __float128);
__float128 __fabstf2 (__float128);
__float128 __float128
__copysigntf3 (__float128 a, __float128 b) __copysigntf3 (__float128 a, __float128 b)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment