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

UNPACR_FlushCache

T1 tenstorrent load_store insn
UNPACR (Flush unpacker decompression row start cache)
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, Unpackers, WormholeB0

Summary

Flush the cache which unpacker input address generators use for determining the byte-level start/end points within compressed data. Software might need to use this between UNPACR (Move datums from L1 to SrcA or SrcB or Dst) instructions if performing decompression as part of unpacking, and it is rapidly reusing the memory containing compressed data.

Syntax / Encoding

TT_OP_UNPACR(/* u1 */ WhichUnpacker,
             0,
             false,
             0,
             0,
             /* bool */ MultiContextMode,
             false,
             false,
             false,
             false,
             false,
             true,
             false)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32Tensix-32b01000010xxxxxxxxxxxxxxxxxxxxxx1x0xff000002 / 0x42000002

Reference Notes

# `UNPACR` (Flush unpacker decompression row start cache)

**Summary:** Flush the cache which unpacker input address generators use for determining the byte-level start/end points within compressed data. Software might need to use this between [`UNPACR` (Move datums from L1 to `SrcA` or `SrcB` or `Dst`)](UNPACR_Regular.md) instructions if performing decompression as part of unpacking, and it is rapidly reusing the memory containing compressed data.

**Backend execution unit:** [Unpackers](Unpackers/README.md)

## Syntax

```c
TT_OP_UNPACR(/* u1 */ WhichUnpacker,
             0,
             false,
             0,
             0,
             /* bool */ MultiContextMode,
             false,
             false,
             false,
             false,
             false,
             true,
             false)
```

## Encoding

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

## Functional model

The cache is not modelled, so no functional model is provided. The physical manifestation of Wormhole has four one-entry caches per unpacker. When `MultiContextMode` is `true`, all four are cleared. Otherwise, just the cache for the current thread is cleared.