http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59617
--- Comment #5 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Created attachment 32530 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32530&action=edit 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?