__tile_zero
Classification
AMX, Application-Targeted, CPUID Test: AMX-TILE
Header File
Instruction
TILEZERO tmm
Synopsis
__tile_zero(__tile1024i* dst);
Description
Zero the tile specified by "dst". The shape of tile is specified in the struct of __tile1024i. The register of the tile is allocated by compiler.
Operation
nbytes := palette_table[tileconfig.palette_id].bytes_per_row
FOR i := 0 TO palette_table[tileconfig.palette_id].max_rows-1
FOR j := 0 TO nbytes-1
tdest.row[i].byte[j] := 0
ENDFOR
ENDFOR