forked from OSchip/llvm-project
[LLVM][INTRINSICS] adding intrinsics of CLFLUSHOPT
Differential Revision: http://reviews.llvm.org/D21789 llvm-svn: 274553
This commit is contained in:
parent
17934da767
commit
bdc5f40dca
|
@ -4189,6 +4189,13 @@ let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
|
|||
Intrinsic<[], [llvm_ptr_ty, llvm_i32_ty, llvm_i32_ty], []>;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// CLFLUSHOPT
|
||||
let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
|
||||
def int_x86_clflushopt : GCCBuiltin<"__builtin_ia32_clflushopt">,
|
||||
Intrinsic<[], [llvm_ptr_ty], []>;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// Support protection key
|
||||
let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
|
||||
|
|
|
@ -2514,7 +2514,7 @@ let Predicates = [HasTBM] in {
|
|||
//
|
||||
|
||||
def CLFLUSHOPT : I<0xAE, MRM7m, (outs), (ins i8mem:$src),
|
||||
"clflushopt\t$src", []>, PD;
|
||||
"clflushopt\t$src", [(int_x86_clflushopt addr:$src)]>, PD;
|
||||
def CLWB : I<0xAE, MRM6m, (outs), (ins i8mem:$src), "clwb\t$src", []>, PD;
|
||||
def PCOMMIT : I<0xAE, MRM_F8, (outs), (ins), "pcommit", []>, PD;
|
||||
|
||||
|
|
Loading…
Reference in New Issue