ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

vISA LABEL

T1 intel-gpu simd insn
Intel GPU vISA Instruction: LABEL
SourceIntel Graphics Compiler Official Virtual ISA (vISA) Specification (intel_gpu_visa)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeIntel Gen8–Xe2 vISA
Intel Gen9–Gen12 / Xe-LP / Xe-HPG / Xe-HPC / Xe2
License & VersionMIT
master
Upstreamhttps://github.com/intel/intel-graphics-compiler/tree/master/documentation/visa
Privilegeuser
ExtensionsBDW, SKL, BXT, ICLLP, TGLLP

Summary

Intel GPU vISA LABEL instruction.

Syntax / Encoding

LABEL <label>

Binary Encodings (1)

WidthFormatBit PatternMask / Match
Intel-vISA /

Operands

NameDescription
LabelIndex of the label variable for the subroutine. It must be a block label

Reference Notes

## Opcode

  LABEL = 0x31

## Format

| | |
| --- | --- |
| 0x31(LABEL) | Label |


## Semantics


```

                    Declare a basic block.
```

## Description





```
    Create a new basic block starting at <label>.
```


- **Label(uw):** Index of the label variable for the subroutine. It must be a block label


#### Properties




## Text
```
LABEL <label>
```

## Notes





    The instruction itself is a nop. Label marks the start of the basic block, and may be used as the target of a JMP instruction.
    There is no instruction to mark the end of a basic block; a basic block ends when we reach another control flow instruction.