aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2006-10-29 15:18:24 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2006-10-29 15:18:24 +0000
commitc3a4177fe14190fda53e6a31236dcb8e23cf28f8 (patch)
tree600dc261e4509a381886cd337eccdaf4e4fccd41 /gcc/config.gcc
parent98c58757e67b0d47104439184673d3d468fde83c (diff)
downloadgcc-c3a4177fe14190fda53e6a31236dcb8e23cf28f8.zip
gcc-c3a4177fe14190fda53e6a31236dcb8e23cf28f8.tar.gz
gcc-c3a4177fe14190fda53e6a31236dcb8e23cf28f8.tar.bz2
genopinit.c (optabs): Change lfloor_optab and lceil_optab to conversion optabs.
2006-10-29 Richard Guenther <rguenther@suse.de> * genopinit.c (optabs): Change lfloor_optab and lceil_optab to conversion optabs. * optabs.c (init_optabs): Initialize lfloor_optab and lceil_optab as conversion optab. * optabs.h (enum optab_index): Remove OTI_lfloor and OTI_lceil. (enum convert_optab_index): Add COI_lfloor and COI_lceil. (lfloor_optab, lceil_optab): Adjust defines. * builtins.c (expand_builtin_int_roundingfn): Adjust for lfloor and lceil optabs now being conversion optabs. * config/i386/i386-protos.h (ix86_expand_lfloorceil): Declare. * config/i386/i386.c (ix86_expand_sse_compare_and_jump): New static helper function. (ix86_expand_lfloorceil): New function to expand lfloor and lceil inline. * config/i386/i386.md (lfloor<mode>2): Split into ... (lfloorxf<mode>2): ... x87 variant (lfloor<mode>di2, lfloor<mode>si2): ... and SSE variants using ix86_expand_lfloorceil. (lceil<mode>2, lceilxf<mode>2, lceil<mode>di2, lceil<mode>si2): Likewise. * doc/md.texi (lfloorMN, lceilMN): Document. * gcc.target/i386/math-torture/lfloor.c: New testcase. * gcc.target/i386/math-torture/lceil.c: Likewise. From-SVN: r118143
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions