CPC G06F 9/3004 (2013.01) | 14 Claims |
1. A method for executing instructions, comprising:
obtaining a first memory access instruction for execution, wherein the first memory access instruction comprises a first address range of a memory to be accessed;
in response to detecting a predetermined instruction for monitoring an accessed address range of the memory, executing the predetermined instruction to obtain a remaining address range not yet accessed by the first memory access instruction in the first address range;
comparing the remaining address range with a second address range comprised in a second memory access instruction to be executed;
suspending execution of the second memory access instruction in response to the remaining address range at least partially overlapping with the second address range;
continuing to execute the suspended second memory access instruction in response to an overlapping range between the remaining address range and the second address range having been accessed by the first memory access instruction; and
executing the second memory access instruction in response to the remaining address range not overlapping with the second address range.
|