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

SFPEXMAN

T1 tenstorrent simd insn
SFPEXMAN (Vectorized extract FP32 mantissa bits)
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, Vector Unit, BlackholeA0, WormholeB0

Summary

Performs lanewise extraction of FP32 mantissa bits, depositing them in the low 23 bits. The next significant bit can be set to either 0 or 1, and then the top 8 bits are always set to zero.

Syntax / Encoding

TT_SFPEXMAN(0, /* u4 */ VC, /* u4 */ VD, /* u4 */ Mod1)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32Tensix-32b01111000xxxxxxxxxxxxxxxxxxxxxxxx0xff000000 / 0x78000000

Operands

NameDescription
VC
VD
Mod1

Reference Notes

# `SFPEXMAN` (Vectorized extract FP32 mantissa bits)

**Summary:** Performs lanewise extraction of FP32 mantissa bits, depositing them in the low 23 bits. The next significant bit can be set to either `0` or `1`, and then the top 8 bits are always set to zero.

**Backend execution unit:** [Vector Unit (SFPU)](VectorUnit.md), simple sub-unit

## Syntax

```c
TT_SFPEXMAN(0, /* u4 */ VC, /* u4 */ VD, /* u4 */ Mod1)
```

## Encoding

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

## Functional model

```c
if (Mod1 > 1) { // Reserved instruction modifiers
  NonContractualBehavior {
    Mod1 &= 1; // Current silicon behavior (not architecturally guaranteed)
  }
}
uint32_t HiddenBit = Mod1 & SFPEXMAN_MOD1_PAD9 ? 0 : 1u << 23;
if (VD < 8 || VD == 16) {
  lanewise {
    if (LaneEnabled) {
      uint32_t c = LReg[VC].u32; // FP32.
      uint32_t Man = c & 0x7fffff;
      LReg[VD].u32 = HiddenBit + Man; // Any kind of integer.
    }
  }
}
```

Supporting definitions:
```c
#define SFPEXMAN_MOD1_PAD9 1
```