<div dir="ltr">Thanks Craig!<div><br></div><div>-eric</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 15, 2015 at 10:27 PM Craig Topper via cfe-commits <<a href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: ctopper<br>
Date: Fri Oct 16 00:25:15 2015<br>
New Revision: 250496<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=250496&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=250496&view=rev</a><br>
Log:<br>
[X86] Add sse4.2 feature name to CRC32 builtins.<br>
<br>
Modified:<br>
cfe/trunk/include/clang/Basic/BuiltinsX86.def<br>
<br>
Modified: cfe/trunk/include/clang/Basic/BuiltinsX86.def<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/BuiltinsX86.def?rev=250496&r1=250495&r2=250496&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/BuiltinsX86.def?rev=250496&r1=250495&r2=250496&view=diff</a><br>
==============================================================================<br>
--- cfe/trunk/include/clang/Basic/BuiltinsX86.def (original)<br>
+++ cfe/trunk/include/clang/Basic/BuiltinsX86.def Fri Oct 16 00:25:15 2015<br>
@@ -414,10 +414,10 @@ TARGET_BUILTIN(__builtin_ia32_pcmpestrio<br>
TARGET_BUILTIN(__builtin_ia32_pcmpestris128, "iV16ciV16ciIc","", "sse4.2")<br>
TARGET_BUILTIN(__builtin_ia32_pcmpestriz128, "iV16ciV16ciIc","", "sse4.2")<br>
<br>
-BUILTIN(__builtin_ia32_crc32qi, "UiUiUc", "")<br>
-BUILTIN(__builtin_ia32_crc32hi, "UiUiUs", "")<br>
-BUILTIN(__builtin_ia32_crc32si, "UiUiUi", "")<br>
-BUILTIN(__builtin_ia32_crc32di, "ULLiULLiULLi", "")<br>
+TARGET_BUILTIN(__builtin_ia32_crc32qi, "UiUiUc", "", "sse4.2")<br>
+TARGET_BUILTIN(__builtin_ia32_crc32hi, "UiUiUs", "", "sse4.2")<br>
+TARGET_BUILTIN(__builtin_ia32_crc32si, "UiUiUi", "", "sse4.2")<br>
+TARGET_BUILTIN(__builtin_ia32_crc32di, "ULLiULLiULLi", "", "sse4.2")<br>
<br>
// SSE4a<br>
TARGET_BUILTIN(__builtin_ia32_extrqi, "V2LLiV2LLiIcIc", "", "sse4a")<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a><br>
</blockquote></div>