Selectively prohibiting speculative execution of conditional branch type based on instruction bit
Abstract
A method, apparatus, and computer program product are disclosed for selectively prohibiting speculative conditional branch execution. A particular type of conditional branch instruction is selected. An indication is stored within each instruction that is the particular type of conditional branch instruction. A processor then fetches a first instruction from code that is to be executed. A determination is made regarding whether the first instruction includes the indication. In response to determining that the instruction includes the indication: speculative execution of the first instruction is prohibited, an actual location to which the first instruction will branch is resolved, and execution of the code is branched to the actual location. In response to determining that the instruction does not include the indication, the first instruction is speculatively executed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method in a data processing system for selectively prohibiting speculative conditional branch execution, said method comprising: selecting a particular type of conditional branch instruction; including an indication within each instruction that is said particular type of conditional branch instruction, said indication comprising setting of a specified bit within an opcode of each instruction that is said particular type of conditional branch instruction; fetching, by a processor, a first instruction to be executed; determining whether said first instruction includes said indication; in respo
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗