Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

register 31 - SP or XZR? #11

Closed
skochinsky opened this issue Jan 25, 2024 · 2 comments
Closed

register 31 - SP or XZR? #11

skochinsky opened this issue Jan 25, 2024 · 2 comments

Comments

@skochinsky
Copy link

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...

@corsix
Copy link
Owner

corsix commented Jan 25, 2024

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.

@skochinsky
Copy link
Author

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

corsix added a commit that referenced this issue Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants