<div dir="ltr">Doesn't Intel's own documentation say these are in pmmintrin.h? gcc has them there as well.<div><br></div><div><a href="https://software.intel.com/en-us/node/683881">https://software.intel.com/en-us/node/683881</a><br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature">~Craig</div></div>
<br><div class="gmail_quote">On Sun, Feb 26, 2017 at 3:58 AM, Oren Ben Simhon via cfe-commits <span dir="ltr"><<a href="mailto:cfe-commits@lists.llvm.org" target="_blank">cfe-commits@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">Author: orenb<br>
Date: Sun Feb 26 05:58:15 2017<br>
New Revision: 296296<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=296296&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project?rev=296296&view=rev</a><br>
Log:<br>
[X86] DAZ Macros Relocation<br>
<br>
The DAZ feature introduces the denormal zero support for x86.<br>
Currently the definitions are located under SSE3 header, however there are some SSE2 targets that support the feature as well.<br>
<br>
Differential Revision: <a href="https://reviews.llvm.org/D30194" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D30194</a><br>
<br>
<br>
Modified:<br>
cfe/trunk/lib/Headers/<wbr>emmintrin.h<br>
cfe/trunk/lib/Headers/<wbr>pmmintrin.h<br>
<br>
Modified: cfe/trunk/lib/Headers/<wbr>emmintrin.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/emmintrin.h?rev=296296&r1=296295&r2=296296&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/cfe/trunk/lib/Headers/<wbr>emmintrin.h?rev=296296&r1=<wbr>296295&r2=296296&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- cfe/trunk/lib/Headers/<wbr>emmintrin.h (original)<br>
+++ cfe/trunk/lib/Headers/<wbr>emmintrin.h Sun Feb 26 05:58:15 2017<br>
@@ -4810,4 +4810,12 @@ void _mm_pause(void);<br>
<br>
#define _MM_SHUFFLE2(x, y) (((x) << 1) | (y))<br>
<br>
+#define _MM_DENORMALS_ZERO_ON (0x0040)<br>
+#define _MM_DENORMALS_ZERO_OFF (0x0000)<br>
+<br>
+#define _MM_DENORMALS_ZERO_MASK (0x0040)<br>
+<br>
+#define _MM_GET_DENORMALS_ZERO_MODE() (_mm_getcsr() & _MM_DENORMALS_ZERO_MASK)<br>
+#define _MM_SET_DENORMALS_ZERO_MODE(x) (_mm_setcsr((_mm_getcsr() & ~_MM_DENORMALS_ZERO_MASK) | (x)))<br>
+<br>
#endif /* __EMMINTRIN_H */<br>
<br>
Modified: cfe/trunk/lib/Headers/<wbr>pmmintrin.h<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/pmmintrin.h?rev=296296&r1=296295&r2=296296&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/cfe/trunk/lib/Headers/<wbr>pmmintrin.h?rev=296296&r1=<wbr>296295&r2=296296&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- cfe/trunk/lib/Headers/<wbr>pmmintrin.h (original)<br>
+++ cfe/trunk/lib/Headers/<wbr>pmmintrin.h Sun Feb 26 05:58:15 2017<br>
@@ -257,14 +257,6 @@ _mm_movedup_pd(__m128d __a)<br>
return __builtin_shufflevector((__<wbr>v2df)__a, (__v2df)__a, 0, 0);<br>
}<br>
<br>
-#define _MM_DENORMALS_ZERO_ON (0x0040)<br>
-#define _MM_DENORMALS_ZERO_OFF (0x0000)<br>
-<br>
-#define _MM_DENORMALS_ZERO_MASK (0x0040)<br>
-<br>
-#define _MM_GET_DENORMALS_ZERO_MODE() (_mm_getcsr() & _MM_DENORMALS_ZERO_MASK)<br>
-#define _MM_SET_DENORMALS_ZERO_MODE(x) (_mm_setcsr((_mm_getcsr() & ~_MM_DENORMALS_ZERO_MASK) | (x)))<br>
-<br>
/// \brief Establishes a linear address memory range to be monitored and puts<br>
/// the processor in the monitor event pending state. Data stored in the<br>
/// monitored address range causes the processor to exit the pending state.<br>
<br>
<br>
______________________________<wbr>_________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@lists.llvm.org">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/<wbr>mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div>