<div dir="ltr">Thanks for the correction Sanjay; I meant VANDNPS. <div><br></div><div>Thanks Craig. I guess that works. Is there a better way to get access to AVX intrinsics in the future? I am using LLVM to jit AVX code and I need to use the intrinsics directly when there isn't a native LLVM intrinsic. Is there any reason why these aren't exposed to LLVM users when a native LLVM intrinsic doesn't exist?<div><br></div></div><div>- Matt</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Dec 31, 2015 at 1:53 PM Craig Topper <<a href="mailto:craig.topper@gmail.com">craig.topper@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I don't think there is an intrinsic. This is supported by native IR by looking for something like (and %a, (xor %b, -1))</div><div class="gmail_extra"></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 31, 2015 at 1:25 PM, Sanjay Patel via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Matt -<br></div>I think this should either be VPANDN (integer) or VANDNPS (float); there is no "VPANDNPS".<br></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Thu, Dec 31, 2015 at 1:32 PM, Matthew Stoll via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div class="gmail_quote"><div dir="ltr">Hello all -<br></div><div dir="ltr"><div><br><div>I'm trying to find the llvm intrinsic name for the VPANDNPS AVX instruction to be able to call the intrinsic directly (usually something like x86_avx2_xxx). Usually google or a search through the .td files or source turns something up, but I'm stumped with this one. Any help would be much appreciated.</div><div><br></div><div>Thanks -</div><div><br></div><div>Matt</div></div></div></div></div>
<br></div></div>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div></div><div class="gmail_extra">-- <br><div>~Craig</div>
</div></blockquote></div>