public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "trippels at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/64093] New: [5 Regression] ICE error: unrecognizable insn with -mcpu=cell
Date: Thu, 27 Nov 2014 11:05:00 -0000 [thread overview]
Message-ID: <bug-64093-4@http.gcc.gnu.org/bugzilla/> (raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 4223 bytes --]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64093
Bug ID: 64093
Summary: [5 Regression] ICE error: unrecognizable insn with
-mcpu=cell
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: trippels at gcc dot gnu.org
Trying to build an allyesconfig Linux kernel with -O2:
trippels@gcc2-power8 linux-3.17.2 % cat prom.i
int a;
void
fn1 ()
{
for (;;)
if (a & 1 || a & 8)
continue;
}
trippels@gcc2-power8 linux-3.17.2 % gcc -c -O2 -mcpu=cell prom.i
prom.i: In function âfn1â:
prom.i:8:1: error: unrecognizable insn:
}
^
(insn 7 6 8 2 (parallel [
(set (reg:SI 159)
(and:SI (reg:SI 160)
(const_int 9 [0x9])))
(clobber (scratch:CC))
]) -1
(nil))
prom.i:8:1: internal compiler error: in extract_insn, at recog.c:2327
0x1073f7ab _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
../../gcc/gcc/rtl-error.c:110
0x1073f817 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
../../gcc/gcc/rtl-error.c:118
0x10705f87 extract_insn(rtx_insn*)
../../gcc/gcc/recog.c:2327
0x1048312b instantiate_virtual_regs_in_insn
../../gcc/gcc/function.c:1582
0x1048312b instantiate_virtual_regs
../../gcc/gcc/function.c:1950
0x1048312b execute
../../gcc/gcc/function.c:1999
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
>From gcc-bugs-return-468751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Thu Nov 27 11:17:40 2014
Return-Path: <gcc-bugs-return-468751-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 7346 invoked by alias); 27 Nov 2014 11:17:40 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 7311 invoked by uid 48); 27 Nov 2014 11:17:36 -0000
From: "pinskia at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/64093] [5 Regression] ICE error: unrecognizable insn with -mcpuÎll
Date: Thu, 27 Nov 2014 11:17:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 5.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: pinskia 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-Flags:
X-Bugzilla-Changed-Fields:
Message-ID: <bug-64093-4-gAAHpMFo1a@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-64093-4@http.gcc.gnu.org/bugzilla/>
References: <bug-64093-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-11/txt/msg03223.txt.bz2
Content-length: 646
https://gcc.gnu.org/bugzilla/show_bug.cgi?idd093
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Try this patch:
Index: rs6000.md
==================================================================--- rs6000.md (revision 218072)
+++ rs6000.md (working copy)
@@ -2644,7 +2644,8 @@ (define_expand "and<mode>3"
}
if (logical_const_operand (operands[2], <MODE>mode)
- && !any_mask_operand (operands[2], <MODE>mode))
+ && !any_mask_operand (operands[2], <MODE>mode)
+ && rs6000_gen_cell_microcode)
{
emit_insn (gen_and<mode>3_imm (operands[0], operands[1], operands[2]));
DONE;
next reply other threads:[~2014-11-27 11:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-27 11:05 trippels at gcc dot gnu.org [this message]
2014-11-27 11:23 ` [Bug target/64093] " trippels at gcc dot gnu.org
2014-11-27 11:35 ` pinskia at gcc dot gnu.org
2014-11-27 17:10 ` segher at gcc dot gnu.org
2014-11-28 16:26 ` segher at gcc dot gnu.org
2014-11-28 16:33 ` segher 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-64093-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: link
Be 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).