commit | 4ee71b2df9eb74531d44528d028378bf0e90ecd7 | [log] [tgz] |
---|---|---|
author | Pavel Vyssotski <pavel.n.vyssotski@intel.com> | Tue Nov 18 11:51:24 2014 +0600 |
committer | Pavel Vyssotski <pavel.n.vyssotski@intel.com> | Wed Nov 19 19:37:12 2014 +0600 |
tree | 55f78e68bd6f68564ac45c0ae03c4aba529b22c9 | |
parent | a500b03003c9286cc049c27fdb2e0f0750f83a30 [diff] |
ART: X86Mir2Lir::OpRegRegReg should expect kOpMul for r_dest == r_src2 case OpRegRegReg in case of r_dest == r_src2 does not expect kOpMul as valid operation. This provokes abort compiling instruction like "mul-int v0, v1, v0" if both operands are arriving in registers. The fix is to expect kOpMul as comutative operation. Change-Id: I259e49edea4b8b08ca4ed1c61033bbc2b2229078 Signed-off-by: Pavel Vyssotski <pavel.n.vyssotski@intel.com>