ref: 1ad37cb101e06f5daf7f8ac450f17fdd2454eeba
parent: 6d91fe2e02b75dbefeab67bea522458246d5c654
author: Ori Bernstein <orib@google.com>
date: Mon Jul 30 12:38:09 EDT 2012
Fix specs on imul.
We didn't allow immediates as operands, which is actually
incorrect. Reg, mem, and imm is allowable for the operand.
--- a/8/insns.def
+++ b/8/insns.def
@@ -27,7 +27,7 @@
Insn(Iadd, "\tadd%t %x,%r\n", Use(.l={1,2}), Def(.l={2})) Insn(Isub, "\tsub%t %x,%r\n", Use(.l={1,2}), Def(.l={2}))-Insn(Iimul, "\timul%t %v,%r\n", Use(.l={1,2}), Def(.l={2}))+Insn(Iimul, "\timul%t %x,%r\n", Use(.l={1,2}), Def(.l={2})) Insn(Imul, "\tmul%t %r\n", Use(.l={1},.r={Reax}), Def(.r={Reax,Redx})) Insn(Idiv, "\tdiv%t %r\n", Use(.l={1},.r={Reax,Redx}), Def(.r={Reax,Redx})) Insn(Ineg, "\tneg%t %r\n", Use(.l={1}), Def(.l={1}))--
⑨