[Bug target/61794] internal error: unrecognizable insn, from avx512 extract instruction
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61794 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED Target Milestone|4.10.0 |4.9.2 --- Comment #5 from Uroš Bizjak --- Fixed for 4.9.2+.
[Bug target/61794] internal error: unrecognizable insn, from avx512 extract instruction
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61794 --- Comment #4 from uros at gcc dot gnu.org --- Author: uros Date: Fri Jul 18 16:18:02 2014 New Revision: 212825 URL: https://gcc.gnu.org/viewcvs?rev=212825&root=gcc&view=rev Log: Backport from mainline 2014-07-18 Uros Bizjak PR target/61794 * config/i386/sse.md (avx512f_vextract32x4_1_maskm): Fix instruction constraint. (avx512f_vextract32x4_1): Ditto. testsuite/ChangeLog: Backport from mainline 2014-07-18 Uros Bizjak PR target/61794 * gcc.target/i386/pr61794.c: New test. Added: branches/gcc-4_9-branch/gcc/testsuite/gcc.target/i386/pr61794.c Modified: branches/gcc-4_9-branch/gcc/ChangeLog branches/gcc-4_9-branch/gcc/config/i386/sse.md branches/gcc-4_9-branch/gcc/testsuite/ChangeLog
[Bug target/61794] internal error: unrecognizable insn, from avx512 extract instruction
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61794 --- Comment #3 from uros at gcc dot gnu.org --- Author: uros Date: Fri Jul 18 16:13:45 2014 New Revision: 212824 URL: https://gcc.gnu.org/viewcvs?rev=212824&root=gcc&view=rev Log: PR target/61794 * config/i386/sse.md (avx512f_vextract32x4_1_maskm): Fix instruction constraint. (avx512f_vextract32x4_1): Ditto. testsuite/ChangeLog: PR target/61794 * gcc.target/i386/pr61794.c: New test. Added: trunk/gcc/testsuite/gcc.target/i386/pr61794.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/sse.md trunk/gcc/testsuite/ChangeLog
[Bug target/61794] internal error: unrecognizable insn, from avx512 extract instruction
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61794 Uroš Bizjak changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |ubizjak at gmail dot com --- Comment #2 from Uroš Bizjak --- Patch in testing: --cut here-- Index: sse.md === --- sse.md (revision 212778) +++ sse.md (working copy) @@ -5892,9 +5892,10 @@ (match_operand 5 "const_0_to_15_operand")])) (match_operand: 6 "memory_operand" "0") (match_operand:QI 7 "register_operand" "Yk")))] - "TARGET_AVX512F && (INTVAL (operands[2]) = INTVAL (operands[3]) - 1) - && (INTVAL (operands[3]) = INTVAL (operands[4]) - 1) - && (INTVAL (operands[4]) = INTVAL (operands[5]) - 1)" + "TARGET_AVX512F + && (INTVAL (operands[2]) == (INTVAL (operands[3]) - 1) + && INTVAL (operands[3]) == (INTVAL (operands[4]) - 1) + && INTVAL (operands[4]) == (INTVAL (operands[5]) - 1))" { operands[2] = GEN_INT ((INTVAL (operands[2])) >> 2); return "vextract32x4\t{%2, %1, %0%{%7%}|%0%{%7%}, %1, %2}"; @@ -5914,9 +5915,10 @@ (match_operand 3 "const_0_to_15_operand") (match_operand 4 "const_0_to_15_operand") (match_operand 5 "const_0_to_15_operand")])))] - "TARGET_AVX512F && (INTVAL (operands[2]) = INTVAL (operands[3]) - 1) - && (INTVAL (operands[3]) = INTVAL (operands[4]) - 1) - && (INTVAL (operands[4]) = INTVAL (operands[5]) - 1)" + "TARGET_AVX512F + && (INTVAL (operands[2]) == (INTVAL (operands[3]) - 1) + && INTVAL (operands[3]) == (INTVAL (operands[4]) - 1) + && INTVAL (operands[4]) == (INTVAL (operands[5]) - 1))" { operands[2] = GEN_INT ((INTVAL (operands[2])) >> 2); return "vextract32x4\t{%2, %1, %0|%0, %1, %2}"; --cut here--
[Bug target/61794] internal error: unrecognizable insn, from avx512 extract instruction
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61794 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2014-07-14 CC||kyukhin at gcc dot gnu.org Target Milestone|--- |4.10.0 Ever confirmed|0 |1 Severity|major |normal --- Comment #1 from Uroš Bizjak --- Confirmed, adding CC.