Inter-Core Communication
SEND
| 31-26 | 25-21 | 20-16 | 15-11 | 10-6 | 5-1 | 0 | |
|---|---|---|---|---|---|---|---|
| SEND | 110100 | rs | rt | rd | re | rf |
SEND rd,rs,rt,re,rfPerforms cross-processing core data transmission
- The sender ID is
GRF[rs], the the receiver ID isGRF[rt], and the destination data address isGRF[rd]; - The byte length of the data to be transmitted is
GRF[re]; - The communication ID is
GRF[rf], which uniquely identifies the current communication process and is used for acknowledgment between the communicating parties.
Example:
SEND $3,$1,$2,$4,$5RECV
| 31-26 | 25-21 | 20-16 | 15-11 | 10-6 | 5-1 | 0 | |
|---|---|---|---|---|---|---|---|
| RECV | 110110 | rs | rt | rd | re | rf |
RECV rd,rs,rt,re,rfPerforms cross-processing core data transmission
- The sender ID is
GRF[rs], the source data address isGRF[rt], and the destination data address isGRF[rd]; - The byte length of the data to be transmitted is
GRF[re]; - The communication ID is
GRF[rf], which uniquely identifies the current communication process and is used for acknowledgment between the communicating parties.
Example:
RECV $3,$1,$2,$4,$5