This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r118146 - in /trunk/gcc: ChangeLog config/i386/...
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Sun, 29 Oct 2006 16:33:37 -0000
- Subject: r118146 - in /trunk/gcc: ChangeLog config/i386/...
Author: rguenth
Date: Sun Oct 29 16:33:36 2006
New Revision: 118146
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=118146
Log:
2006-10-29 Richard Guenther <rguenther@suse.de>
* config/i386/i386-protos.h (ix86_expand_round): Declare.
(ix86_expand_rounddf_32): Likewise.
* config/i386/i386.c (ix86_expand_round): New function expanding
round inline for SSE math and -fno-trapping-math and if not
optimizing for size.
(ix86_expand_rounddf_32): Same for DFmode on 32bit archs.
* config/i386/i386.md (rounddf2, roundsf2): New pattern expanding
round via ix86_expand_round.
* gcc.target/i386/math-torture/round.c: New testcase.
Added:
trunk/gcc/testsuite/gcc.target/i386/math-torture/round.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386-protos.h
trunk/gcc/config/i386/i386.c
trunk/gcc/config/i386/i386.md
trunk/gcc/testsuite/ChangeLog