[PATCH] D38609: [X86] Enable extended comparison predicate support when targeting AVX-512 instructions.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 5 17:52:11 PDT 2017


craig.topper created this revision.

If we are using AVX512 instructions I think we can assume that all the comparison predicates are supported since we don't have an AMD implementation to compare against?

Though maybe we proved that AMD really does implement all 32 comparisons correctly in AVX1/2? We are using 0xF to create all ones on AVX1 right?


https://reviews.llvm.org/D38609

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/avx512-mov.ll
  test/CodeGen/X86/avx512-schedule.ll
  test/CodeGen/X86/avx512vl-mov.ll
  test/CodeGen/X86/commute-fcmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38609.117939.patch
Type: text/x-patch
Size: 18077 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171006/69d16a94/attachment.bin>


More information about the llvm-commits mailing list