Invention Grant
- Patent Title: Efficient handling of misaligned loads and stores
- Patent Title (中): 高效处理不对齐的负载和商店
-
Application No.: US13177192Application Date: 2011-07-06
-
Publication No.: US09131899B2Publication Date: 2015-09-15
- Inventor: Hari S. Kannan , Pradeep Kanapathipillai , Greg M. Hess
- Applicant: Hari S. Kannan , Pradeep Kanapathipillai , Greg M. Hess
- Applicant Address: US CA Cupertino
- Assignee: Apple Inc.
- Current Assignee: Apple Inc.
- Current Assignee Address: US CA Cupertino
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Rory D. Rankin
- Main IPC: G06F12/00
- IPC: G06F12/00 ; A61B5/00 ; A61B5/053 ; A61N1/05 ; A61N1/362 ; G06F12/08

Abstract:
A system and method for efficiently handling misaligned memory accesses within a processor. A processor comprises a load-store unit (LSU) with a banked data cache (d-cache) and a banked store queue. The processor generates a first address corresponding to a memory access instruction identifying a first cache line. The processor determines the memory access is misaligned which crosses over a cache line boundary. The processor generates a second address identifying a second cache line logically adjacent to the first cache line. If the instruction is a load instruction, the LSU simultaneously accesses the d-cache and store queue with the first and the second addresses. If there are two hits, the data from the two cache lines are simultaneously read out. If the access is a store instruction, the LSU separates associated write data into two subsets and simultaneously stores these subsets in separate cache lines in separate banks of the store queue.
Public/Granted literature
- US20130013862A1 EFFICIENT HANDLING OF MISALIGNED LOADS AND STORES Public/Granted day:2013-01-10
Information query