r333978 - Reimplement the bittest intrinsic family as builtins with inline asm

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 5 11:01:53 PDT 2018


On Tue, Jun 5, 2018 at 2:33 AM Martin Storsjö <martin at martin.st> wrote:

> > // Many of MSVC builtins are on both x64 and ARM; to avoid repeating
> code, we
> > // handle them here.
>
> This doesn't seem thought through wrt non-x86 architectures. I'm not sure
> if there's any similar suitable instruction to use on ARM/AArch64, but we
> should at the very least fall back to doing whatever we did before this
> change for anything not x86.
>

 I'll go back and take a look, but I'm not convinced that what we did
before was correct for ARM either. I'm installing the Visual C++ aarch64
compiler now so I can make sure we get it right.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180605/0f8db373/attachment-0001.html>


More information about the cfe-commits mailing list