brintos

brintos / llvm-project-archived public Read only

0
0
Text · 817 B · bdd6e1c Raw
30 lines · plain
1.. _amdgpu_synid_label:2 3label4=====5 6A branch target which is a 16-bit signed integer treated as a PC-relative dword offset.7 8This operand may be specified as one of the following:9 10* An :ref:`integer_number<amdgpu_synid_integer_number>` or an :ref:`absolute_expression<amdgpu_synid_absolute_expression>`. The value must be in the range -32768..65535.11* A :ref:`symbol<amdgpu_synid_symbol>` (for example, a label) representing a relocatable address in the same compilation unit where it is referred from. The value is handled as a 16-bit PC-relative dword offset to be resolved by a linker.12 13Examples:14 15.. parsed-literal::16 17  offset = 3018  label_1:19  label_2 = . + 420 21  s_branch 3222  s_branch offset + 223  s_branch label_124  s_branch label_225  s_branch label_326  s_branch label_427 28  label_3 = label_2 + 429  label_4:30