MIPS64: Optimize simulator.
authorbalazs.kilvady <balazs.kilvady@imgtec.com>
Fri, 18 Sep 2015 11:08:17 +0000 (04:08 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 18 Sep 2015 11:08:32 +0000 (11:08 +0000)
commitb89eec39a18b1c2600bc1cebd38d4c5f1a7c2e61
tree11d280d8f064009d1769d089967475d2c7ad9803
parent11c45e6d1eff1a8cc34561ec835cbdb38f0ab79d
MIPS64: Optimize simulator.

Port 09f41681ef83fe9e9d79748e2a60f16b70d5934c

Original commit message:
The patch decreases the calls of huge switch instructions making the
DecodeType*() functions to work in one phase and optimizing
Instruction::InstructionType(). Speed gain in release full check is
about 33% (6:13 s -> 4:09 s) and in optdebug full test is about 50%
(12:29 -> 6:17)

BUG=

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

Cr-Commit-Position: refs/heads/master@{#30824}
src/mips64/constants-mips64.cc
src/mips64/constants-mips64.h
src/mips64/disasm-mips64.cc
src/mips64/simulator-mips64.cc
src/mips64/simulator-mips64.h