[PATCH] D11354: [X86][AVX512F] add arithmetic intrinsics

Michael Kuperstein michael.m.kuperstein at intel.com
Mon Jul 20 13:31:34 PDT 2015


mkuper added inline comments.

================
Comment at: lib/Headers/avx512fintrin.h:55
@@ +54,3 @@
+_mm512_undefined_ps (void) {
+  __m512 __Y = __Y;
+  return __Y;
----------------
What we need here is an undef value.
Are you sure this doesn't invoke undefined behavior?

My gut feeling is that the way to properly get an undef value would be to use a __builtin that evaluates to undef.


Repository:
  rL LLVM

http://reviews.llvm.org/D11354







More information about the llvm-commits mailing list