summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86InstrTSX.td
diff options
context:
space:
mode:
authorDave Zarzycki <zarzycki@apple.com>2013-03-25 18:59:43 +0000
committerDave Zarzycki <zarzycki@apple.com>2013-03-25 18:59:43 +0000
commit9b3939983fd0103b102c7aec0ed08d1e8bd28214 (patch)
tree8365c85ffd522eed59d9d5767dee049a9dbf1fe7 /lib/Target/X86/X86InstrTSX.td
parent97a80092d3e4413d43e4632a3ec92fcabfd9b378 (diff)
x86 -- add the XTEST instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86InstrTSX.td')
-rw-r--r--lib/Target/X86/X86InstrTSX.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/X86/X86InstrTSX.td b/lib/Target/X86/X86InstrTSX.td
index a37a8cc7441..d316cf5dca5 100644
--- a/lib/Target/X86/X86InstrTSX.td
+++ b/lib/Target/X86/X86InstrTSX.td
@@ -27,6 +27,9 @@ def XBEGIN_4 : Ii32PCRel<0xc7, MRM_F8, (outs), (ins brtarget:$dst),
def XEND : I<0x01, MRM_D5, (outs), (ins),
"xend", [(int_x86_xend)]>, TB, Requires<[HasRTM]>;
+let Defs = [EFLAGS] in
+def XTEST : I<0x01, MRM_D6, (outs), (ins), "xtest", []>, TB, Requires<[HasRTM]>;
+
def XABORT : Ii8<0xc6, MRM_F8, (outs), (ins i8imm:$imm),
"xabort\t$imm",
[(int_x86_xabort imm:$imm)]>, Requires<[HasRTM]>;