Data Movement
MEM_CPY
| 31-26 | 25-21 | 20-16 | 15-11 | 10-0 | |
|---|---|---|---|---|---|
| MEM_CPY | 1100XY | rs | rt | rd | imm |
MEM_CPY_XY rd,rs,rt,offsetPerforms data transfer between memory units
- If
X == 1, the source data address isGRF[rs] + offset; otherwise, the source data address isGRF[rs]; - If
Y == 1, the destination data address isGRF[rd] + offset; otherwise, the destination data address isGRF[rd]; - The byte length of the data to be transferred is
GRF[rt].
Example:
MEM_CPY_11 $3,$1,$2,1024