[cfe-commits] r114349 - /cfe/trunk/include/clang/Basic/BuiltinsX86.def

Eric Christopher echristo at apple.com
Mon Sep 20 18:08:57 PDT 2010


On Sep 20, 2010, at 6:07 PM, Chris Lattner wrote:

> 
> On Sep 20, 2010, at 6:02 PM, Eric Christopher wrote:
> 
>>> @@ -37,6 +38,7 @@
>>> BUILTIN(__builtin_ia32_psubb, "V8cV8cV8c", "")
>>> BUILTIN(__builtin_ia32_psubw, "V4sV4sV4s", "")
>>> BUILTIN(__builtin_ia32_psubd, "V2iV2iV2i", "")
>>> +BUILTIN(__builtin_ia32_psubq, "V1LLiV1LLiV1LLi", "")
>>> BUILTIN(__builtin_ia32_psubsb, "V8cV8cV8c", "")
>>> BUILTIN(__builtin_ia32_psubsw, "V4sV4sV4s", "")
>>> BUILTIN(__builtin_ia32_psubusb, "V8cV8cV8c", "")
>> 
>> These were missing largely because the functionality works with '-' or '+' on the
>> representative types and we'd not been adding them in cases where they were
>> missing since the intel intrinsics are the ones that we want people using.
>> 
>> That said it looks like we've got a lot of them already.
> 
> We're intentionally violating that model with MMX: we don't want generic vectors mapping onto mmx anymore.

Figured it was something like that.  Might be good to separate them out in the file with a comment.

-eric



More information about the cfe-commits mailing list