corsix / amx

Apple AMX Instruction Set

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

register 31 - SP or XZR?

skochinsky opened this issue · comments

dougallj claims that 31 means XZR, but do any AMX operations make sense with an all-zero value? OTOH, using SP as GPR can be tricky/dangerous...

Most operations (other than loads/stores) have a perfectly rational interpretation of an all-zero operand, with this being clearest for something like fma64: all-zeroes there just does Z0 += X0 @ Y0.

Thank you! I would suggest you to make this explicit in the encoding documentation