]> gcc.gnu.org Git - gcc.git/commit
i386-protos.h (ix86_expand_trunc): Declare.
authorRichard Guenther <rguenther@suse.de>
Sun, 29 Oct 2006 16:43:21 +0000 (16:43 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Sun, 29 Oct 2006 16:43:21 +0000 (16:43 +0000)
commit044928d6127efd397fe450718e994768d7caa61e
tree8b6533a6eefd2ae32471956c89d21ee089fbaa2d
parent0f45f0f588d8af6ed4047e0ce4351749b6c0328b
i386-protos.h (ix86_expand_trunc): Declare.

2006-10-29  Richard Guenther  <rguenther@suse.de>

* config/i386/i386-protos.h (ix86_expand_trunc): Declare.
(ix86_expand_truncdf_32): Likewise.
* config/i386/i386.c (ix86_expand_trunc): New function expanding
trunc inline for SSE math and -fno-trapping-math and if not
optimizing for size.
(ix86_expand_truncdf_32): Same for DFmode on 32bit archs.
* config/i386/i386.md (btruncsf2, btruncdf2): Adjust expanders
for expanding btrunc inline for SSE math.

* gcc.target/i386/math-torture/trunc.c: New testcase.

From-SVN: r118148
gcc/ChangeLog
gcc/config/i386/i386-protos.h
gcc/config/i386/i386.c
gcc/config/i386/i386.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/math-torture/trunc.c [new file with mode: 0644]
This page took 0.061024 seconds and 5 git commands to generate.