public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/104003] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6488-g820ac79e8448ad6c
@ 2022-01-13 9:29 marxin at gcc dot gnu.org
2022-01-13 10:15 ` [Bug target/104003] " rguenth at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-01-13 9:29 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104003
Bug ID: 104003
Summary: [12 Regression] ICE in extract_insn, at recog.c:2769
since r12-6488-g820ac79e8448ad6c
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: marxin at gcc dot gnu.org
CC: ubizjak at gmail dot com
Target Milestone: ---
The following fails:
$ g++ /home/marxin/Programming/gcc/gcc/testsuite/g++.target/i386/pr103861-1.C
-mxop -c
/home/marxin/Programming/gcc/gcc/testsuite/g++.target/i386/pr103861-1.C: In
function ‘__v2qu uu(__v2qu, __v2qu)’:
/home/marxin/Programming/gcc/gcc/testsuite/g++.target/i386/pr103861-1.C:11:60:
error: unrecognizable insn:
11 | __v2qu uu (__v2qu a, __v2qu b) { return (a > b) ? au : bu; }
| ^
(insn 12 11 15 2 (set (reg:V2QI 84 [ _7 ])
(if_then_else:V2QI (reg:V2QI 84 [ _7 ])
(reg:V2QI 82 [ au.0_2 ])
(reg:V2QI 83 [ bu.1_3 ])))
"/home/marxin/Programming/gcc/gcc/testsuite/g++.target/i386/pr103861-1.C":11:56
-1
(nil))
during RTL pass: vregs
/home/marxin/Programming/gcc/gcc/testsuite/g++.target/i386/pr103861-1.C:11:60:
internal compiler error: in extract_insn, at recog.c:2769
0x218a6a8 _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
/home/marxin/Programming/gcc/gcc/rtl-error.c:108
0x218a6ca _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
/home/marxin/Programming/gcc/gcc/rtl-error.c:116
0x21584d3 extract_insn(rtx_insn*)
/home/marxin/Programming/gcc/gcc/recog.c:2769
0x1c99f83 instantiate_virtual_regs_in_insn
/home/marxin/Programming/gcc/gcc/function.c:1611
0x1c99f83 instantiate_virtual_regs
/home/marxin/Programming/gcc/gcc/function.c:1985
0x1c99f83 execute
/home/marxin/Programming/gcc/gcc/function.c:2034
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/104003] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6488-g820ac79e8448ad6c
2022-01-13 9:29 [Bug target/104003] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6488-g820ac79e8448ad6c marxin at gcc dot gnu.org
@ 2022-01-13 10:15 ` rguenth at gcc dot gnu.org
2022-01-13 10:42 ` ubizjak at gmail dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-01-13 10:15 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104003
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |12.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/104003] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6488-g820ac79e8448ad6c
2022-01-13 9:29 [Bug target/104003] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6488-g820ac79e8448ad6c marxin at gcc dot gnu.org
2022-01-13 10:15 ` [Bug target/104003] " rguenth at gcc dot gnu.org
@ 2022-01-13 10:42 ` ubizjak at gmail dot com
2022-01-13 10:57 ` ubizjak at gmail dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2022-01-13 10:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104003
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail dot com
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2022-01-13
Ever confirmed|0 |1
--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Mine.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/104003] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6488-g820ac79e8448ad6c
2022-01-13 9:29 [Bug target/104003] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6488-g820ac79e8448ad6c marxin at gcc dot gnu.org
2022-01-13 10:15 ` [Bug target/104003] " rguenth at gcc dot gnu.org
2022-01-13 10:42 ` ubizjak at gmail dot com
@ 2022-01-13 10:57 ` ubizjak at gmail dot com
2022-01-13 16:20 ` cvs-commit at gcc dot gnu.org
2022-01-13 16:21 ` ubizjak at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2022-01-13 10:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104003
--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
(define_insn "*xop_pcmov_<mode>"
- [(set (match_operand:VI_32 0 "register_operand" "=x")
- (if_then_else:VI_32
- (match_operand:VI_32 3 "register_operand" "x")
- (match_operand:VI_32 1 "register_operand" "x")
- (match_operand:VI_32 2 "register_operand" "x")))]
+ [(set (match_operand:VI_16_32 0 "register_operand" "=x")
+ (if_then_else:VI_16_32
+ (match_operand:VI_16_32 3 "register_operand" "x")
+ (match_operand:VI_16_32 1 "register_operand" "x")
+ (match_operand:VI_16_32 2 "register_operand" "x")))]
"TARGET_XOP"
"vpcmov\t{%3, %2, %1, %0|%0, %1, %2, %3}"
[(set_attr "type" "sse4arg")])
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/104003] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6488-g820ac79e8448ad6c
2022-01-13 9:29 [Bug target/104003] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6488-g820ac79e8448ad6c marxin at gcc dot gnu.org
` (2 preceding siblings ...)
2022-01-13 10:57 ` ubizjak at gmail dot com
@ 2022-01-13 16:20 ` cvs-commit at gcc dot gnu.org
2022-01-13 16:21 ` ubizjak at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-01-13 16:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104003
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Uros Bizjak <uros@gcc.gnu.org>:
https://gcc.gnu.org/g:9d8e27fac3c6426fbfaf30d51cbf2761c5491a6a
commit r12-6554-g9d8e27fac3c6426fbfaf30d51cbf2761c5491a6a
Author: Uros Bizjak <ubizjak@gmail.com>
Date: Thu Jan 13 17:18:59 2022 +0100
ii386: Add 16-bit vector modes to xop_pcmov [PR104003]
2022-01-13 Uroš Bizjak <ubizjak@gmail.com>
gcc/ChangeLog:
PR target/104003
* config/i386/mmx.md (*xop_pcmov_<mode>): Use VI_16_32 mode
iterator.
gcc/testsuite/ChangeLog:
PR target/104003
* g++.target/i386/pr103861-1-sse4.C: New test.
* g++.target/i386/pr103861-1-xop.C: Ditto.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug target/104003] [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6488-g820ac79e8448ad6c
2022-01-13 9:29 [Bug target/104003] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6488-g820ac79e8448ad6c marxin at gcc dot gnu.org
` (3 preceding siblings ...)
2022-01-13 16:20 ` cvs-commit at gcc dot gnu.org
@ 2022-01-13 16:21 ` ubizjak at gmail dot com
4 siblings, 0 replies; 6+ messages in thread
From: ubizjak at gmail dot com @ 2022-01-13 16:21 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104003
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #4 from Uroš Bizjak <ubizjak at gmail dot com> ---
Fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2022-01-13 16:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-13 9:29 [Bug target/104003] New: [12 Regression] ICE in extract_insn, at recog.c:2769 since r12-6488-g820ac79e8448ad6c marxin at gcc dot gnu.org
2022-01-13 10:15 ` [Bug target/104003] " rguenth at gcc dot gnu.org
2022-01-13 10:42 ` ubizjak at gmail dot com
2022-01-13 10:57 ` ubizjak at gmail dot com
2022-01-13 16:20 ` cvs-commit at gcc dot gnu.org
2022-01-13 16:21 ` ubizjak at gmail dot com
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).