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

SFPMUL

T1 tenstorrent fp insn
SFPMUL (Vectorized floating-point multiply)
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
Note: If SFPMUL is used, software must ensure that on the next cycle, the Vector Unit (SFPU) does not execute an instruction which reads from any location written to by the SFPMUL. An SFPNOP instruction can be inserted to ensure this.

Summary

Identical to SFPMAD, but is the preferred opcode when VC == 9, as this causes the computation to be lanewise FP32 VD = VA * VB + 0 (see the definition of [LReg[9]](LReg.md)). Do not use this instruction unless VC == 9; use SFPMAD instead for other cases.

Syntax / Encoding

TT_SFPMUL(/* u4 */ VA, /* u4 */ VB, /* u4 */ VC, /* u4 */ VD, /* u4 */ Mod1)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32Tensix-32b10000110xxxxxxxxxxxxxxxxxxxxxxxx0xff000000 / 0x86000000

Operands

NameDescription
VA
VB
VC
VD
Mod1

Reference Notes

# `SFPMUL` (Vectorized floating-point multiply)

**Summary:** Identical to [`SFPMAD`](SFPMAD.md), but is the preferred opcode when `VC == 9`, as this causes the computation to be lanewise FP32 `VD = VA * VB + 0` (see the definition of [`LReg[9]`](LReg.md)). Do not use this instruction unless `VC == 9`; use `SFPMAD` instead for other cases.

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

## Syntax

```c
TT_SFPMUL(/* u4 */ VA, /* u4 */ VB, /* u4 */ VC, /* u4 */ VD, /* u4 */ Mod1)
```

## Encoding

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

## Functional model

As per [`SFPMAD`](SFPMAD.md#functional-model).

## IEEE754 conformance / divergence

As per [`SFPMAD`](SFPMAD.md#ieee754-conformance--divergence).

## Instruction scheduling

If `SFPMUL` is used, software must ensure that on the next cycle, the Vector Unit (SFPU) does not execute an instruction which reads from any location written to by the `SFPMUL`. An [`SFPNOP`](SFPNOP.md) instruction can be inserted to ensure this.