[Bug testsuite/97688] check_vect doesn't detect AVX2 on zen

2020-11-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97688 --- Comment #13 from Richard Biener --- (In reply to H.J. Lu from comment #12) > Created attachment 49495 [details] > Something like this. Doesn't look much better IMHO. A __builtin_cpu_supported_as_compiled () would be nice to have though (mat

[Bug testsuite/97688] check_vect doesn't detect AVX2 on zen

2020-11-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97688 --- Comment #12 from H.J. Lu --- Created attachment 49495 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49495&action=edit Something like this.

[Bug testsuite/97688] check_vect doesn't detect AVX2 on zen

2020-11-03 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97688 --- Comment #11 from rguenther at suse dot de --- On Tue, 3 Nov 2020, hjl.tools at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97688 > > --- Comment #10 from H.J. Lu --- > FWIW, x86 source in gcc testsuite should be con

[Bug testsuite/97688] check_vect doesn't detect AVX2 on zen

2020-11-03 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97688 --- Comment #10 from H.J. Lu --- FWIW, x86 source in gcc testsuite should be converted to __builtin_cpu_supports().

[Bug testsuite/97688] check_vect doesn't detect AVX2 on zen

2020-11-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97688 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/97688] check_vect doesn't detect AVX2 on zen

2020-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97688 --- Comment #8 from CVS Commits --- The releases/gcc-8 branch has been updated by Richard Biener : https://gcc.gnu.org/g:80b6f6cf6374a6541a7515d7bfef1a3506db2a3d commit r8-10606-g80b6f6cf6374a6541a7515d7bfef1a3506db2a3d Author: Richard Biener

[Bug testsuite/97688] check_vect doesn't detect AVX2 on zen

2020-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97688 --- Comment #7 from CVS Commits --- The releases/gcc-9 branch has been updated by Richard Biener : https://gcc.gnu.org/g:e42cb1d48035b85a43adb202433ff0193c151410 commit r9-9021-ge42cb1d48035b85a43adb202433ff0193c151410 Author: Richard Biener D

[Bug testsuite/97688] check_vect doesn't detect AVX2 on zen

2020-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97688 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:725244355f83de56f8692abc6c0e1b3d4d248198 commit r10-8968-g725244355f83de56f8692abc6c0e1b3d4d248198 Author: Richard Biener

[Bug testsuite/97688] check_vect doesn't detect AVX2 on zen

2020-11-03 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97688 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:8414529156e0bca37647c440c71beeca1d04ac86 commit r11-4647-g8414529156e0bca37647c440c71beeca1d04ac86 Author: Richard Biener Date:

[Bug testsuite/97688] check_vect doesn't detect AVX2 on zen

2020-11-03 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97688 --- Comment #4 from Uroš Bizjak --- (In reply to Richard Biener from comment #3) > Ah. So I guess > > diff --git a/gcc/testsuite/gcc.dg/vect/tree-vect.h > b/gcc/testsuite/gcc.dg/vect/tree-vect.h > index 5d8d9eba3f8..c4b81441216 100644 > --- a/g

[Bug testsuite/97688] check_vect doesn't detect AVX2 on zen

2020-11-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97688 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug testsuite/97688] check_vect doesn't detect AVX2 on zen

2020-11-03 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97688 --- Comment #2 from Richard Biener --- Hmm, it doesn't work on a i7-8565U either ... Doesn't work means check_vect () does exit (0). Those do not end up UNSUPPORTED (not sure if using a magic exit code to communicate this would be possible). L

[Bug testsuite/97688] check_vect doesn't detect AVX2 on zen

2020-11-03 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97688 --- Comment #1 from Uroš Bizjak --- AVX2 should be detected using __get_cpuid_count, because a sub-leaf needs to be specified for leaf 7.