From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18366 invoked by alias); 14 Jun 2011 22:43:39 -0000 Received: (qmail 18358 invoked by uid 22791); 14 Jun 2011 22:43:38 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_MX X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 14 Jun 2011 22:43:25 +0000 From: "qneill at gcc dot 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: qneill at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Tue, 14 Jun 2011 22:43:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-06/txt/msg01270.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D49411 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, se= e=20 http://support.amd.com/us/Processor_TechDocs/26568.pdf ------ testcase.c ------ #include void f(void) { __m128 s; __m128i d; return _mm_roti_epi8(s, -1); } ------ output ------ $ gcc -mxop -c vprotbi1.c vprotbi1.c: In function =E2=80=98f=E2=80=99: vprotbi1.c:6:2: warning: =E2=80=98return=E2=80=99 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 for instructions.