summaryrefslogtreecommitdiff
path: root/gcc/libgcc2.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenth@gcc.gnu.org>2005-02-09 20:58:13 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2005-02-09 20:58:13 +0000
commit17684d462957afd5011d71db40e9a96c63225d2c (patch)
tree347cc9d98b8029f4811e05bd8d3f3df4c5a4ced7 /gcc/libgcc2.h
parent8ca3515fbe765aef349c8d6f848539bf11d3d6df (diff)
downloadgcc-17684d462957afd5011d71db40e9a96c63225d2c.tar.gz
re PR middle-end/19402 (__builtin_powi? still missing)
2005-02-09 Richard Guenther <rguenth@gcc.gnu.org> PR middle-end/19402 * builtins.def: New __builtin_powi[lf]. * builtins.c (mathfn_built_in): Handle BUILT_IN_POWI. (expand_builtin_powi): New function. (expand_builtin): Dispatch to expand_builtin_powi. * libgcc2.h: Add prototypes for __builtin_powi[lf]. * libgcc2.c: Add __builtin_powi[lf] implementation. * mklibgcc.in: Add __builtin_powi[lf] to lib2funcs. * optabs.h: Add powi_optab. * optabs.c (init_optabs): Initialize powi_optab. * doc/extend.texi: Document __builtin_powi[lf]. * gcc.dg/pr19402-1.c: New testcase. * gcc.dg/pr19402-2.c: likewise. From-SVN: r94774
Diffstat (limited to 'gcc/libgcc2.h')
-rw-r--r--gcc/libgcc2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/libgcc2.h b/gcc/libgcc2.h
index f6b8fa43aef..025dd6f5aef 100644
--- a/gcc/libgcc2.h
+++ b/gcc/libgcc2.h
@@ -305,18 +305,22 @@ extern UWtype __fixunsdfSI (DFtype);
extern UWtype __fixunssfSI (SFtype);
extern DWtype __fixunsdfDI (DFtype);
extern DWtype __fixunssfDI (SFtype);
+extern SFtype __powisf2 (SFtype, Wtype);
+extern DFtype __powidf2 (DFtype, Wtype);
#if LIBGCC2_LONG_DOUBLE_TYPE_SIZE == 80
extern DWtype __fixxfdi (XFtype);
extern DWtype __fixunsxfDI (XFtype);
extern XFtype __floatdixf (DWtype);
extern UWtype __fixunsxfSI (XFtype);
+extern XFtype __powixf2 (XFtype, Wtype);
#endif
#if LIBGCC2_LONG_DOUBLE_TYPE_SIZE == 128
extern DWtype __fixunstfDI (TFtype);
extern DWtype __fixtfdi (TFtype);
extern TFtype __floatditf (DWtype);
+extern TFtype __powitf2 (TFtype, Wtype);
#endif
#endif /* BITS_PER_UNIT == 8 */