ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

MOP_CFG

T1 tenstorrent alu insn
MOP_CFG (Provide 16 bits of configuration for next MOP)
SourceTenstorrent Official Tensix ISA Documentation (Wormhole & Blackhole) (tenstorrent_tt_isa)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeWormholeB0
Tenstorrent Wormhole B0 & Blackhole A0
License & VersionApache-2.0
main
Upstreamhttps://github.com/tenstorrent/tt-isa-documentation
Privilegeuser
ExtensionsTensix, Tensix Coprocessor, WormholeB0

Summary

MOP instructions using template 0 usually want to specify a 32-bit mask, but the MOP instruction only has space for 16 bits of the mask. MOP_CFG is used prior to such a MOP to specify the high 16 bits of the mask.

Syntax / Encoding

TT_MOP_CFG(/* u16 */ MaskHi)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32Tensix-32b00000011xxxxxxxxxxxxxxxxxxxxxxxx0xff000000 / 0x03000000

Operands

NameDescription
MaskHi

Reference Notes

# `MOP_CFG` (Provide 16 bits of configuration for next `MOP`)

**Summary:** [`MOP`](MOP.md) instructions using template 0 usually want to specify a 32-bit mask, but the `MOP` instruction only has space for 16 bits of the mask. `MOP_CFG` is used prior to such a `MOP` to specify the high 16 bits of the mask.

**Frontend execution unit:** [MOP Expander](MOPExpander.md)

## Syntax

```c
TT_MOP_CFG(/* u16 */ MaskHi)
```

## Encoding

![](../../../Diagrams/Out/Bits32_MOP_CFG.svg)

## Functional model

See [MOP Expander's functional model](MOPExpander.md#functional-model).