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

SFPXOR

T1 tenstorrent bitmanip insn
SFPXOR (Vectorized bitwise exclusive-or)
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 bitwise exclusive-or between two vectors of 32-bit unsigned integers.

Syntax / Encoding

TT_SFPXOR(0, /* u4 */ VC, /* u4 */ VD, 0)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32Tensix-32b10001101xxxxxxxxxxxxxxxxxxxxxxxx0xff000000 / 0x8d000000

Operands

NameDescription
VC
VD

Reference Notes

# `SFPXOR` (Vectorized bitwise exclusive-or)

**Summary:** Performs lanewise bitwise exclusive-or between two vectors of 32-bit unsigned integers.

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

## Syntax

```c
TT_SFPXOR(0, /* u4 */ VC, /* u4 */ VD, 0)
```

## Encoding

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

## Functional model

```c
unsigned VB = VD;
if (VD < 8 || VD == 16) {
  lanewise {
    if (LaneEnabled) {
      LReg[VD].u32 = LReg[VB].u32 ^ LReg[VC].u32;
    }
  }
}
```