Invention Grant
- Patent Title: Widening memory access to an aligned address for unaligned memory operations
-
Application No.: US17449940Application Date: 2021-10-04
-
Publication No.: US11593113B2Publication Date: 2023-02-28
- Inventor: Darek Mihocka , Arun Upadhyaya Kishan , Pedro Miguel Sequeira De Justo Teixeira
- Applicant: Microsoft Technology Licensing, LLC
- Applicant Address: US WA Redmond
- Assignee: Microsoft Technology Licensing, LLC
- Current Assignee: Microsoft Technology Licensing, LLC
- Current Assignee Address: US WA Redmond
- Agency: Mayer & Williams, PC
- Agent Mark K. Young
- Main IPC: G06F9/30
- IPC: G06F9/30 ; G06F9/38 ; G06F12/10

Abstract:
Unaligned atomic memory operations on a processor using a load-store instruction set architecture (ISA) that requires aligned accesses are performed by widening the memory access to an aligned address by the next larger power of two (e.g., 4-byte access is widened to 8 bytes, and 8-byte access is widened to 16 bytes). Data processing operations supported by the load-store ISA including shift, rotate, and bitfield manipulation are utilized to modify only the bytes in the original unaligned address so that the atomic memory operations are aligned to the widened access address. The aligned atomic memory operations using the widened accesses avoid the faulting exceptions associated with unaligned access for most 4-byte and 8-byte accesses. Exception handling is performed in cases in which memory access spans a 16-byte boundary.
Public/Granted literature
- US20220027159A1 WIDENING MEMORY ACCESS TO AN ALIGNED ADDRESS FOR UNALIGNED MEMORY OPERATIONS Public/Granted day:2022-01-27
Information query