发明名称 TECHNIQUE TO IMPROVE PERFORMANCE OF MEMORY COPIES AND STORES
摘要 A system and method for efficiently relocating and initializing a block of memory of the computer system. For data initialization and data relocation, multiple registers in a processor are used for intermediate storage of data to be written into the memory. Regardless of whether the amount of data to initialize or relocate is aligned with the register data size, the processor writes the data into the destination buffer with write operations that only utilize the register data size. The write operations utilize the register data size when each of the start and the end of the destination buffer is aligned with the register width, when the start of the destination buffer is unaligned with the register width, when a source buffer and the destination buffer are unaligned with one another for a copy operation, and when the source buffer and the destination buffer overlap.
申请公布号 US2016026577(A1) 申请公布日期 2016.01.28
申请号 US201414339301 申请日期 2014.07.23
申请人 Advanced Micro Devices, Inc. 发明人 Goodwin Jeremy P.
分类号 G06F12/08 主分类号 G06F12/08
代理机构 代理人
主权项 1. A computing system comprising: a memory comprising one or more buffers; a processor coupled to the memory, wherein responsive to receiving an instruction indicating data with a size greater than a given size is to be written into a destination buffer of the one or more buffers within the memory and corresponds to an unaligned write, the processor is configured to: write a first subset of the destination data with a size equal to the given data size into the destination buffer with a first write operation; andwrite a second subset of the data with a size equal to the given data size into the destination buffer with a second write operation, wherein a portion of the first subset is overwritten when the second subset is written.
地址 Sunnyvale CA US