public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/46888] missed optimization of zero_extract with constant inputs Date: Tue, 13 Nov 2012 01:19:00 -0000 [thread overview] Message-ID: <bug-46888-4-D0O6ow84iY@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-46888-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46888 --- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-11-13 01:18:52 UTC --- http://gcc.gnu.org/ml/gcc-patches/2012-11/msg00952.html Will improve the testcase at the tree level for little-endian: _4 = (unsigned char) a_3(D); _5 = (<unnamed-unsigned:5>) _4; BIT_FIELD_REF <D.1727, 10, 0> = 65; D.1727.c = 3; D.1727.d = _5; return D.1727; And will fix it on big-endian: D.1354_2 = (unsigned char) a_1(D); D.1355_3 = (<unnamed-unsigned:5>) D.1354_2; BIT_FIELD_REF <D.1356, 15, 0> = 1091; D.1356.d = D.1355_3;
next prev parent reply other threads:[~2012-11-13 1:19 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-12-10 16:59 [Bug rtl-optimization/46888] New: " ams at gcc dot gnu.org 2010-12-10 17:02 ` [Bug rtl-optimization/46888] " ams at gcc dot gnu.org 2010-12-10 19:42 ` pinskia at gcc dot gnu.org 2010-12-13 21:37 ` pinskia at gcc dot gnu.org 2012-10-12 8:08 ` pinskia at gcc dot gnu.org 2012-10-12 8:23 ` pinskia at gcc dot gnu.org 2012-10-12 8:49 ` pinskia at gcc dot gnu.org 2012-10-12 8:51 ` pinskia at gcc dot gnu.org 2012-11-13 1:19 ` pinskia at gcc dot gnu.org [this message] 2022-12-01 0:02 ` pinskia at gcc dot gnu.org
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-46888-4-D0O6ow84iY@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).