diff options
author | Janis Johnson <janis@gcc.gnu.org> | 2007-04-05 22:10:28 +0000 |
---|---|---|
committer | Janis Johnson <janis@gcc.gnu.org> | 2007-04-05 22:10:28 +0000 |
commit | 44aea9acaba6da791facb79cf2a7e49de9c796a0 (patch) | |
tree | c38a91fbd5bfd1088c8fd8957c1e2fde0ab02b01 /gcc/builtins.c | |
parent | 27120a5993456da95c4ec3d4a55a7774b9b0d6b4 (diff) | |
download | gcc-44aea9acaba6da791facb79cf2a7e49de9c796a0.zip gcc-44aea9acaba6da791facb79cf2a7e49de9c796a0.tar.gz gcc-44aea9acaba6da791facb79cf2a7e49de9c796a0.tar.bz2 |
extend.texi (Other Builtins): Add decimal float variants of signbit.
* doc/extend.texi (Other Builtins): Add decimal float variants
of signbit.
* builtins.def: Ditto.
* builtins.c (expand_builtin): Ditto.
testsuite/
* gcc.dg/dfp/signbit-1.c
* gcc.dg/dfp/signbit-2.c
M gcc/doc/extend.texi
M gcc/builtins.c
M gcc/ChangeLog
A gcc/testsuite/gcc.dg/dfp/signbit-2.c
A gcc/testsuite/gcc.dg/dfp/signbit-1.c
M gcc/testsuite/ChangeLog
M gcc/builtins.def
From-SVN: r123528
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r-- | gcc/builtins.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c index 989b8d7..498aea6 100644 --- a/gcc/builtins.c +++ b/gcc/builtins.c @@ -5553,7 +5553,8 @@ expand_builtin_adjust_trampoline (tree exp) return tramp; } -/* Expand a call to the built-in signbit, signbitf or signbitl function. +/* Expand a call to the built-in signbit, signbitf, signbitl, signbitd32, + signbitd64, or signbitd128 function. Return NULL_RTX if a normal call should be emitted rather than expanding the function in-line. EXP is the expression that is a call to the builtin function; if convenient, the result should be placed in TARGET. */ @@ -6490,6 +6491,9 @@ expand_builtin (tree exp, rtx target, rtx subtarget, enum machine_mode mode, break; CASE_FLT_FN (BUILT_IN_SIGNBIT): + case BUILT_IN_SIGNBITD32: + case BUILT_IN_SIGNBITD64: + case BUILT_IN_SIGNBITD128: target = expand_builtin_signbit (exp, target); if (target) return target; |