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

vISA LOC

T1 intel-gpu simd insn
Intel GPU vISA Instruction: LOC
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

Specify the source line number for the subsequent instructions. The

Syntax / Encoding

LOC <line_number>

Binary Encodings (1)

WidthFormatBit PatternMask / Match
Intel-vISA /

Operands

NameDescription
Line_numberSource line number for the subsequent instruction

Reference Notes

## Opcode

  LOC = 0x52

## Format

| | |
| --- | --- |
| 0x52(LOC) | Line_number |


## Semantics


```

      Source line number for the subsequent instructions.
```

## Description





    Specify the source line number for the subsequent instructions. The
    source line number remains in effect until the next LOC instruction
    changes it. This instruction is used for debugging purposes.


- **Line_number(ud):** Source line number for the subsequent instruction


#### Properties




## Text
```



    LOC <line_number>
```
## Notes