gfx8_label.rst 1.09 KB

label

A branch target which is a 16-bit signed integer treated as a PC-relative dword offset.

This operand may be specified as one of the following:

Examples:

offset = 30
label_1:
label_2 = . + 4

s_branch 32
s_branch offset + 2
s_branch label_1
s_branch label_2
s_branch label_3
s_branch label_4

label_3 = label_2 + 4
label_4: