X86: Fix conflict over ESI between base register and rep;movsl
[oota-llvm.git] / lib / Target / X86 / X86InstrTSX.td
index 363a190aa8548ef6c7eaf1d69c9814ed9eb767eb..4940efc4443d62a08d805bc3d7bf29204e7e4995 100644 (file)
@@ -37,3 +37,11 @@ def XTEST : I<0x01, MRM_D6, (outs), (ins),
 def XABORT : Ii8<0xc6, MRM_F8, (outs), (ins i8imm:$imm),
                  "xabort\t$imm",
                  [(int_x86_xabort imm:$imm)]>, Requires<[HasRTM]>;
+
+// HLE prefixes
+
+let isAsmParserOnly = 1 in {
+def XACQUIRE_PREFIX : I<0xF2, RawFrm, (outs), (ins), "xacquire", []>, Requires<[HasHLE]>;
+def XRELEASE_PREFIX : I<0xF3, RawFrm, (outs), (ins), "xrelease", []>, Requires<[HasHLE]>;
+}
+