[llvm-commits] [llvm] r76684 - /llvm/trunk/include/llvm/IntrinsicsX86.td

Eric Christopher echristo at apple.com
Tue Jul 21 16:51:27 PDT 2009


On Jul 21, 2009, at 4:47 PM, Eli Friedman wrote:

> On Tue, Jul 21, 2009 at 4:43 PM, Eric  
> Christopher<echristo at apple.com> wrote:
>> Author: echristo
>> Date: Tue Jul 21 18:43:14 2009
>> New Revision: 76684
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=76684&view=rev
>> Log:
>> Add intrinsic for __builtin_ia32_vec_set_v4si which turns out to be
>> pinsrd in sse4.1.
>
> pinsrd == insertelement <4 x i32> %vec, i32 %val, i32 %index.
> llvm-gcc should be lowering this.

Interesting. Shouldn't be much different than the i8 for pinsrb  
(though I noticed that the quad version is also missing). Guess it  
could be lowered though along with all of the other assorteds.   
Thoughts?

-eric



More information about the llvm-commits mailing list