sendmsgΒΆ

An 8-bit value in simm16[7:0] encodes the message type.

This operand may be specified as one of the following:

  • An integer_number or an absolute_expression. The value must be in the range 0..0xFFFF.

  • A sendmsg value described below.

    Sendmsg Value Syntax

    Description

    sendmsg(<type>)

    A message identified by its type.

Type may be specified using message name or message id.

Numeric values may be specified as positive integer numbers or absolute expressions.

Only the following message types are valid.

Message type

simm16[7:0]

Reserved

0

MSG_INTERRUPT

1

MSG_HS_TESSFACTOR

2

MSG_DEALLOC_VGPRS

3

MSG_GS_ALLOC_REQ

9

Examples:

// numeric message code
msg = 0x1
s_sendmsg 0x3
s_sendmsg msg + 2

// sendmsg with strict arguments validation
s_sendmsg sendmsg(MSG_INTERRUPT)