[PATCH] D35965: [X86] SET0 to use XMM registers where possible PR26018 PR32862 2/2

Dinar Temirbulatov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 27 16:27:50 PDT 2017


dtemirbulatov created this revision.

This is part2 of https://reviews.llvm.org/D35839 and this change is related to AVX512.

VEX-encoded vxorps %xmm0, %xmm0, %xmm0 does the same thing as EVEX-encoded vxorps %zmm0, %zmm0, %zmm0, zeroing the full-width vector and breaking dependencies on the old value of the architectural register.

The VEX version is one byte shorter than the EVEX version.


https://reviews.llvm.org/D35965

Files:
  lib/Target/X86/X86InstrInfo.cpp
  test/CodeGen/X86/avx-intrinsics-x86.ll
  test/CodeGen/X86/avx512-arith.ll
  test/CodeGen/X86/avx512-build-vector.ll
  test/CodeGen/X86/avx512-cvt.ll
  test/CodeGen/X86/avx512-gather-scatter-intrin.ll
  test/CodeGen/X86/avx512-intrinsics.ll
  test/CodeGen/X86/avx512-mask-op.ll
  test/CodeGen/X86/avx512-masked-memop-64-32.ll
  test/CodeGen/X86/avx512-mov.ll
  test/CodeGen/X86/avx512-select.ll
  test/CodeGen/X86/avx512-skx-insert-subvec.ll
  test/CodeGen/X86/avx512-vbroadcast.ll
  test/CodeGen/X86/avx512-vselect-crash.ll
  test/CodeGen/X86/avx512-vselect.ll
  test/CodeGen/X86/avx512bw-mov.ll
  test/CodeGen/X86/avx512bwvl-mov.ll
  test/CodeGen/X86/avx512ifma-intrinsics.ll
  test/CodeGen/X86/avx512vbmi-intrinsics.ll
  test/CodeGen/X86/avx512vbmivl-intrinsics.ll
  test/CodeGen/X86/avx512vl-arith.ll
  test/CodeGen/X86/avx512vl-intrinsics.ll
  test/CodeGen/X86/avx512vl-mov.ll
  test/CodeGen/X86/avx512vl-vec-masked-cmp.ll
  test/CodeGen/X86/compress_expand.ll
  test/CodeGen/X86/fma_patterns_wide.ll
  test/CodeGen/X86/madd.ll
  test/CodeGen/X86/masked_gather_scatter.ll
  test/CodeGen/X86/merge-consecutive-loads-512.ll
  test/CodeGen/X86/nontemporal-loads.ll
  test/CodeGen/X86/sad.ll
  test/CodeGen/X86/vector-lzcnt-512.ll
  test/CodeGen/X86/vector-popcnt-512.ll
  test/CodeGen/X86/vector-shift-ashr-512.ll
  test/CodeGen/X86/vector-shuffle-512-v16.ll
  test/CodeGen/X86/vector-shuffle-512-v64.ll
  test/CodeGen/X86/vector-shuffle-512-v8.ll
  test/CodeGen/X86/vector-shuffle-avx512.ll
  test/CodeGen/X86/vector-shuffle-combining-avx512bw.ll
  test/CodeGen/X86/vector-shuffle-v1.ll
  test/CodeGen/X86/vector-tzcnt-512.ll
  test/CodeGen/X86/vselect-pcmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35965.108547.patch
Type: text/x-patch
Size: 299533 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170727/66438136/attachment-0001.bin>


More information about the llvm-commits mailing list