发明名称 Apparatus for speculatively storing and restoring data to a cache memory
摘要 An apparatus for performing speculative stores is provided. The apparatus reads the original data from a cache line being updated by a speculative store, storing the original data in a restore buffer. The speculative store data is then stored into the affected cache line. Should the speculative store later be canceled, the original data may be read from the restore buffer and stored into the affected cache line. The cache line is thereby returned to a pre-store state. In one embodiment, the cache is configured into banks. The data read and restored comprises the data from one of the banks which comprise the affected cache line. Instead of forwarding store data to subsequent load memory accesses, the store is speculatively performed to the data cache and the loads may subsequently access the data cache. Dependency checking between loads and stores prior to the speculative performance of the store may stall the load memory access until the corresponding store memory access has been performed. Similar functionality to forwarding of store data is obtained through the performance of load memory accesses to the data cache. Additionally, speculative load memory accesses which are partially overlapped by a prior speculative store memory access may be performed more efficiently.
申请公布号 US5838943(A) 申请公布日期 1998.11.17
申请号 US19960621958 申请日期 1996.03.26
申请人 ADVANCED MICRO DEVICES, INC. 发明人 RAMAGOPAL, HEBBALALU SURYAPRAKASH;HATTANGADI, RAJIV M.
分类号 G06F9/38;(IPC1-7):G06F9/38 主分类号 G06F9/38
代理机构 代理人
主权项
地址