]> gcc.gnu.org Git - gcc.git/commit
builtins.c (expand_builtin_copysign): New.
authorRichard Henderson <rth@redhat.com>
Fri, 28 Jan 2005 00:55:07 +0000 (16:55 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 28 Jan 2005 00:55:07 +0000 (16:55 -0800)
commit046625fab2932bdc6827d9abdd895824dfbc80eb
tree3611918a36fd9acca7d65920e977e8e47fd831c5
parent17a7d6d75a9f752c68a64c1a4f1de8e11b8d3384
builtins.c (expand_builtin_copysign): New.

        * builtins.c (expand_builtin_copysign): New.
        (expand_builtin): Call it.
        * genopinit.c (optabs): Add copysign_optab.
        * optabs.c (init_optabs): Initialize it.
        (expand_copysign): New.
        * optabs.h (OTI_copysign, copysign_optab): New.
        (expand_copysign): Declare.

        * config/alpha/alpha.md (UNSPEC_COPYSIGN): New.
        (copysignsf3, ncopysignsf3, copysigndf3, ncopysigndf3): New.

        * config/i386/i386.c (ix86_build_signbit_mask): Split from ...
        (ix86_expand_fp_absneg_operator): ... here.
        (ix86_split_copysign): New.
        * config/i386/i386-protos.h: Update.
        * config/i386/i386.md (UNSPEC_COPYSIGN): New.
        (copysignsf3, copysigndf3): New.

        * config/ia64/ia64.md (UNSPEC_COPYSIGN): New.
        (copysignsf3, ncopysignsf3): New.
        (copysigndf3, ncopysigndf3): New.
        (copysignxf3, ncopysignxf3): New.
        * config/ia64/ia64.c (rtx_needs_barrier): Handle UNSPEC_COPYSIGN.

From-SVN: r94357
12 files changed:
gcc/ChangeLog
gcc/builtins.c
gcc/config/alpha/alpha.md
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/config/ia64/ia64.c
gcc/config/ia64/ia64.md
gcc/genopinit.c
gcc/optabs.c
gcc/optabs.h
gcc/testsuite/gcc.c-torture/execute/ieee/copysign1.c [new file with mode: 0644]
This page took 0.060692 seconds and 5 git commands to generate.