[LLVMdev] SSE Scalar Convert Intrinsics

Eli Friedman eli.friedman at gmail.com
Fri Jun 5 15:48:34 PDT 2009

On Fri, Jun 5, 2009 at 3:19 PM, David Greene<dag at cray.com> wrote:
> On Friday 05 June 2009 15:22, Eli Friedman wrote:
>> > Do we need two intrinsics for these scalar converts, one to satisfy the
>> > (arguably broken) GCC interface and one to really reflect the operation
>> > as specified by the ISA?
>> We really need zero intrinsics... it's quite easy to map onto existing
>> LLVM instructions.  See the definition of CVTSD2SIrm.
> In some cases, yes.  But not all of the X86 instructions are accessible
> through LLVM IR.

Like this one :)  Sorry, I was confusing it with CVTTSD2SIrm.


More information about the llvm-dev mailing list