MIPS: Fix abs_d instruction in the simulator.
authorpalfia@homejinni.com <palfia@homejinni.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 10 Jun 2013 21:54:07 +0000 (21:54 +0000)
committerpalfia@homejinni.com <palfia@homejinni.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Mon, 10 Jun 2013 21:54:07 +0000 (21:54 +0000)
commit1d4c64591b27c0c9821fbc0b70ea1d6ada94ce92
tree830faeca360e8f588364e64870eae3d83a6845f8
parent88021e64b107cefec6b5497f13a278918b6fb564
MIPS: Fix abs_d instruction in the simulator.

The abs_d instruction was implemented wrongly in the simulator,
it doesn't reverse the sign of the -0 number.

This commit fixes the abs_d instruction implementation.

TEST=msjunit/math-abs

BUG=

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@15053 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/mips/simulator-mips.cc