CPC G06F 12/0246 (2013.01) [G06F 9/30105 (2013.01); G06F 12/0848 (2013.01); G06F 12/1441 (2013.01); G06F 13/4068 (2013.01)] | 16 Claims |
1. A memory data access method, comprising:
executing a memory read instruction, wherein the memory read instruction comprises a memory address;
determining that access of the memory address in the cache memory is missed;
after determining that access of the memory address in the cache of memory is missed, determining that the memory address is within a pre-determined memory address range, wherein the pre-determined memory address range corresponds to a data access amount;
reading a data block corresponding to the data access amount from the memory address of a memory;
selecting a cache way from a plurality of cache ways of the cache memory;
dividing the data block into a plurality of line data, wherein size of each line data is the same as size of a cache line; and
writing at least one of the plurality of line data into the selected cache way.
|