r203722 - MS intrinsics: implement the __movs and __stos intrinsics (PR19054)

Hans Wennborg hans at chromium.org
Wed Mar 12 16:08:05 PDT 2014


On Wed, Mar 12, 2014 at 3:53 PM, Joerg Sonnenberger
<joerg at britannica.bec.de> wrote:
> On Wed, Mar 12, 2014 at 10:00:32PM -0000, Hans Wennborg wrote:
>> Author: hans
>> Date: Wed Mar 12 17:00:32 2014
>> New Revision: 203722
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=203722&view=rev
>> Log:
>> MS intrinsics: implement the __movs and __stos intrinsics (PR19054)
>
> Why is this not just mapping them to __builtin_memmove /
> __builtin_memset?

I figured someone using these intrinsics would want the exact "rep
movs" and "rep stos" generated, and I don't think our builtins
guarantee that. If that doesn't matter, I'm fine with using the
builtins.

 - Hans



More information about the cfe-commits mailing list