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

vISA VME_FBR

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

Summary

Performs Video Motion Estimation with fractional and bidirectional refinement (FBR). See [4] for more detailed information on the VME functionality. This instruction may not appear inside a SIMD control flow block.

Syntax / Encoding

VME_FBR (<FBRMbMode>, <FBRSubMbShape>, <FBRSubPredMode>) <surface> <UNIInput> <FBRInput> <output>

Binary Encodings (1)

WidthFormatBit PatternMask / Match
Intel-vISA /

Operands

NameDescription
UNIInputThe raw operand of a general variable that stores the universal VME payload data. Must have type UB. Must have 128 elements
FBRInputThe raw operand of a general variable that stores the FBR specific payload data. Must have type UB. Must have 128 elements
SurfaceThe index of the surface variable
FBRMbModeThe inter macro-block type. Must have type UD. Valid values are:
FBRSubMbShapeThe sub-shape per block for fractional and bidirectional refinement. Must have type UD
FBRSubPredModeThe selection of shapes from the input message for performing VME. Must have type UD
OutputThe raw operand of a general variable used to store the VME output data. Must have type UB. Must have 224 elements

Reference Notes

## Opcode

  VME_FBR = 0x56

## Format

| | | | | | | |
| --- | --- | --- | --- | --- | --- | --- |
| 0x56(VME_FBR) | UNIInput | FBRInput | Surface | FBRMbMode | FBRSubMbShape | FBRSubPredMode |
|               | Output   |          |         |           |               |                |


## Semantics


```

      Video Motion Estimation - fractional and bidirectional refinement
```

## Description





    Performs Video Motion Estimation with fractional and bidirectional refinement (FBR). See [4] for more detailed information on the VME functionality. This instruction may not appear inside a SIMD control flow block.


- **UNIInput(raw_operand):** The raw operand of a general variable that stores the universal VME payload data. Must have type UB. Must have 128 elements


- **FBRInput(raw_operand):** The raw operand of a general variable that stores the FBR specific payload data. Must have type UB. Must have 128 elements


- **Surface(ub):** The index of the surface variable


- **FBRMbMode(scalar):** The inter macro-block type. Must have type UD. Valid values are:

  - 0: 16x16
  - 1: 16x8
  - 2: 8x16
  - 3: 8x8

- **FBRSubMbShape(scalar):** The sub-shape per block for fractional and bidirectional refinement. Must have type UD

  - Bit[1..0]: SubMbShape[0]

    - 0b00:  8x8
    - 0b01:  8x4
    - 0b10:  4x8
    - 0b11:  4x4
  - Bit[3..2]: SubMbShape[1]

    - 0b00:  8x8
    - 0b01:  8x4
    - 0b10:  4x8
    - 0b11:  4x4
  - Bit[5..4]: SubMbShape[2]

    - 0b00:  8x8
    - 0b01:  8x4
    - 0b10:  4x8
    - 0b11:  4x4
  - Bit[7..6]: SubMbShape[3]

    - 0b00:  8x8
    - 0b01:  8x4
    - 0b10:  4x8
    - 0b11:  4x4

- **FBRSubPredMode(scalar):** The selection of shapes from the input message for performing VME. Must have type UD

  - Bit[1..0]: SubMbPredMode[0]

    - 0b00:  Forward
    - 0b01:  Backward
    - 0b10:  Bidirectional
    - 0b11:  Illegal
  - Bit[3..2]: SubMbPredMode[1]

    - 0b00:  Forward
    - 0b01:  Backward
    - 0b10:  Bidirectional
    - 0b11:  Illegal
  - Bit[5..4]: SubMbPredMode[2]

    - 0b00:  Forward
    - 0b01:  Backward
    - 0b10:  Bidirectional
    - 0b11:  Illegal
  - Bit[7..6]: SubMbPredMode[3]

    - 0b00:  Forward
    - 0b01:  Backward
    - 0b10:  Bidirectional
    - 0b11:  Illegal

- **Output(raw_operand):** The raw operand of a general variable used to store the VME output data. Must have type UB. Must have 224 elements


#### Properties




## Text
```



    VME_FBR (<FBRMbMode>, <FBRSubMbShape>, <FBRSubPredMode>) <surface> <UNIInput> <FBRInput> <output>
```
## Notes