public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/49715] Could do more efficient unsigned-to-float to conversions based on range information Date: Mon, 25 Jul 2011 08:31:00 -0000 [thread overview] Message-ID: <bug-49715-4-oeIuavsn0J@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-49715-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49715 --- Comment #5 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-07-25 08:30:50 UTC --- Author: rguenth Date: Mon Jul 25 08:30:46 2011 New Revision: 176735 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=176735 Log: 2011-07-25 Richard Guenther <rguenther@suse.de> PR tree-optimization/49715 * tree-vrp.c: Include expr.h and optabs.h. (range_fits_type_): New function. (simplify_float_conversion_using_ranges): Likewise. (simplify_stmt_using_ranges): Call it. * Makefile.in (tree-vrp.o): Add $(EXPR_H) and $(OPTABS_H) dependencies. * optabs.c (can_float_p): Export. * optabs.h (can_float_p): Declare. * gcc.target/i386/pr49715-1.c: New testcase. * gcc.target/i386/pr49715-2.c: Likewise. Added: trunk/gcc/testsuite/gcc.target/i386/pr49715-1.c trunk/gcc/testsuite/gcc.target/i386/pr49715-2.c Modified: trunk/gcc/ChangeLog trunk/gcc/Makefile.in trunk/gcc/optabs.c trunk/gcc/optabs.h trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-vrp.c
prev parent reply other threads:[~2011-07-25 8:31 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-07-12 11:56 [Bug target/49715] New: " sgunderson at bigfoot dot com 2011-07-12 12:18 ` [Bug tree-optimization/49715] " rguenth at gcc dot gnu.org 2011-07-12 12:51 ` rguenth at gcc dot gnu.org 2011-07-12 15:21 ` sgunderson at bigfoot dot com 2011-07-12 15:22 ` rguenther at suse dot de 2011-07-25 8:31 ` rguenth at gcc dot gnu.org 2011-07-25 8:31 ` rguenth at gcc dot gnu.org [this message]
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-49715-4-oeIuavsn0J@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).