public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug target/96551] New: [10 Regression] FAIL: gcc.target/i386/vectorize8.c (internal compiler error) @ 2020-08-10 12:11 hjl.tools at gmail dot com 2020-08-11 3:04 ` [Bug target/96551] [10/11 " crazylht at gmail dot com ` (6 more replies) 0 siblings, 7 replies; 8+ messages in thread From: hjl.tools at gmail dot com @ 2020-08-10 12:11 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96551 Bug ID: 96551 Summary: [10 Regression] FAIL: gcc.target/i386/vectorize8.c (internal compiler error) Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: crazylht at gmail dot com Reporter: hjl.tools at gmail dot com Target Milestone: --- Target: x86_64 ommit f098bc87dcae5646d11a351cfb55d0e1124c7f60 Author: liuhongt <hongtao.liu@intel.com> Date: Mon Jul 20 10:13:58 2020 +0800 Using UNSPEC for vector compare to mask register. For rtx like (eq:HI (V8SI 90) (V8SI 91)), cse will take it as a boolean value and try to do some optimization. But it is not true for vector compare, also other places in rtl passes hold the same assumption. caused: FAIL: gcc.target/i386/pr92865-1.c scan-assembler-times vmovdq[au]16[\t ] 6 FAIL: gcc.target/i386/pr92865-1.c scan-assembler-times vmovdq[au]16[\t ] 6 FAIL: gcc.target/i386/pr92865-1.c scan-assembler-times vmovdq[au]16[\t ] 6 FAIL: gcc.target/i386/pr92865-1.c scan-assembler-times vmovdq[au]32[\t ] 6 FAIL: gcc.target/i386/pr92865-1.c scan-assembler-times vmovdq[au]32[\t ] 6 FAIL: gcc.target/i386/pr92865-1.c scan-assembler-times vmovdq[au]32[\t ] 6 FAIL: gcc.target/i386/pr92865-1.c scan-assembler-times vmovdq[au]64[\t ] 6 FAIL: gcc.target/i386/pr92865-1.c scan-assembler-times vmovdq[au]64[\t ] 6 FAIL: gcc.target/i386/pr92865-1.c scan-assembler-times vmovdq[au]64[\t ] 6 FAIL: gcc.target/i386/pr92865-1.c scan-assembler-times vmovdq[au]8[\t ] 6 FAIL: gcc.target/i386/pr92865-1.c scan-assembler-times vmovdq[au]8[\t ] 6 FAIL: gcc.target/i386/pr92865-1.c scan-assembler-times vmovdq[au]8[\t ] 6 FAIL: gcc.target/i386/vectorize8.c (internal compiler error) FAIL: gcc.target/i386/vectorize8.c (internal compiler error) FAIL: gcc.target/i386/vectorize8.c (internal compiler error) FAIL: gcc.target/i386/vectorize8.c (test for excess errors) FAIL: gcc.target/i386/vectorize8.c (test for excess errors) FAIL: gcc.target/i386/vectorize8.c (test for excess errors) with $ cd {build_dir}/gcc && make check RUNTESTFLAGS="i386.exp=gcc.target/i386/vectorize8.c --target_board='unix{-m64\ -march=cascadelake,-m32\ -march=cascadelake}'" ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/96551] [10/11 Regression] FAIL: gcc.target/i386/vectorize8.c (internal compiler error) 2020-08-10 12:11 [Bug target/96551] New: [10 Regression] FAIL: gcc.target/i386/vectorize8.c (internal compiler error) hjl.tools at gmail dot com @ 2020-08-11 3:04 ` crazylht at gmail dot com 2020-08-12 8:23 ` marxin at gcc dot gnu.org ` (5 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: crazylht at gmail dot com @ 2020-08-11 3:04 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96551 --- Comment #1 from Hongtao.liu <crazylht at gmail dot com> --- For `vec_unpacku_float_hi_v16si` `vec_unpacku_float_lo_v16si` --- diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index cf083ca28aa..2e60f596bc1 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -6973,7 +6973,7 @@ emit_insn (gen_vec_extract_hi_v16si (tmp[3], operands[1])); emit_insn (gen_floatv8siv8df2 (tmp[2], tmp[3])); - emit_insn (gen_rtx_SET (k, gen_rtx_LT (QImode, tmp[2], tmp[0]))); + ix86_expand_mask_vec_cmp (k, LT, tmp[2], tmp[0]); emit_insn (gen_addv8df3_mask (tmp[2], tmp[2], tmp[1], tmp[2], k)); emit_move_insn (operands[0], tmp[2]); DONE; @@ -7020,7 +7020,7 @@ k = gen_reg_rtx (QImode); emit_insn (gen_avx512f_cvtdq2pd512_2 (tmp[2], operands[1])); - emit_insn (gen_rtx_SET (k, gen_rtx_LT (QImode, tmp[2], tmp[0]))); + ix86_expand_mask_vec_cmp (k, LT, tmp[2], tmp[0]); emit_insn (gen_addv8df3_mask (tmp[2], tmp[2], tmp[1], tmp[2], k)); emit_move_insn (operands[0], tmp[2]); DONE; --- ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/96551] [10/11 Regression] FAIL: gcc.target/i386/vectorize8.c (internal compiler error) 2020-08-10 12:11 [Bug target/96551] New: [10 Regression] FAIL: gcc.target/i386/vectorize8.c (internal compiler error) hjl.tools at gmail dot com 2020-08-11 3:04 ` [Bug target/96551] [10/11 " crazylht at gmail dot com @ 2020-08-12 8:23 ` marxin at gcc dot gnu.org 2020-08-25 8:13 ` rguenth at gcc dot gnu.org ` (4 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: marxin at gcc dot gnu.org @ 2020-08-12 8:23 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96551 Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org --- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> --- *** Bug 96578 has been marked as a duplicate of this bug. *** ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/96551] [10/11 Regression] FAIL: gcc.target/i386/vectorize8.c (internal compiler error) 2020-08-10 12:11 [Bug target/96551] New: [10 Regression] FAIL: gcc.target/i386/vectorize8.c (internal compiler error) hjl.tools at gmail dot com 2020-08-11 3:04 ` [Bug target/96551] [10/11 " crazylht at gmail dot com 2020-08-12 8:23 ` marxin at gcc dot gnu.org @ 2020-08-25 8:13 ` rguenth at gcc dot gnu.org 2020-08-31 2:29 ` crazylht at gmail dot com ` (3 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: rguenth at gcc dot gnu.org @ 2020-08-25 8:13 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96551 Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |10.3 Keywords| |ice-on-valid-code Priority|P3 |P2 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/96551] [10/11 Regression] FAIL: gcc.target/i386/vectorize8.c (internal compiler error) 2020-08-10 12:11 [Bug target/96551] New: [10 Regression] FAIL: gcc.target/i386/vectorize8.c (internal compiler error) hjl.tools at gmail dot com ` (2 preceding siblings ...) 2020-08-25 8:13 ` rguenth at gcc dot gnu.org @ 2020-08-31 2:29 ` crazylht at gmail dot com 2020-08-31 9:44 ` cvs-commit at gcc dot gnu.org ` (2 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: crazylht at gmail dot com @ 2020-08-31 2:29 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96551 --- Comment #3 from Hongtao.liu <crazylht at gmail dot com> --- a patch is posted at https://gcc.gnu.org/pipermail/gcc-patches/2020-August/552230.html ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/96551] [10/11 Regression] FAIL: gcc.target/i386/vectorize8.c (internal compiler error) 2020-08-10 12:11 [Bug target/96551] New: [10 Regression] FAIL: gcc.target/i386/vectorize8.c (internal compiler error) hjl.tools at gmail dot com ` (3 preceding siblings ...) 2020-08-31 2:29 ` crazylht at gmail dot com @ 2020-08-31 9:44 ` cvs-commit at gcc dot gnu.org 2020-08-31 9:48 ` cvs-commit at gcc dot gnu.org 2020-08-31 9:49 ` crazylht at gmail dot com 6 siblings, 0 replies; 8+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2020-08-31 9:44 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96551 --- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by hongtao Liu <liuhongt@gcc.gnu.org>: https://gcc.gnu.org/g:1aa71af09350b9ff4d2fad88a440b682545682ec commit r11-2947-g1aa71af09350b9ff4d2fad88a440b682545682ec Author: liuhongt <hongtao.liu@intel.com> Date: Tue Aug 11 11:05:40 2020 +0800 Refine expander vec_unpacku_float_hi_v16si/vec_unpacku_float_lo_v16si gcc/ PR target/96551 * config/i386/sse.md (vec_unpacku_float_hi_v16si): For vector compare to integer mask, don't use gen_rtx_LT, use ix86_expand_mask_vec_cmp instead. (vec_unpacku_float_hi_v16si): Ditto. gcc/testsuite * gcc.target/i386/avx512f-pr96551-1.c: New test. * gcc.target/i386/avx512f-pr96551-2.c: New test. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/96551] [10/11 Regression] FAIL: gcc.target/i386/vectorize8.c (internal compiler error) 2020-08-10 12:11 [Bug target/96551] New: [10 Regression] FAIL: gcc.target/i386/vectorize8.c (internal compiler error) hjl.tools at gmail dot com ` (4 preceding siblings ...) 2020-08-31 9:44 ` cvs-commit at gcc dot gnu.org @ 2020-08-31 9:48 ` cvs-commit at gcc dot gnu.org 2020-08-31 9:49 ` crazylht at gmail dot com 6 siblings, 0 replies; 8+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2020-08-31 9:48 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96551 --- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-10 branch has been updated by hongtao Liu <liuhongt@gcc.gnu.org>: https://gcc.gnu.org/g:2cbd82044b21679fa533445f373374576f638da1 commit r10-8692-g2cbd82044b21679fa533445f373374576f638da1 Author: liuhongt <hongtao.liu@intel.com> Date: Tue Aug 11 11:05:40 2020 +0800 Refine expander vec_unpacku_float_hi_v16si/vec_unpacku_float_lo_v16si gcc/ PR target/96551 * config/i386/sse.md (vec_unpacku_float_hi_v16si): For vector compare to integer mask, don't use gen_rtx_LT, use ix86_expand_mask_vec_cmp instead. (vec_unpacku_float_hi_v16si): Ditto. gcc/testsuite * gcc.target/i386/avx512f-pr96551-1.c: New test. * gcc.target/i386/avx512f-pr96551-2.c: New test. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug target/96551] [10/11 Regression] FAIL: gcc.target/i386/vectorize8.c (internal compiler error) 2020-08-10 12:11 [Bug target/96551] New: [10 Regression] FAIL: gcc.target/i386/vectorize8.c (internal compiler error) hjl.tools at gmail dot com ` (5 preceding siblings ...) 2020-08-31 9:48 ` cvs-commit at gcc dot gnu.org @ 2020-08-31 9:49 ` crazylht at gmail dot com 6 siblings, 0 replies; 8+ messages in thread From: crazylht at gmail dot com @ 2020-08-31 9:49 UTC (permalink / raw) To: gcc-bugs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96551 Hongtao.liu <crazylht at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #6 from Hongtao.liu <crazylht at gmail dot com> --- Fixed in GCC11 and backport to GCC10 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-08-31 9:49 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-08-10 12:11 [Bug target/96551] New: [10 Regression] FAIL: gcc.target/i386/vectorize8.c (internal compiler error) hjl.tools at gmail dot com 2020-08-11 3:04 ` [Bug target/96551] [10/11 " crazylht at gmail dot com 2020-08-12 8:23 ` marxin at gcc dot gnu.org 2020-08-25 8:13 ` rguenth at gcc dot gnu.org 2020-08-31 2:29 ` crazylht at gmail dot com 2020-08-31 9:44 ` cvs-commit at gcc dot gnu.org 2020-08-31 9:48 ` cvs-commit at gcc dot gnu.org 2020-08-31 9:49 ` crazylht 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).