MIPS64: Fix TruncatingDiv.
authorakos.palfi@imgtec.com <akos.palfi@imgtec.com>
Wed, 8 Oct 2014 16:15:28 +0000 (16:15 +0000)
committerakos.palfi@imgtec.com <akos.palfi@imgtec.com>
Wed, 8 Oct 2014 16:15:28 +0000 (16:15 +0000)
commitd39fc16a4b899f684679692d998bfb26a71abdfe
tree0c608bc270ffc50b57da4be010cb56fdc5202a46
parentc605a8c1da424a225bdc376d698d1ab049035ec2
MIPS64: Fix TruncatingDiv.

- Fix the Macroassembler::TruncatingDiv to compute
  the correct result even when the magic number is negative.
- Fix the MULT instruction in the simulator.

TEST=mjsunit/compiler/division-by-constant
BUG=
R=dusan.milosavljevic@imgtec.com

Review URL: https://codereview.chromium.org/637273002

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24475 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/mips64/macro-assembler-mips64.cc
src/mips64/simulator-mips64.cc