r250369 - [X86] Add proper feature names to xsave builtins.

Craig Topper via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 14 22:23:46 PDT 2015


Author: ctopper
Date: Thu Oct 15 00:23:46 2015
New Revision: 250369

URL: http://llvm.org/viewvc/llvm-project?rev=250369&view=rev
Log:
[X86] Add proper feature names to xsave builtins.

Modified:
    cfe/trunk/include/clang/Basic/BuiltinsX86.def

Modified: cfe/trunk/include/clang/Basic/BuiltinsX86.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/BuiltinsX86.def?rev=250369&r1=250368&r2=250369&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/BuiltinsX86.def (original)
+++ cfe/trunk/include/clang/Basic/BuiltinsX86.def Thu Oct 15 00:23:46 2015
@@ -666,18 +666,18 @@ BUILTIN(__builtin_ia32_fxsave, "vv*", ""
 BUILTIN(__builtin_ia32_fxsave64, "vv*", "")
 
 // XSAVE
-BUILTIN(__builtin_ia32_xsave, "vv*ULLi", "")
-BUILTIN(__builtin_ia32_xsave64, "vv*ULLi", "")
-BUILTIN(__builtin_ia32_xrstor, "vv*ULLi", "")
-BUILTIN(__builtin_ia32_xrstor64, "vv*ULLi", "")
-BUILTIN(__builtin_ia32_xsaveopt, "vv*ULLi", "")
-BUILTIN(__builtin_ia32_xsaveopt64, "vv*ULLi", "")
-BUILTIN(__builtin_ia32_xrstors, "vv*ULLi", "")
-BUILTIN(__builtin_ia32_xrstors64, "vv*ULLi", "")
-BUILTIN(__builtin_ia32_xsavec, "vv*ULLi", "")
-BUILTIN(__builtin_ia32_xsavec64, "vv*ULLi", "")
-BUILTIN(__builtin_ia32_xsaves, "vv*ULLi", "")
-BUILTIN(__builtin_ia32_xsaves64, "vv*ULLi", "")
+TARGET_BUILTIN(__builtin_ia32_xsave, "vv*ULLi", "", "xsave")
+TARGET_BUILTIN(__builtin_ia32_xsave64, "vv*ULLi", "", "xsave")
+TARGET_BUILTIN(__builtin_ia32_xrstor, "vv*ULLi", "", "xsave")
+TARGET_BUILTIN(__builtin_ia32_xrstor64, "vv*ULLi", "", "xsave")
+TARGET_BUILTIN(__builtin_ia32_xsaveopt, "vv*ULLi", "", "xsaveopt")
+TARGET_BUILTIN(__builtin_ia32_xsaveopt64, "vv*ULLi", "", "xsaveopt")
+TARGET_BUILTIN(__builtin_ia32_xrstors, "vv*ULLi", "", "xsaves")
+TARGET_BUILTIN(__builtin_ia32_xrstors64, "vv*ULLi", "", "xsaves")
+TARGET_BUILTIN(__builtin_ia32_xsavec, "vv*ULLi", "", "xsavec")
+TARGET_BUILTIN(__builtin_ia32_xsavec64, "vv*ULLi", "", "xsavec")
+TARGET_BUILTIN(__builtin_ia32_xsaves, "vv*ULLi", "", "xsaves")
+TARGET_BUILTIN(__builtin_ia32_xsaves64, "vv*ULLi", "", "xsaves")
 
 // ADX
 TARGET_BUILTIN(__builtin_ia32_addcarryx_u32, "UcUcUiUiUi*", "", "adx")




More information about the cfe-commits mailing list