[llvm-bugs] [Bug 29040] New: Arguments to _mm512_[mask_]abs_ps|d infringe on the user namespace
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Aug 18 11:16:06 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=29040
Bug ID: 29040
Summary: Arguments to _mm512_[mask_]abs_ps|d infringe on the
user namespace
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Headers
Assignee: unassignedclangbugs at nondot.org
Reporter: david.l.kreitzer at intel.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
These functions were added to avx512fintrin.h in r274542:
+static __inline__ __m512 __DEFAULT_FN_ATTRS
+_mm512_abs_ps(__m512 A)
+{
+ return (__m512)_mm512_and_epi32(_mm512_set1_epi32(0x7FFFFFFF),(__m512i)A) ;
+}
+
+static __inline__ __m512 __DEFAULT_FN_ATTRS
+_mm512_mask_abs_ps(__m512 W, __mmask16 K, __m512 A)
+{
+ return (__m512)_mm512_mask_and_epi32((__m512i)W, K,
_mm512_set1_epi32(0x7FFFFFFF),(__m512i)A) ;
+}
+
+static __inline__ __m512d __DEFAULT_FN_ATTRS
+_mm512_abs_pd(__m512d A)
+{
+ return
(__m512d)_mm512_and_epi64(_mm512_set1_epi64(0x7FFFFFFFFFFFFFFF),(__v8di)A) ;
+}
+
+static __inline__ __m512d __DEFAULT_FN_ATTRS
+_mm512_mask_abs_pd(__m512d W, __mmask8 K, __m512d A)
+{
+ return (__m512d)_mm512_mask_and_epi64((__v8di)W, K,
_mm512_set1_epi64(0x7FFFFFFFFFFFFFFF),(__v8di)A);
+}
+
The argument names should be prefixed with "__".
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160818/057fd4ab/attachment.html>
More information about the llvm-bugs
mailing list