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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@118148 138bc75d-0d04-0410-961f-82ee72b054a4
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 94 additions, 0 deletionsgcc/config/i386/i386.c
- gcc/config/i386/i386.md 41 additions, 16 deletionsgcc/config/i386/i386.md
- gcc/testsuite/ChangeLog 4 additions, 0 deletionsgcc/testsuite/ChangeLog
- gcc/testsuite/gcc.target/i386/math-torture/trunc.c 14 additions, 0 deletionsgcc/testsuite/gcc.target/i386/math-torture/trunc.c
Loading
Please register or sign in to comment