[Bug libgcc/71559] ICE in ix86_fp_cmp_code_to_pcmp_immediate, at config/i386/i386.c:23042 (KNL/AVX512)

2016-06-18 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71559 --- Comment #12 from Uroš Bizjak --- (In reply to jos...@codesourcery.com from comment #11) > There are definitely bugs on some architectures involving ordinary ordered > comparisons such as < and >= wrongly using quiet instructions. See bug

[Bug libgcc/71559] ICE in ix86_fp_cmp_code_to_pcmp_immediate, at config/i386/i386.c:23042 (KNL/AVX512)

2016-06-17 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71559 --- Comment #11 from joseph at codesourcery dot com --- On Fri, 17 Jun 2016, jakub at gcc dot gnu.org wrote: > The patch is completely untested though (and wonder if we have testcases for > not raising exceptions when isgreater etc. arguments

[Bug libgcc/71559] ICE in ix86_fp_cmp_code_to_pcmp_immediate, at config/i386/i386.c:23042 (KNL/AVX512)

2016-06-17 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71559 --- Comment #10 from H.J. Lu --- This is related to PR 37158?

[Bug libgcc/71559] ICE in ix86_fp_cmp_code_to_pcmp_immediate, at config/i386/i386.c:23042 (KNL/AVX512)

2016-06-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71559 --- Comment #9 from Jakub Jelinek --- If I compile the above testcase with -O2 -mavx -ftrapping-math, then it generates vucomiss in each case, which seems wrong to me (because for gt/ge/lt/le it should raise exceptions, so IMHO should use

[Bug libgcc/71559] ICE in ix86_fp_cmp_code_to_pcmp_immediate, at config/i386/i386.c:23042 (KNL/AVX512)

2016-06-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71559 Jakub Jelinek changed: What|Removed |Added CC||hjl.tools at gmail dot com,

[Bug libgcc/71559] ICE in ix86_fp_cmp_code_to_pcmp_immediate, at config/i386/i386.c:23042 (KNL/AVX512)

2016-06-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71559 --- Comment #7 from Jakub Jelinek --- I've created the table just by walking through the 'D' handling. That said, looking e.g. at https://people.eecs.berkeley.edu/~wkahan/ieee754status/IEEE754.PDF for the C comparisons (EQ, NE, LT, LE, GT, GE)

[Bug libgcc/71559] ICE in ix86_fp_cmp_code_to_pcmp_immediate, at config/i386/i386.c:23042 (KNL/AVX512)

2016-06-17 Thread tripiana at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71559 --- Comment #6 from Carlos Tripiana Montes --- Hope you guys can do that and fix this problem soon. It would much appreciated as we are (at Barcelona Supercomputing Center, Spain) doing research on KNL and we need the fastest/most robust code we

[Bug libgcc/71559] ICE in ix86_fp_cmp_code_to_pcmp_immediate, at config/i386/i386.c:23042 (KNL/AVX512)

2016-06-17 Thread ienkovich at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71559 Ilya Enkovich changed: What|Removed |Added CC||ienkovich at gcc dot gnu.org ---

[Bug libgcc/71559] ICE in ix86_fp_cmp_code_to_pcmp_immediate, at config/i386/i386.c:23042 (KNL/AVX512)

2016-06-17 Thread tripiana at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71559 --- Comment #4 from Carlos Tripiana Montes --- I wasn't sure but that was my intuition. But I'm afraid I don't have enough knowledge to propose a fix. (In reply to Jakub Jelinek from comment #3) > I'd say it is a bug in

[Bug libgcc/71559] ICE in ix86_fp_cmp_code_to_pcmp_immediate, at config/i386/i386.c:23042 (KNL/AVX512)

2016-06-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71559 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libgcc/71559] ICE in ix86_fp_cmp_code_to_pcmp_immediate, at config/i386/i386.c:23042 (KNL/AVX512)

2016-06-17 Thread izamyatin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71559 Igor Zamyatin changed: What|Removed |Added CC||izamyatin at gmail dot com --- Comment

[Bug libgcc/71559] ICE in ix86_fp_cmp_code_to_pcmp_immediate, at config/i386/i386.c:23042 (KNL/AVX512)

2016-06-16 Thread tripiana at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71559 --- Comment #1 from Carlos Tripiana Montes --- Does anyone has a clue on this? I've tried to follow the stacktrace and it seems like it's generating an invalid code tag for this particular operation. Any help would be much appreciated!