Inter-Core Synchronization
WAIT
| 31-26 | 25-21 | 20-0 | |
|---|---|---|---|
| WAIT | 111101 | rd | 0 0000 0000 0000 0000 0000 |
WAIT rd- Performs instruction synchronization between dual processing cores,
where the ID of the target processing core to be synchronized is specified by
GRF[rd].
Example:
WAIT $1BARRIER
| 31-26 | 25-21 | 20-16 | 15-0 | |
|---|---|---|---|---|
| BARRIER | 111110 | rs | rt | 0000 0000 0000 0000 |
BARRIER rs,rtPerforms instruction synchronization across multiple processing cores
- The number of processing cores is specified by
GRF[rs]; - The barrier ID is specified by
GRF[rt], uniquely identifying the current synchronization operation and used for acknowledgment by the participating processing cores.
Example:
BARRIER $1,$2