]> granicus.if.org Git - clang/commit
[X86] Make _mm_mask_cvtps_ph, _mm_maskz_cvtps_ph, _mm256_mask_cvtps_ph, and _mm256_ma...
authorCraig Topper <craig.topper@intel.com>
Thu, 20 Jun 2019 18:24:29 +0000 (18:24 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 20 Jun 2019 18:24:29 +0000 (18:24 +0000)
commit2e7bd0e21fbeb109acbd96994ca0f1712e46eea2
tree2a6f6ad9dfd134623a083c92c446ab1a05853a77
parent7916376ed0682d49466dd54c4abd8ea30e6975a5
[X86] Make _mm_mask_cvtps_ph, _mm_maskz_cvtps_ph, _mm256_mask_cvtps_ph, and _mm256_maskz_cvtps_ph aliases for their corresponding cvt_roundps_ph intrinsic.

These intrinsics should always take an immediate for the rounding mode.
The base instruction comes from before EVEX embdedded rounding. The
user should always provide the immediate rather than us assuming
CUR_DIRECTION.

Make the 512-bit versions also explicit aliases instead of copy
pasting the code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@363961 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/avx512fintrin.h
lib/Headers/avx512vlintrin.h
test/CodeGen/avx512vl-builtins.c