This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello UroÅ, On 18 Dec 17:08, Uros Bizjak wrote: > +/* { dg-do run } */ > +/* { dg-options "-O2 -mavx512cd -DHAVE_512 -DAVX512CD" } */ > +/* { dg-require-effective-target avx512cd } */ > + > +#include "avx512f-helper.h" > > Please put the definitions in the source itself, not in command line. Done. > + if ((avx512f_os_support ()) && ((ebx & (bit_AVX512ER)) == > (bit_AVX512ER))) > > No need for parenthesis around bit_* constants. They alredy have > needed parenthesis in cpuid.h. Done. > + src = *(int *) &source; > > Strict aliasing violation. > > + dest = (sign << 31) | (exp << 23) | fraction; > + return *(float *) &dest; > > also here. I've passed whole my testsuite with -Wstrict-aliasing fixing viloations. > The patch is otherwise OK for mainline, on the (obvious) condition > that other patches get approved and committed first. Thanks. I am testing patch (attached) and will check it in tomorrow if testing will pass and no more inputs. -- Thanks,K
Attachment:
p.patch.bz2
Description: BZip2 compressed data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |