public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ramana at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/55052] [4.8 regression] vect-widening tests are failing and giving wrong results Date: Wed, 28 Nov 2012 02:23:00 -0000 [thread overview] Message-ID: <bug-55052-4-lQlZpKvr04@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-55052-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55052 --- Comment #3 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2012-11-28 02:23:33 UTC --- fwprop in the failure case ends up replacing . In insn 50, replacing (sign_extend:V4SI (ashift:V4HI (subreg:V4HI (reg:V8HI 269 [ vect_var_.41 ]) 8) (const_int 3 [0x3]))) with (const_vector:V4SI [ (const_int 0 [0]) (const_int 0 [0]) (const_int 0 [0]) (const_int 0 [0]) ]) but that can't be right ..... especially if the value in reg 269 is essentially out of a vld4. 33 r269:V8HI=zero_extend(vec_select(r268:V16QI,parallel)) 34 r270:V8HI=zero_extend(vec_select(r268:V16QI,parallel)) 35 r1211:V16QI=const_vector 36 r275:V16QI=r1211:V16QI&r1196:XI#32 37 r276:V8HI=zero_extend(vec_select(r275:V16QI,parallel)) 38 r277:V8HI=zero_extend(vec_select(r275:V16QI,parallel)) 39 r1212:V4SI=sign_extend(r269:V8HI#0<<0x3) 40 r1213:V4SI=zero_extend(vec_select(r252:V8HI,parallel)) 41 r1214:V4SI=r1213:V4SI>>const_vector 42 r1215:V4SI=r1212:V4SI|r1214:V4SI 43 r1216:V4SI=sign_extend(r276:V8HI#0<<0x8) 44 r1217:V4SI=r1215:V4SI|r1216:V4SI 45 r1218:V4SI=zero_extend(vec_select(r258:V8HI,parallel)) 46 r1219:V4SI=r1218:V4SI>>const_vector 47 r1220:V4SI=r1217:V4SI|r1219:V4SI 48 [r1198:SI]=unspec[r1220:V4SI] 164 50 r1221:V4SI=sign_extend(r269:V8HI#8<<0x3) Attached is a .i file and associated dumps. Ramana
next prev parent reply other threads:[~2012-11-28 2:23 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-10-24 10:37 [Bug tree-optimization/55052] New: " ramana at gcc dot gnu.org 2012-10-24 10:38 ` [Bug tree-optimization/55052] " ramana at gcc dot gnu.org 2012-10-24 10:57 ` rguenth at gcc dot gnu.org 2012-11-28 2:23 ` ramana at gcc dot gnu.org [this message] 2012-11-28 2:26 ` ramana at gcc dot gnu.org 2012-11-28 2:30 ` pinskia at gcc dot gnu.org 2012-11-28 20:28 ` rsandifo at gcc dot gnu.org 2012-11-28 21:45 ` rsandifo at gcc dot gnu.org 2012-11-28 21:46 ` rsandifo at gcc dot gnu.org 2012-11-29 13:30 ` ramana 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-55052-4-lQlZpKvr04@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).