首页> 外国专利> Branch target address cache for predicting instruction decryption keys in a microprocessor that fetches and decrypts encrypted instructions

Branch target address cache for predicting instruction decryption keys in a microprocessor that fetches and decrypts encrypted instructions

机译:分支目标地址缓存,用于在微处理器中预测指令解密密钥,该微处理器用于获取和解密加密指令

摘要

A branch target address cache (BTAC) caches history information associated with branch and switch key instructions previously executed by a microprocessor. The history information includes a target address and an identifier (index into a register file) for identifying key values associated with each of the previous branch and switch key instructions. A fetch unit receives from the BTAC a prediction that the fetch unit fetched a previous branch and switch key instruction and receives the target address and identifier associated with the fetched branch and switch key instruction. The fetch unit also fetches encrypted instruction data at the associated target address and decrypts (via XOR) the fetched encrypted instruction data based on the key values identified by the identifier, in response to receiving the prediction. If the BTAC predicts correctly, a pipeline flush normally associated with the branch and switch key instruction is avoided.
机译:分支目标地址缓存(BTAC)缓存与先前由微处理器执行的分支和切换键指令相关的历史信息。历史信息包括目标地址和用于识别与每个先前分支和切换键指令相关联的键值的标识符(到寄存器文件的索引)。提取单元从BTAC接收该提取单元已提取前一个分支和切换键指令的预测,并接收与所提取的分支和切换键指令相关的目标地址和标识符。响应于接收到所述预测,所述提取单元还提取在相关联的目标地址处的加密指令数据,并且基于由所述标识符识别的密钥值来对所提取的加密指令数据进行解密(通过XOR)。如果BTAC正确预测,则可以避免通常与分支和切换键指令关联的流水线刷新。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号