Patents
US 10,013,255 B2#110689356 Most CitedActiveUnited States (USPTO)Utility

Hardware-based run-time mitigation of conditional branches

0Forward Citations (#110689356 Global)
0.0/yrCitation Velocity (#110689356 Global)
0.56Citation PageRank (#110689356 Global)
19Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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)

PatentTitleYearCitations
US 5,450,585 ACompiler with delayed conditional branching199527
US 5,659,752 ASystem and method for improving branch prediction in compiled program code199778
US 6,662,294 B1Converting short branches to predicated instructions200347
US 2004064683 A1System and method for conditionally executing an instruction dependent on a previously existing condition—18
US 2004205739 A1Optimizing post-link code—22
US 6,918,032 B1Hardware predication for conditional instruction path branching200539
US 7,010,787 B2Branch instruction conversion to multi-threaded parallel instructions200651
US 2006064682 A1Compiler, compilation method, and compilation program—19
US 2006277540 A1Employing a mirror probe handler for seamless access to arguments of a probed function—25
US 2011197049 A1Two pass test case generation using self-modifying instruction replacement—6
US 8,522,225 B2Rewriting branch instructions using branch stubs201313
US 2014281387 A1Converting conditional short forward branches to computationally equivalent predicated instructions—2
US 2015067214 A1Single-core wakeup multi-core synchronization mechanism—19
US 2015199228 A1Conditional branch programming technique—4
US 9,135,015 B1Run-time code parallelization with monitoring of repetitive instruction sequences during branch mis-prediction201511
US 9,208,066 B1Run-time code parallelization with approximate monitoring of instruction sequences20158
US 9,348,595 B1Run-time code parallelization with continuous monitoring of repetitive instruction sequences20168
US 9,430,244 B1Run-time code parallelization using out-of-order renaming with pre-allocation of physical registers20162
US 2017123798 A1Hardware-based run-time mitigation of blocks having multiple conditional branches—6

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.