msgsndp

Message Send Privileged

msgsndp RB

Sends a message to other threads on the same processor or sub-processor.

Details

The instruction sends a message to other threads based on the contents of RB. The message type and destination thread(s) are specified in RB.

Pseudocode Operation

msgtype ← (RB)32:36
payload ← (RB)37:63
t ← (RB)57:63
if msgtype = 5 and t ≤ maximum privileged thread number on processor or sub-processor then
    DPDES63-t ← 1
    send_msg(msgtype, payload, t)

Programming Note

If msgsndp is used to notify the receiver that updates have been made to storage, a lwsync or sync should be placed between the stores and the msgsndp. See Section 6.9.2.

Example

msgsndp r5

Encoding

Binary Layout
31
0
/
6
/
11
RB
16
142
21
/
31
 
Format X-form
Opcode 0x7C00011C
Extension Privileged
Registers Altered DPDES

Operands

  • RB
    Type