[PATCH] AVX intrinsics were broken on CPU with AVX-512 instruction set

Robert Khasanov rob.khasanov at gmail.com
Mon Jul 21 11:49:42 PDT 2014


Hi delena, nadav,

This patch fixes AVX intrinsics on AVX512 target.
UseAVX is changed to HasAVX for some instructions. AVX512 instructions are prioritized over AVX instructions through AddedComplexity.
Added avx-intrinsics-x86.ll testing on skx.

http://reviews.llvm.org/D4605

Files:
  lib/Target/X86/X86InstrAVX512.td
  lib/Target/X86/X86InstrFormats.td
  lib/Target/X86/X86InstrSSE.td
  test/CodeGen/X86/avx-intrinsics-x86.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4605.11715.patch
Type: text/x-patch
Size: 6218 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140721/8db5ba59/attachment.bin>


More information about the llvm-commits mailing list