rs6000-protos.h (rs6000_emit_swrsqrtsf): Declare.
authorDavid Edelsohn <edelsohn@gnu.org>
Mon, 24 Sep 2007 15:39:18 +0000 (15:39 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Mon, 24 Sep 2007 15:39:18 +0000 (11:39 -0400)
commit9c78b944a868e858864f058edc672a334191cc2a
treecba47602080f01479272aef009c94899cd5da45f
parent2dff8956e37c835db601f922cadc5b1229a0a6bd
rs6000-protos.h (rs6000_emit_swrsqrtsf): Declare.

* config/rs6000/rs6000-protos.h (rs6000_emit_swrsqrtsf): Declare.
* config/rs6000/rs6000.opt (swdiv): Change option to ...
(recip): this.
* config/rs6000/rs6000.c (rs6000_builtin_reciprocal): New
function.
(TARGET_BUILTIN_RECIPROCAL): Use it.
(rs6000_builtin_expand): Expand recip, recipf, and rsqrtf.
(rs6000_init_builtins): Initialize recip, recipf, and rsqrtf.
(rs6000_emit_swrsqrtsf): New.
* config/rs6000/rs6000.h (rs6000_builtins): Add recip, recipf, and
rsqrtf.
* config/rs6000/rs6000.md (UNSPEC_RSQRT): Define.
(divsf3): Remove swdiv support.
(recipsf3): New.
(rsqrtsf2): New.
(rsqrt_internal1): New.
(divdf3): Remove swdiv support.
(reciptdf3): New.

From-SVN: r128719
gcc/ChangeLog
gcc/config/rs6000/rs6000-protos.h
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h
gcc/config/rs6000/rs6000.md
gcc/config/rs6000/rs6000.opt