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

Chandler Carruth chandlerc at google.com
Wed Mar 12 16:21:59 PDT 2014


On Wed, Mar 12, 2014 at 4:08 PM, Hans Wennborg <hans at chromium.org> wrote:

> 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.


I think given the names of these builtins, that is a reasonable assumption
(sadly).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140312/54f9f45f/attachment.html>


More information about the cfe-commits mailing list