DescriptionMIPS: Optimize simulator.
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=
Committed: https://crrev.com/09f41681ef83fe9e9d79748e2a60f16b70d5934c
Cr-Commit-Position: refs/heads/master@{#30596}
Patch Set 1 #Patch Set 2 : DecodeTypeImmediate(): BranchCommon refinement. #
Total comments: 18
Patch Set 3 : Fix nits. #
Messages
Total messages: 9 (3 generated)
|