Chromium Code Reviews
DescriptionIntroduction of improved switch lowering.
This includes the high level analysis of switches, the x86 lowering,
the repointing of targets in jump tables and ASM emission of jump
tables.
The technique uses jump tables, range test and binary search with
worst case O(lg n) which improves the previous worst case of O(n)
from a sequential search.
Use is hidden by the --adv-switch flag as the IAS emission still
needs to be implemented.
BUG=None
R=jvoung@chromium.org, stichnot@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=87f80c128a9e2bc95829cd1aac2bbc3c44b44ac1
Patch Set 1 #
Total comments: 73
Patch Set 2 : CL feedback #
Total comments: 18
Patch Set 3 : Formatting tweaks. #
Total comments: 16
Patch Set 4 : Address Comment #9 #
Total comments: 1
Patch Set 5 : Safer check for 0 size type #
Messages
Total messages: 17 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||