Page MenuHomePhabricator

[Clang][X86] Converting X86 intrinisics movmsk{ps|pd}{|256} and pmovmskb{128|256}
Needs ReviewPublic

Authored by m_zuckerman on Nov 26 2017, 3:38 AM.

Details

Summary

With a continue to the work that was done on the LLVM side. This patch adds the clang side of the converting for the six intrinsic. In overall there are two functions. One for the floating point intrinsics family and the other to the integer. The function converts between float to integer types and then uses the second function as a regular call to an integer while the integer intrinsics family only calls the second function.

LLVM-SIDE https://reviews.llvm.org/D40462?id=124275

Diff Detail

Event Timeline

m_zuckerman created this revision.Nov 26 2017, 3:38 AM
guyblank added inline comments.Dec 13 2017, 7:11 AM
lib/CodeGen/CGBuiltin.cpp
7507

Float->FloatOp ?

7509

can you use getIntNTy here?
and maybe name the variable: IntTy or something similar

m_zuckerman marked 2 inline comments as done.
igorb resigned from this revision.Aug 14 2018, 1:56 AM