Hardware-based run-time mitigation of conditional branches
Abstract
A method includes, in a processor, processing a sequence of pre-compiled instructions by an instruction pipeline of the processor. A first block of instructions is identified in the instructions flowing via the pipeline. The first block includes a conditional branch instruction that conditionally diverges execution of the instructions into at least first and second flow-control traces that differ from one another in multiple instructions and converge at a given instruction that is again common to the first and second flow-control traces. A second block of instructions, which is logically equivalent to the first block but replaces the first and second flow-control traces by a single flow-control trace, is created by the processor at runtime. The pipeline is caused to execute the second block instead of the first block.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method, comprising: in a processor, processing a sequence of pre-compiled instructions by an instruction pipeline of the processor; identifying in the instructions flowing via the pipeline a first block of instructions, which comprises a conditional branch instruction that conditionally diverges execution of the instructions into at least first and second flow-control traces that differ from one another in multiple instructions and converge at a given instruction that is again common to the first and second flow-control traces; creating by the processor, at runtime, a second block of instruc
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (19)
Non-Patent Literature (5)
- Allen et al., "Conversion of control dependence to data dependence", Proceedings of the 10th ACM SIGACT-SIGPLAN symposium on Principles of programming languages (POPL), pp. 177-189 , Jan. 24-26, 1983.
- Friedmann et al., U.S. Appl. No. 15/077,940, filed Mar. 23, 2016.
- International Application # PCT/IB2016/056042 Search Report dated Feb. 2, 2017.
- Mizrahi et al., U.S. Appl. No. 14/578,518, filed Dec. 22, 2014.
- Mizrahi et al., U.S. Appl. No. 14/673,884, filed Mar. 31, 2015.