作者: James S. Mattson , Manuel E. Benitez , Lacky V. Shah , William B. Buzbee
DOI:
关键词:
摘要: A computer-implemented system, method, and product are provided for multi-branch backpatching in a dynamic translator. Such typically increases the speed of execution translated instructions by providing direct control path from multi-branch-jump to their target instructions. In one embodiment, translator undertakes on an “as-needed” basis at run time. That is, is done those branch targets that executed rather than all targets, or estimated assumed will be executed. accomplished embodiment generating code specific each instruction. jump, switch, table instruction initialized so entries As branches executed, enables backpatcher replaces corresponding entry with pointers address address, if present.