TILEZERO

Zero Tile

stableVMJITAOTinstruction

Encodings

OpcodeInstructionOp/En64-bitCompat/LegacyDescription
VEX.128.F2.0F38.W0 49 11:rrr:000TILEZERO tmm1AValidNot encodableZero the destination tile.

Operand encoding

Each mode is a value of the Op/En column above. It says which field of the encoded instruction carries each operand, in the order they are written, and whether the instruction reads it, writes it or both.

A

  1. modrm.reg escrituraModRM byte, reg field (bits 5-3)

Measured cost

Loading measurements from arch-data...

Description

This instruction zeroes the destination tile. Any attempt to execute the TILEZERO instruction inside an Intel TSX transaction will result in a transaction abort.

Operation

TILEZERO tdest

nbytes := palette_table[palette_id].bytes_per_row

for i in 0 ... palette_table[palette_id].max_rows-1:
    for j in 0 ... nbytes-1:
          tdest.row[i].byte[j] := 0

zero_tilecfg_start()

Intel C/C++ compiler intrinsics

TILEZERO void _tile_zero(__tile dst);

Flags affected

None.

Exceptions AMX-E5; see Section 2.10, "Intel(R) AMX Instruction Exception Classes," for details.

Sources