public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "qneill at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/49411] New: [4.6/4.7] ICE: unrecognizable insn with -mxop in _mm_roti_epi8 with negative number Date: Tue, 14 Jun 2011 22:43:00 -0000 [thread overview] Message-ID: <bug-49411-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49411 Summary: [4.6/4.7] ICE: unrecognizable insn with -mxop in _mm_roti_epi8 with negative number Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned@gcc.gnu.org ReportedBy: qneill@gcc.gnu.org Using _mm_roti_epi8 in xopintrin.h with a negative number produces an ICE in 4.6/4.7; the negative number is how you use VPROT[BWDQ] to rotate right, see http://support.amd.com/us/Processor_TechDocs/26568.pdf ------ testcase.c ------ #include <x86intrin.h> void f(void) { __m128 s; __m128i d; return _mm_roti_epi8(s, -1); } ------ output ------ $ gcc -mxop -c vprotbi1.c vprotbi1.c: In function ‘f’: vprotbi1.c:6:2: warning: ‘return’ with a value, in function returning void [enabled by default] vprotbi1.c:7:1: error: unrecognizable insn: (insn 6 5 7 3 (set (reg:V16QI 60 [ D.8650 ]) (rotate:V16QI (reg:V16QI 59 [ D.8648 ]) (const_int -1 [0xffffffffffffffff]))) vprotbi1.c:6 -1 (nil)) vprotbi1.c:7:1: internal compiler error: in extract_insn, at recog.c:2113 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions.
next reply other threads:[~2011-06-14 22:43 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-06-14 22:43 qneill at gcc dot gnu.org [this message] 2011-06-14 23:22 ` [Bug target/49411] " jakub at gcc dot gnu.org 2011-06-15 5:48 ` jakub at gcc dot gnu.org 2011-06-15 6:33 ` jakub at gcc dot gnu.org 2011-06-15 15:38 ` qneill at gcc dot gnu.org 2011-06-15 15:57 ` jakub at gcc dot gnu.org 2011-06-15 16:40 ` qneill at gcc dot gnu.org 2011-06-18 6:43 ` jakub at gcc dot gnu.org 2011-06-18 9:08 ` jakub at gcc dot gnu.org 2011-06-18 9:19 ` jakub 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-49411-4@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).