[X86] Add XSAVE intrinsic family
authorAmjad Aboud <amjad.aboud@intel.com>
Mon, 12 Oct 2015 11:47:46 +0000 (11:47 +0000)
committerAmjad Aboud <amjad.aboud@intel.com>
Mon, 12 Oct 2015 11:47:46 +0000 (11:47 +0000)
commit8e03ab46f272b691787fcbd85c58717fb34b2aa1
treec4a6d9e5ac6f105f4db5447c90df99eaabc4d032
parent21a5e4de9b97aebb853b029b4dcbad272f2f824e
[X86] Add XSAVE intrinsic family

Add intrinsics for the
  XSAVE instructions (XSAVE/XSAVE64/XRSTOR/XRSTOR64)
  XSAVEOPT instructions (XSAVEOPT/XSAVEOPT64)
  XSAVEC instructions (XSAVEC/XSAVEC64)
  XSAVES instructions (XSAVES/XSAVES64/XRSTORS/XRSTORS64)

Differential Revision: http://reviews.llvm.org/D13012

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@250029 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
include/llvm/IR/IntrinsicsX86.td
lib/Support/Host.cpp
lib/Target/X86/X86.td
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86InstrSystem.td
lib/Target/X86/X86Subtarget.cpp
lib/Target/X86/X86Subtarget.h
test/CodeGen/X86/system-intrinsics-64-xsave.ll [new file with mode: 0644]
test/CodeGen/X86/system-intrinsics-64-xsavec.ll [new file with mode: 0644]
test/CodeGen/X86/system-intrinsics-64-xsaveopt.ll [new file with mode: 0644]
test/CodeGen/X86/system-intrinsics-64-xsaves.ll [new file with mode: 0644]
test/CodeGen/X86/system-intrinsics-xsave.ll [new file with mode: 0644]
test/CodeGen/X86/system-intrinsics-xsavec.ll [new file with mode: 0644]
test/CodeGen/X86/system-intrinsics-xsaveopt.ll [new file with mode: 0644]
test/CodeGen/X86/system-intrinsics-xsaves.ll [new file with mode: 0644]