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
Okay, VPSHUFD accepts either a positive or negative 7 bit shuffle constant...
Semantically these two lines are equal: VPSHUFD $147, Y1, Y1 and VPSHUFD $-109, Y1, Y1
but only the second one compile without an error
CL25383 makes VPSHUFD consistent with PSHUFD and only allows non-negative arguments.
Gnu as allows both (e. g. -6 and 0xFA). It may make sense to add signed form, but that should be done for all instructions at once.
go version
)?1.7-beta2, 1.7-beta3
go env
)?What did you do?
The AVX2 instruction
VPSHUFD $0x39, Y1, Y1
andVPSHUFD $0x78, Y1, Y1
compile, but
VPSHUFD $0x93, Y0, Y0
e.g. fails with:If I use the plain byte representation,
in my case
BYTE $0xC5; BYTE $0xFD; BYTE $0x70; BYTE $0xC9; BYTE $0x93
everything is fine...
For reproducing:
The text was updated successfully, but these errors were encountered: