diff options
author | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-09 20:58:13 +0000 |
---|---|---|
committer | rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-09 20:58:13 +0000 |
commit | 757c219d39633206faa75b5b10219b6326a5f4d4 (patch) | |
tree | 347cc9d98b8029f4811e05bd8d3f3df4c5a4ced7 /gcc/libgcc-std.ver | |
parent | 8f385311c8ec00ba494c7a31960f296d421cfded (diff) | |
download | gcc-757c219d39633206faa75b5b10219b6326a5f4d4.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94774 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/libgcc-std.ver')
-rw-r--r-- | gcc/libgcc-std.ver | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/libgcc-std.ver b/gcc/libgcc-std.ver index db68ea6ef94..b701fcf9533 100644 --- a/gcc/libgcc-std.ver +++ b/gcc/libgcc-std.ver @@ -233,3 +233,12 @@ GCC_3.4.4 { __negvti2 __subvti3 } + +%inherit GCC_4.0.0 GCC_3.4.4 +GCC_4.0.0 { + # libgcc2 __builtin_powi helpers. + __powisf2 + __powidf2 + __powixf2 + __powitf2 +}
\ No newline at end of file |