[LLVMdev] Using intrinsics with memory operands
nicolas at capens.net
Fri Aug 1 00:10:33 PDT 2008
I was wondering how to use variations of intrinsic functions that take a
Take for example the SSE4.1 pmovsxbd instruction. One variant takes two XMM
registers, while another has a 32-bit memory location as source operand. The
latter is quite interesting if you know you're reading from memory anyway,
and if it's not 16-byte aligned. It looks like LLVM's
Intrinsic::x86_sse41_pmovsxbd expects a v16i8 as source operand though. So
how do I achieve using the variant taking a memory operand?
Thanks a bunch,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev