http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59617
--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> --- (In reply to Dominique d'Humieres from comment #5) > Created attachment 32530 [details] > Preprocessed file for avx512f-gather-5.c on x86_64-apple-darwin13 > > (In reply to UroÅ Bizjak from comment #4) > > I have compiled the preprocessed file with a crosscompiler from > > x86_64-pc-linux-gnu to x86_64-apple-darwin10.8.0 (gcc was configured with > > --target=x86_64-apple-darwin10.8.0) without problems. > > > > (preprocessed file was obtained from the native x86_64-pc-linux-gnu > > compilation). > > > > $ ~/gcc-build-xxx/gcc/cc1 -O3 -mavx512f -quiet avx512f-gather-5.i > > $ grep gather avx512f-gather-5.s > > vgatherdps (%rbx,%zmm0,4), %zmm2{%k2} > > vgatherdps (%rdx,%zmm0,4), %zmm1{%k3} > > Could you compare your preprocessed file obtained from the native > x86_64-pc-linux-gnu to the attached one obtained from the native > x86_64-apple-darwin13? linux preprocessed file has a couple of *__restrict modifiers in: -# 6 "avx512f-gather-4.c" 2 +# 6 "/opt/gcc/_clean/gcc/testsuite/gcc.target/i386/avx512f-gather-4.c" 2 int a[1024], b[1024], c[1024], d[1024]; __attribute__((noinline, noclone)) void -foo (float *__restrict p, float *__restrict q, float *__restrict r, +foo (float * p, float * q, float * r, int s1, int s2, int s3) { int i;