i386-protos.h (ix86_expand_round): Declare.
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. From-SVN: r118146
Showing
- gcc/ChangeLog 11 additions, 0 deletionsgcc/ChangeLog
- gcc/config/i386/i386-protos.h 2 additions, 0 deletionsgcc/config/i386/i386-protos.h
- gcc/config/i386/i386.c 125 additions, 0 deletionsgcc/config/i386/i386.c
- gcc/config/i386/i386.md 25 additions, 0 deletionsgcc/config/i386/i386.md
- gcc/testsuite/ChangeLog 4 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.target/i386/math-torture/round.c 15 additions, 0 deletionsgcc/testsuite/gcc.target/i386/math-torture/round.c
Loading
Please register or sign in to comment