MIPS: Add rounding support in simulator and RINT instruction.
authorDjordje.Pesic <Djordje.Pesic@imgtec.com>
Thu, 30 Apr 2015 06:29:08 +0000 (23:29 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 30 Apr 2015 06:29:16 +0000 (06:29 +0000)
commit9da34c56a153a0da7dbb16a24c9d0dfed1925336
tree40e4cc0b3aa860b897a9e63d05af0ca0faf4c995
parent4b8bb5ed1e3f03f62a0b1da06acaee5bcecc98e7
MIPS: Add rounding support in simulator and RINT instruction.

Added rounding according to fcsr, CVT_W_D and RINT.D instruction in assembler, dissasembler and simulator and wrote appropiate tests.

BUG=

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

Cr-Commit-Position: refs/heads/master@{#28143}
16 files changed:
src/mips/assembler-mips.cc
src/mips/assembler-mips.h
src/mips/constants-mips.h
src/mips/disasm-mips.cc
src/mips/simulator-mips.cc
src/mips/simulator-mips.h
src/mips64/assembler-mips64.cc
src/mips64/assembler-mips64.h
src/mips64/constants-mips64.h
src/mips64/disasm-mips64.cc
src/mips64/simulator-mips64.cc
src/mips64/simulator-mips64.h
test/cctest/test-assembler-mips.cc
test/cctest/test-assembler-mips64.cc
test/cctest/test-disasm-mips.cc
test/cctest/test-disasm-mips64.cc