| CPC G06F 9/30043 (2013.01) [G06F 9/30112 (2013.01); G06F 9/30145 (2013.01); G06F 9/30181 (2013.01)] | 25 Claims |

|
1. An apparatus comprising:
an instruction decoder to decode instructions; and
processing circuitry to perform data processing in response to the instructions decoded by the instruction decoder; in which:
in response to the instruction decoder decoding a load chunk instruction specifying a source address, at least one architecturally visible load destination register, and an architecturally visible load length register, the processing circuitry is configured to:
determine, based on at least one implementation-specific condition, a first number of bytes indicative of how many bytes of data to load from a memory system in response to the load chunk instruction;
load data from a source block of memory system locations selected based on the source address and designate at least a portion of the loaded data as data corresponding to the at least one architecturally visible load destination register, the source block of memory system locations having a size corresponding to the first number of bytes; and
designate a load length value as data corresponding to the architecturally visible load length register, the load length value indicative of a number of bytes which is less than or equal to the first number of bytes and which is also less than or equal to a number of bytes corresponding to a total size of the at least one architecturally visible load destination register; and
in response to the instruction decoder decoding a store chunk instruction specifying a destination address, at least one architecturally visible store source register, and an architecturally visible store length register, the processing circuitry is configured to:
determine, based on at least one implementation-specific condition, a second number of bytes indicative of how many bytes of data to store to the memory system in response to the store chunk instruction;
store data, at least a portion of which is data designated as corresponding to the at least one architecturally visible store source register, to a destination block of memory system locations determined based on the destination address, the destination block of memory system locations having a size corresponding to the second number of bytes; and
designate a store length value indicative of the second number of bytes as data corresponding to the architecturally visible store length register.
|