{"pub_number":"US12373217B2","doc_number":"12373217","country":"US","kind_code":"B2","patent_type":"utility","status":"active","title":"Indirect branch predictor storing encrypted branch information fields","abstract_text":"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.","claims":[{"number":1,"text":"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.","independent":true},{"number":2,"text":"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.","independent":false,"depends_on":[1]},{"number":3,"text":"The apparatus as recited in  claim 2 , wherein the branch predicti","independent":false,"depends_on":[2]}],"description":"","inventors":[{"name":"Gonion Jeffry E","slug":"gonion-jeffry-e","country":"US"},{"name":"Kountanis Ian D","slug":"kountanis-ian-d","country":"US"},{"name":"Blasco Conrado","slug":"blasco-conrado","country":"US"},{"name":"Myers Steven Andrew","slug":"myers-steven-andrew","country":"US"},{"name":"Sierra Yannick L","slug":"sierra-yannick-l","country":"US"}],"assignees":[{"name":"Apple Inc","slug":"apple-inc","country":"US"}],"examiners":["Petranek Jacob"],"cpc_codes":["G06F 21/52","G06F 21/60","G06F 2221/033","G06F 9/30029","G06F 9/3806","G06F 9/3844","G06F 9/3861","G06F 9/45533"],"ipc_codes":["G06F 21/60","G06F 9/30","G06F 9/38","G06F 9/455"],"filing_date":"2022-09-16","pub_date":"2025-07-29","grant_date":"2025-07-29","priority_date":"2018-12-14","expiration_date":"2042-09-16","application_number":"US-202217932883-A","family_id":"FAM-71072515","family_members":[],"citations_made":[{"pub_number":"US5935241A","category":"APP"},{"pub_number":"US6212629B1","category":"APP"},{"pub_number":"US8762694B1","category":"APP"},{"pub_number":"US8955111B2","category":"APP"},{"pub_number":"US2015268957A1","category":"APP"},{"pub_number":"US10037288B2","category":"APP"},{"pub_number":"US2018365015A1","category":"APP"},{"pub_number":"US2019042263A1","category":"APP"},{"pub_number":"US2019166158A1","category":"APP"},{"pub_number":"US2019163902A1","category":"APP"},{"pub_number":"US2019227802A1","category":"SEA"},{"pub_number":"US2019303161A1","category":"SEA"},{"pub_number":"US2020057641A1","category":"APP"},{"pub_number":"US11449343B2","category":"APP"}],"non_patent_literature":[],"drawings_count":0,"source_id":"google_patents_public","upstream_forward_citations":0,"metrics":{"forward_citations":0,"indexed_forward_citations":0,"backward_citations":14,"npl_citations":0,"citations_per_year":0.0,"pagerank":0.5550359487533569,"citation_rank":137819914,"pagerank_rank":137819914,"velocity_rank":137819914,"family_citations":0}}