18 lines
866 B
Plaintext
18 lines
866 B
Plaintext
$OpenBSD: patch-lib_Target_X86_X86_td,v 1.5 2020/08/05 06:49:48 jca Exp $
|
|
|
|
implement -msave-args in clang/llvm, like the sun did for gcc
|
|
|
|
Index: lib/Target/X86/X86.td
|
|
--- lib/Target/X86/X86.td.orig
|
|
+++ lib/Target/X86/X86.td
|
|
@@ -298,6 +298,9 @@ def FeatureLZCNTFalseDeps : SubtargetFeature<"false-de
|
|
"LZCNT/TZCNT have a false dependency on dest register">;
|
|
def FeaturePCONFIG : SubtargetFeature<"pconfig", "HasPCONFIG", "true",
|
|
"platform configuration instruction">;
|
|
+def FeatureSaveArgs
|
|
+ : SubtargetFeature<"save-args", "SaveArgs", "true",
|
|
+ "Save register arguments on the stack.">;
|
|
// On recent X86 (port bound) processors, its preferable to combine to a single shuffle
|
|
// using a variable mask over multiple fixed shuffles.
|
|
def FeatureFastVariableShuffle
|