summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2013-03-20 11:43:58 -0400
committerOri Bernstein <ori@eigenstate.org>2013-03-20 11:43:58 -0400
commit058840464506a633eae1c49e349a242be31dba69 (patch)
tree82a9ece9f2bee4d8b50c79916d08b6663f08633c
parent4d0895a4c80d5db3fe2c304b0820cb724d9ac0c3 (diff)
downloadmc-058840464506a633eae1c49e349a242be31dba69.tar.gz
Add repeated mov instructions.
-rw-r--r--6/insns.def4
1 files changed, 4 insertions, 0 deletions
diff --git a/6/insns.def b/6/insns.def
index 244f82f..6103e39 100644
--- a/6/insns.def
+++ b/6/insns.def
@@ -23,6 +23,10 @@ Insn(Inone, "BAD_INSN", Use(), Def())
Insn(Imov, "\tmov%t %x,%x\n", Use(.l={1}), Def(.l={2}))
Insn(Imovz, "\tmovz%1t%2t %x,%x\n", Use(.l={1}), Def(.l={2}))
Insn(Imovs, "\tmovs%1t%2t %x,%x\n", Use(.l={1}), Def(.l={2}))
+Insn(Irepmovsb, "\trep movsb\n", Use(.r={Rrcx,Rrsi,Rrdi}), Def())
+Insn(Irepmovsw, "\trep movsw\n", Use(.r={Rrcx,Rrsi,Rrdi}), Def())
+Insn(Irepmovsl, "\trep movsl\n", Use(.r={Rrcx,Rrsi,Rrdi}), Def())
+Insn(Irepmovsq, "\trep movsq\n", Use(.r={Rrcx,Rrsi,Rrdi}), Def())
Insn(Ilea, "\tlea%2t %m,%r\n", Use(.l={1}), Def(.l={2}))
Insn(Iadd, "\tadd%t %x,%r\n", Use(.l={1,2}), Def(.l={2}))