[PATCH] D71879: [X86] Custom widen 128/256-bit vXi32 fp_to_uint on avx512f targets without avx512vl. Similar for vXi64 on avx512dq without avx512vl.

Pengfei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 25 18:23:29 PST 2019


pengfei added a comment.

Do you have plan for uint_to _fp and signed i64? Otherwise, I can do it.



================
Comment at: llvm/test/CodeGen/X86/vec-strict-fptoint-256.ll:1122
 ; AVX512DQ:       # %bb.0:
 ; AVX512DQ-NEXT:    vcvttps2dq %ymm0, %ymm0
 ; AVX512DQ-NEXT:    vpmovdw %zmm0, %ymm0
----------------
craig.topper wrote:
> pengfei wrote:
> > There're tests for AVX512DQ that don't use zmm registers, I guess the actions for them are not correctly set.
> vcvttps2dq ymm, ymm is an avx2 instruction.
Oh, I see. Thanks!


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71879/new/

https://reviews.llvm.org/D71879





More information about the llvm-commits mailing list