You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both instructions are semantically equal: VPERMQ $-40, Y0, Y0 == VPERMQ $216, Y0, Y0
It seems to be similar to #16499 since negative constants work and produce correct results.
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.10 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?What did you do?
What did you expect to see?
Assembler should generate valid op-codes.
What did you see instead?
Assembler fails with:
asm: invalid instruction: 00117 (foo_amd64.s:336) VPERMQ $216, Y0, Y0
Background
Both instructions are semantically equal:
VPERMQ $-40, Y0, Y0 == VPERMQ $216, Y0, Y0
It seems to be similar to #16499 since negative constants work and produce correct results.
/cc @TocarIP
The text was updated successfully, but these errors were encountered: