Patent ID: 11893368
Assignee: MANYCORE CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 11:
12. A non-transitory computer-readable medium containing instructions for removing branching paths from a computer program, comprising:
instructions for receiving code for a computer program, wherein the code comprises a plurality of branches, the branches each being part of a branching path and comprising a jump instruction having a conditional statement; and
instructions for executing the code, wherein upon encountering a branching path at runtime, the method further comprises:
instructions for computing a result of the branching path;
instructions for prefetching a plurality of independent instructions outside of the branch to be executed, and
instructions for executing one or more of the prefetched independent instructions;
instructions for changing the jump instruction of the branch at the computed result of the branching path when the jump instruction includes a conditional statement; and
instructions for executing the jump instruction of the branch at the computed result of the branching path.