MIPS: Major fixes and clean-up in asm. for instruction encoding.
authordusan.milosavljevic <dusan.milosavljevic@imgtec.com>
Mon, 6 Apr 2015 11:54:38 +0000 (04:54 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 6 Apr 2015 11:54:38 +0000 (11:54 +0000)
commit4b5af7b32ec97fd127b4bf9e2b3cb4ec6f0d3c2e
tree1a297a75f333269676e9800d3ee30887ad493180
parent2fbfc9faec486d83d0f104c85fe962a4d966a3fe
MIPS: Major fixes and clean-up in asm. for instruction encoding.

- Fixed single float register type instruction en[de]coding in assembler and disassembler.
- Added max and min instructions for r6 and corresponding tests.
- Fixed selection instruction for boundary cases in simulator.
- Update assembler tests to be more thorough wrt boundary cases.

TEST=cctest/test-assembler-mips64/MIPS17, MIPS18
     cctest/test-disasm-mips64/Type1
     cctest/test-assembler-mips/MIPS16, MIPS17
     cctest/test-disasm-mips/Type1
BUG=

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

Cr-Commit-Position: refs/heads/master@{#27601}
14 files changed:
src/mips/assembler-mips.cc
src/mips/assembler-mips.h
src/mips/constants-mips.cc
src/mips/disasm-mips.cc
src/mips/simulator-mips.cc
src/mips64/assembler-mips64.cc
src/mips64/assembler-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