Indirect branch predictor storing encrypted branch information fields
Abstract
A system and method for efficiently protecting branch prediction information. In various embodiments, a computing system includes at least one processor with a branch predictor storing branch target addresses and security tags in a table. The security tag includes one or more components of machine context. When the branch predictor receives a portion of a first program counter of a first branch instruction, and hits on a first table entry during an access, the branch predictor reads out a first security tag. The branch predictor compares one or more components of machine context of the first security tag to one or more components of machine context of the first branch instruction. When there is at least one mismatch, the branch prediction information of the first table entry is not used. Additionally, there is no updating of any branch prediction training information of the first table entry.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 0.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
An apparatus, comprising: a table comprising circuitry, wherein the table comprises a plurality of table entries configured to store branch prediction information; and branch prediction circuitry configured to: generate an encrypted value, based at least in part on a program counter corresponding to a branch instruction; combine, using encryption circuitry, the encrypted value with a branch target address of the branch instruction to generate an encrypted branch target address; and store the encrypted branch target address in an entry of the table.
- Claim 2Depends on #1
The apparatus as recited in claim 1 , wherein the branch prediction circuitry is configured to store machine context information corresponding to the branch instruction in the entry.
- Claim 3Depends on #2
The apparatus as recited in claim 2 , wherein the branch predicti
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.