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

MOP

T1 tenstorrent alu insn
MOP (Execute pre-programmed macro-op sequence)
SourceTenstorrent Official Tensix ISA Documentation (Wormhole & Blackhole) (tenstorrent_tt_isa)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeBlackholeA0 / WormholeB0
Tenstorrent Wormhole B0 & Blackhole A0
License & VersionApache-2.0
main
Upstreamhttps://github.com/tenstorrent/tt-isa-documentation
Privilegeuser
ExtensionsTensix, Tensix Coprocessor, BlackholeA0, WormholeB0

Summary

The MOP Expander removes this instruction from the instruction stream, and replaces it with a different sequence of up to 32639 instructions. The sequence is based on one of two possible templates; template 0 uses a mixture of pre-programmed configuration and Count1 and MaskLo, whereas template 1 exclusively uses pre-programmed configuration. RISCV B cannot use this instruction, as the point where it pushes…

Syntax / Encoding

TT_MOP(/* u1 */ Template, /* u7 */ Count1, /* u16 */ MaskLo)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32Tensix-32b00000001xxxxxxxxxxxxxxxxxxxxxxxx0xff000000 / 0x01000000

Operands

NameDescription
Template
Count1
MaskLo

Reference Notes

# `MOP` (Execute pre-programmed macro-op sequence)

**Summary:** The MOP Expander removes this instruction from the instruction stream, and replaces it with a different sequence of up to 32639 instructions. The sequence is based on one of two possible templates; template 0 uses a mixture of pre-programmed configuration and `Count1` and `MaskLo`, whereas template 1 exclusively uses pre-programmed configuration. RISCV B cannot use this instruction, as the point where it pushes instructions is after the MOP Expander.

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

## Syntax

```c
TT_MOP(/* u1 */ Template, /* u7 */ Count1, /* u16 */ MaskLo)
```

## Encoding

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

## Functional model

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