[PATCH] D13014: [X86] Add XSAVE intrinsics (Clang part)

Amjad Aboud via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 21 05:45:45 PDT 2015


aaboud created this revision.
aaboud added reviewers: mkuper, delena, craig.topper.
aaboud added a subscriber: cfe-commits.
aaboud set the repository for this revision to rL LLVM.

Add intrinsics for the XSAVE instructions:
XSAVE, XSAVE64
XRSTOR, XRSTOR64
XSAVEOPT, XSAVEOPT64
XRSTORS, XRSTORS64
XSAVEC, XSAVEC64
XSAVES, XSAVES64

These were previously declared in Intrin.h for MSVC compatibility, but now
that we have them implemented, these declarations can be removed.

Repository:
  rL LLVM

http://reviews.llvm.org/D13014

Files:
  include/clang/Basic/BuiltinsX86.def
  lib/CodeGen/CGBuiltin.cpp
  lib/Headers/CMakeLists.txt
  lib/Headers/Intrin.h
  lib/Headers/immintrin.h
  lib/Headers/xsavecintrin.h
  lib/Headers/xsaveintrin.h
  lib/Headers/xsaveoptintrin.h
  lib/Headers/xsavesintrin.h
  test/CodeGen/builtins-x86.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13014.35235.patch
Type: text/x-patch
Size: 15385 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150921/cafc39b0/attachment-0001.bin>


More information about the cfe-commits mailing list