[PATCH] D80251: [X86] Update some av512 shift intrinsics to use "unsigned int" parameter instead of int to match Intel documentaiton

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 19 14:53:52 PDT 2020


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel.

There are 65 that take a scalar shift amount. Intel documentation shows 60 of them taking unsigned int. There are 5 versions of srli_epi16 that use int, the 512-bit maskz and 128/256 mask/maskz.

Fixes PR45931


https://reviews.llvm.org/D80251

Files:
  clang/lib/Headers/avx512bwintrin.h
  clang/lib/Headers/avx512fintrin.h
  clang/lib/Headers/avx512vlbwintrin.h
  clang/lib/Headers/avx512vlintrin.h
  clang/test/CodeGen/avx512bw-builtins.c
  clang/test/CodeGen/avx512f-builtins.c
  clang/test/CodeGen/avx512vl-builtins.c
  clang/test/CodeGen/avx512vlbw-builtins.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80251.265051.patch
Type: text/x-patch
Size: 46393 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200519/2a49b20a/attachment-0001.bin>


More information about the cfe-commits mailing list