We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I expected that an instruction like:
VPSHUFB Z1, Z8, K0, Z8
would assemble. But it does not. (asm: invalid instruction). If I change the mask to K1 then it does.
Am I confused about what mask registers are available in the AVX-512 instruction set, or is the assembler confused?
/cc @quasilyte @TocarIP
The text was updated successfully, but these errors were encountered:
k0 is a zero register, and avx512 doesn't allow k0 as a write mask (it has the same encoding as no-mask version). Gnu as also rejects it:
build$ cat a.s vpshufb %zmm0,%zmm0,%zmm0{%k1} #works vpshufb %zmm0,%zmm0,%zmm0{%k0} build$ as a.s a.s: Assembler messages: a.s:2: Error: `%k0' can't be used for write mask
Sorry, something went wrong.
Closing as working as intended. Reopen and retitle if you want the assembler to print a more informative error.
No branches or pull requests
I expected that an instruction like:
would assemble. But it does not. (asm: invalid instruction).
If I change the mask to K1 then it does.
Am I confused about what mask registers are available
in the AVX-512 instruction set, or is the assembler confused?
/cc @quasilyte @TocarIP
The text was updated successfully, but these errors were encountered: