This is an archive of the discontinued LLVM Phabricator instance.

[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.



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.


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

Float->FloatOp ?


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