Added SCAS instructions in their 8, 16, 32, and
[oota-llvm.git] / lib / Target / X86 / X86Instr64bit.td
index 13e7dc7af81c66bc867b8eced12c6a2b0df1d30a..f165336fdb042d795c51cbf86e6e05453a7edefe 100644 (file)
@@ -284,6 +284,8 @@ let Defs = [RCX,RDI], Uses = [RAX,RCX,RDI] in
 def REP_STOSQ : RI<0xAB, RawFrm, (outs), (ins), "{rep;stosq|rep stosq}",
                    [(X86rep_stos i64)]>, REP;
 
+def SCAS64 : RI<0xAF, RawFrm, (outs), (ins), "scas{q}", []>;
+
 // Fast system-call instructions
 def SYSEXIT64 : RI<0x35, RawFrm,
                    (outs), (ins), "sysexit", []>, TB;