public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/65676] New: ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f -funsigned-char and __builtin_ia32_pmovsxwq512_mask()
@ 2015-04-06 9:31 zsojka at seznam dot cz
2015-04-06 19:43 ` [Bug target/65676] " ubizjak at gmail dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: zsojka at seznam dot cz @ 2015-04-06 9:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65676
Bug ID: 65676
Summary: ICE: in extract_insn, at recog.c:2343 (unrecognizable
insn) with -mavx512f -funsigned-char and
__builtin_ia32_pmovsxwq512_mask()
Product: gcc
Version: 5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: zsojka at seznam dot cz
Created attachment 35235
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35235&action=edit
reduced testcase
Compiler output:
$ gcc testcase.c -mavx512f -funsigned-char
testcase.c: In function 'foo':
testcase.c:7:1: error: unrecognizable insn:
}
^
(insn 8 7 9 2 (set (reg:QI 90)
(const_int 255 [0xff])) testcase.c:6 -1
(nil))
testcase.c:7:1: internal compiler error: in extract_insn, at recog.c:2343
0xbd2e38 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
/mnt/svn/gcc-trunk/gcc/rtl-error.c:110
0xbd2ec8 _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
/mnt/svn/gcc-trunk/gcc/rtl-error.c:118
0xb89698 extract_insn(rtx_insn*)
/mnt/svn/gcc-trunk/gcc/recog.c:2343
0x962e67 instantiate_virtual_regs_in_insn
/mnt/svn/gcc-trunk/gcc/function.c:1598
0x962e67 instantiate_virtual_regs
/mnt/svn/gcc-trunk/gcc/function.c:1966
0x962e67 execute
/mnt/svn/gcc-trunk/gcc/function.c:2015
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.
Tested revisions:
r221818 - ICE
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/65676] ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f -funsigned-char and __builtin_ia32_pmovsxwq512_mask()
2015-04-06 9:31 [Bug target/65676] New: ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f -funsigned-char and __builtin_ia32_pmovsxwq512_mask() zsojka at seznam dot cz
@ 2015-04-06 19:43 ` ubizjak at gmail dot com
2015-04-07 14:56 ` kyukhin at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2015-04-06 19:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65676
--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
This looks like a consequence of following i386-builtin-types.c comment:
# ??? Logically this should be intQI_type_node, but that maps to "signed char"
# which is a different type than "char" even if "char" is signed. This must
# match the usage in emmintrin.h and changing this would change name mangling
# and so is not advisable.
DEF_PRIMITIVE_TYPE (QI, char_type_node)
>From gcc-bugs-return-482795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Apr 06 19:45:19 2015
Return-Path: <gcc-bugs-return-482795-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 62809 invoked by alias); 6 Apr 2015 19:45:19 -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 62525 invoked by uid 48); 6 Apr 2015 19:45:15 -0000
From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/65670] [5 Regression] missing libstdc++ symbols on powerpc64le-linux-gnu and arm-linux-gnueabi
Date: Mon, 06 Apr 2015 19:45: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: wschmidt 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-65670-4-ALIW0Y53J2@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-65670-4@http.gcc.gnu.org/bugzilla/>
References: <bug-65670-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: 2015-04/txt/msg00347.txt.bz2
Content-length: 220
https://gcc.gnu.org/bugzilla/show_bug.cgi?ide670
--- Comment #7 from Bill Schmidt <wschmidt at gcc dot gnu.org> ---
Like Andreas, this works for me with latest 4.9 and trunk. I see the 3.4.15
symbols in both cases.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/65676] ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f -funsigned-char and __builtin_ia32_pmovsxwq512_mask()
2015-04-06 9:31 [Bug target/65676] New: ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f -funsigned-char and __builtin_ia32_pmovsxwq512_mask() zsojka at seznam dot cz
2015-04-06 19:43 ` [Bug target/65676] " ubizjak at gmail dot com
@ 2015-04-07 14:56 ` kyukhin at gcc dot gnu.org
2015-04-09 9:12 ` kyukhin at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: kyukhin at gcc dot gnu.org @ 2015-04-07 14:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65676
Kirill Yukhin <kyukhin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kyukhin at gcc dot gnu.org
--- Comment #4 from Kirill Yukhin <kyukhin at gcc dot gnu.org> ---
Created attachment 35246
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35246&action=edit
Proposed patch
This patch employs Uros's suggestion everywhere to make
sse-13.c pass w/ `-funsigned-char' option added.
We also should make all mask arguments in built-in decls
of unsigned type, but this can wait for stage1.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/65676] ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f -funsigned-char and __builtin_ia32_pmovsxwq512_mask()
2015-04-06 9:31 [Bug target/65676] New: ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f -funsigned-char and __builtin_ia32_pmovsxwq512_mask() zsojka at seznam dot cz
2015-04-06 19:43 ` [Bug target/65676] " ubizjak at gmail dot com
2015-04-07 14:56 ` kyukhin at gcc dot gnu.org
@ 2015-04-09 9:12 ` kyukhin at gcc dot gnu.org
2015-04-09 9:15 ` kyukhin at gcc dot gnu.org
2015-04-16 14:25 ` kyukhin at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: kyukhin at gcc dot gnu.org @ 2015-04-09 9:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65676
--- Comment #5 from Kirill Yukhin <kyukhin at gcc dot gnu.org> ---
Author: kyukhin
Date: Thu Apr 9 09:11:27 2015
New Revision: 221943
URL: https://gcc.gnu.org/viewcvs?rev=221943&root=gcc&view=rev
Log:
PR target/65676
gcc/
* config/i386/i386.c (fixup_modeless_constant): New.
(ix86_expand_args_builtin): Fixup modeless constant operand.
PR target/65676
* config/i386/i386.c (fixup_modeless_constant): New.
(ix86_expand_args_builtin): Fixup modeless constant operand.
(ix86_expand_round_builtin): Ditto.
(ix86_expand_special_args_builtin): Ditto.
(ix86_expand_builtin): Ditto.
gcc/testsuite/
* gcc.target/i386/sse-25.c: New.
(ix86_expand_round_builtin): Ditto.
(ix86_expand_special_args_builtin): Ditto.
(ix86_expand_builtin): Ditto.
testsuite/
PR target/65676
* gcc.target/i386/sse-25.c: New.
Added:
trunk/gcc/testsuite/gcc.target/i386/sse-25.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/65676] ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f -funsigned-char and __builtin_ia32_pmovsxwq512_mask()
2015-04-06 9:31 [Bug target/65676] New: ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f -funsigned-char and __builtin_ia32_pmovsxwq512_mask() zsojka at seznam dot cz
` (2 preceding siblings ...)
2015-04-09 9:12 ` kyukhin at gcc dot gnu.org
@ 2015-04-09 9:15 ` kyukhin at gcc dot gnu.org
2015-04-16 14:25 ` kyukhin at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: kyukhin at gcc dot gnu.org @ 2015-04-09 9:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65676
Kirill Yukhin <kyukhin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #6 from Kirill Yukhin <kyukhin at gcc dot gnu.org> ---
Should be fixed by the patch comitted
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/65676] ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f -funsigned-char and __builtin_ia32_pmovsxwq512_mask()
2015-04-06 9:31 [Bug target/65676] New: ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f -funsigned-char and __builtin_ia32_pmovsxwq512_mask() zsojka at seznam dot cz
` (3 preceding siblings ...)
2015-04-09 9:15 ` kyukhin at gcc dot gnu.org
@ 2015-04-16 14:25 ` kyukhin at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: kyukhin at gcc dot gnu.org @ 2015-04-16 14:25 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65676
--- Comment #7 from Kirill Yukhin <kyukhin at gcc dot gnu.org> ---
Author: kyukhin
Date: Thu Apr 16 14:24:51 2015
New Revision: 222149
URL: https://gcc.gnu.org/viewcvs?rev=222149&root=gcc&view=rev
Log:
gcc/
PR target/65676
* config/i386/i386.c (fixup_modeless_constant): New.
(ix86_expand_args_builtin): Fixup modeless constant operand.
(ix86_expand_round_builtin): Ditto.
(ix86_expand_special_args_builtin): Ditto.
(ix86_expand_builtin): Ditto.
gcc/testsuite/
PR target/65676
* gcc.target/i386/sse-25.c: New.
Added:
branches/gcc-4_9-branch/gcc/testsuite/gcc.target/i386/sse-25.c
Modified:
branches/gcc-4_9-branch/gcc/ChangeLog
branches/gcc-4_9-branch/gcc/config/i386/i386.c
branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-04-16 14:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-06 9:31 [Bug target/65676] New: ICE: in extract_insn, at recog.c:2343 (unrecognizable insn) with -mavx512f -funsigned-char and __builtin_ia32_pmovsxwq512_mask() zsojka at seznam dot cz
2015-04-06 19:43 ` [Bug target/65676] " ubizjak at gmail dot com
2015-04-07 14:56 ` kyukhin at gcc dot gnu.org
2015-04-09 9:12 ` kyukhin at gcc dot gnu.org
2015-04-09 9:15 ` kyukhin at gcc dot gnu.org
2015-04-16 14:25 ` kyukhin at gcc dot gnu.org
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).