[PATCH] D12052: [X86][SSE] Add _mm_undefined_* intrinsics

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 19 01:21:56 PDT 2015


RKSimon updated this revision to Diff 32514.
RKSimon added a comment.

Added ia32 builtin undef intrinsics (I didn't bother with the mmx as I can't find any evidence of an undefined intrinsic for it). Added the avx512 intrinsics referenced in the intel intrinsics guide.

Technically there's nothing stopping us making these builtin more general (non x86 specific) - I don't know if people want us to go that way though?

I'll make the tests more explicit once we're happy that this is the way to go.


Repository:
  rL LLVM

http://reviews.llvm.org/D12052

Files:
  include/clang/Basic/BuiltinsX86.def
  lib/CodeGen/CGBuiltin.cpp
  lib/Headers/avx512fintrin.h
  lib/Headers/avxintrin.h
  lib/Headers/emmintrin.h
  lib/Headers/xmmintrin.h
  test/CodeGen/sse-undefined.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12052.32514.patch
Type: text/x-patch
Size: 5028 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150819/296c3f36/attachment.bin>


More information about the cfe-commits mailing list