public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/101549] New: [12 Regression] internal compiler error: in extract_insn, at recog.c:2769
@ 2021-07-21 11:58 hjl.tools at gmail dot com
2021-07-21 13:30 ` [Bug target/101549] " rguenth at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2021-07-21 11:58 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101549
Bug ID: 101549
Summary: [12 Regression] internal compiler error: in
extract_insn, at recog.c:2769
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: hjl.tools at gmail dot com
Target Milestone: ---
[hjl@gnu-cfl-2 gcc]$ cat /tmp/x.c
#include <immintrin.h>
unsigned int
test_mm_crc32_u8(unsigned int CRC, unsigned char V)
{
return _mm_crc32_u8(CRC, V);
}
[hjl@gnu-cfl-2 gcc]$ ./xgcc -B./ -S /tmp/x.c -msse4 -mno-crc32
/tmp/x.c: In function ‘test_mm_crc32_u8’:
/tmp/x.c:7:1: error: unrecognizable insn:
7 | }
| ^
(insn 16 15 22 2 (set (reg:SI 84 [ D.24970 ])
(unspec:SI [
(reg:SI 89)
(subreg:QI (reg:SI 90) 0)
] UNSPEC_CRC32)) "./include/smmintrin.h":829:10 -1
(nil))
during RTL pass: vregs
/tmp/x.c:7:1: internal compiler error: in extract_insn, at recog.c:2769
0x125686e _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
/export/gnu/import/git/gitlab/x86-gcc/gcc/rtl-error.c:108
0x12568af _fatal_insn_not_found(rtx_def const*, char const*, int, char const*)
/export/gnu/import/git/gitlab/x86-gcc/gcc/rtl-error.c:116
0x11fd163 extract_insn(rtx_insn*)
/export/gnu/import/git/gitlab/x86-gcc/gcc/recog.c:2769
0xe5d4cf instantiate_virtual_regs_in_insn
/export/gnu/import/git/gitlab/x86-gcc/gcc/function.c:1611
0xe5eb4c instantiate_virtual_regs
/export/gnu/import/git/gitlab/x86-gcc/gcc/function.c:1985
0xe5ec1c execute
/export/gnu/import/git/gitlab/x86-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.
[hjl@gnu-cfl-2 gcc]$
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/101549] [12 Regression] internal compiler error: in extract_insn, at recog.c:2769
2021-07-21 11:58 [Bug target/101549] New: [12 Regression] internal compiler error: in extract_insn, at recog.c:2769 hjl.tools at gmail dot com
@ 2021-07-21 13:30 ` rguenth at gcc dot gnu.org
2021-07-21 17:10 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-07-21 13:30 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101549
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |12.0
Target| |x86_64-*-* i?86-*-*
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/101549] [12 Regression] internal compiler error: in extract_insn, at recog.c:2769
2021-07-21 11:58 [Bug target/101549] New: [12 Regression] internal compiler error: in extract_insn, at recog.c:2769 hjl.tools at gmail dot com
2021-07-21 13:30 ` [Bug target/101549] " rguenth at gcc dot gnu.org
@ 2021-07-21 17:10 ` cvs-commit at gcc dot gnu.org
2021-07-21 17:16 ` hjl.tools at gmail dot com
2021-08-25 12:57 ` cvs-commit at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-07-21 17:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101549
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:
https://gcc.gnu.org/g:7aa28dbc371cf3c09c05c68672b00d9006391595
commit r12-2440-g7aa28dbc371cf3c09c05c68672b00d9006391595
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Jul 21 05:15:55 2021 -0700
x86: Remove OPTION_MASK_ISA_SSE4_2 from CRC32 _builtin functions
Since
commit 39671f87b2df6a1894cc11a161e4a7949d1ddccd
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Apr 15 05:59:48 2021 -0700
x86: Use crc32 target option for CRC32 intrinsics
enabled OPTION_MASK_ISA_CRC32 for -msse4 and removed TARGET_SSE4_2 check
in sse4_2_crc32<mode> pattens, remove OPTION_MASK_ISA_SSE4_2 from CRC32
_builtin functions.
gcc/
PR target/101549
* config/i386/i386-builtin.def: Remove OPTION_MASK_ISA_SSE4_2
from CRC32 _builtin functions.
gcc/testsuite/
PR target/101549
* gcc.target/i386/crc32-6.c: New test.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/101549] [12 Regression] internal compiler error: in extract_insn, at recog.c:2769
2021-07-21 11:58 [Bug target/101549] New: [12 Regression] internal compiler error: in extract_insn, at recog.c:2769 hjl.tools at gmail dot com
2021-07-21 13:30 ` [Bug target/101549] " rguenth at gcc dot gnu.org
2021-07-21 17:10 ` cvs-commit at gcc dot gnu.org
@ 2021-07-21 17:16 ` hjl.tools at gmail dot com
2021-08-25 12:57 ` cvs-commit at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: hjl.tools at gmail dot com @ 2021-07-21 17:16 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101549
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|UNCONFIRMED |RESOLVED
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed for GCC 12. GCC 11 failed to disable CRC32 with -mno-crc32 (PR 101561).
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/101549] [12 Regression] internal compiler error: in extract_insn, at recog.c:2769
2021-07-21 11:58 [Bug target/101549] New: [12 Regression] internal compiler error: in extract_insn, at recog.c:2769 hjl.tools at gmail dot com
` (2 preceding siblings ...)
2021-07-21 17:16 ` hjl.tools at gmail dot com
@ 2021-08-25 12:57 ` cvs-commit at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-08-25 12:57 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101549
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:
https://gcc.gnu.org/g:7dc952f1c043ecb79aec6734175a4312696b5052
commit r11-8927-g7dc952f1c043ecb79aec6734175a4312696b5052
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Wed Jul 21 05:15:55 2021 -0700
x86: Remove OPTION_MASK_ISA_SSE4_2 from CRC32 _builtin functions
Since
commit 39671f87b2df6a1894cc11a161e4a7949d1ddccd
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Apr 15 05:59:48 2021 -0700
x86: Use crc32 target option for CRC32 intrinsics
enabled OPTION_MASK_ISA_CRC32 for -msse4 and removed TARGET_SSE4_2 check
in sse4_2_crc32<mode> pattens, remove OPTION_MASK_ISA_SSE4_2 from CRC32
_builtin functions.
gcc/
PR target/101549
* config/i386/i386-builtin.def: Remove OPTION_MASK_ISA_SSE4_2
from CRC32 _builtin functions.
gcc/testsuite/
PR target/101549
* gcc.target/i386/crc32-6.c: New test.
(cherry picked from commit 7aa28dbc371cf3c09c05c68672b00d9006391595)
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-08-25 12:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-21 11:58 [Bug target/101549] New: [12 Regression] internal compiler error: in extract_insn, at recog.c:2769 hjl.tools at gmail dot com
2021-07-21 13:30 ` [Bug target/101549] " rguenth at gcc dot gnu.org
2021-07-21 17:10 ` cvs-commit at gcc dot gnu.org
2021-07-21 17:16 ` hjl.tools at gmail dot com
2021-08-25 12:57 ` cvs-commit 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).