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
bradfitz
changed the title
Go vet doesn't handle complex64 or complex128 types in asm functions
cmd/vet: doesn't handle complex64 or complex128 types in asm functions
May 10, 2016
bismarck=% go vet
x.s:2: [amd64] CVTc128toc64: wrong argument size 8; expected $...-24
x.s:3: [amd64] CVTc128toc64: invalid CVTPD of n+0(FP); complex128 is 16-byte value containing n_real+0(FP) and n_imag+8(FP)
x.s:4: [amd64] CVTc128toc64: invalid MOVB of n+0(FP); complex128 is 16-byte value containing n_real+0(FP) and n_imag+8(FP)
x.s:5: [amd64] CVTc128toc64: invalid offset ret+8(FP); expected ret+16(FP), ret_real+16(FP), or ret_imag+20(FP)
exit status 1
bismarck=%
not sure what the fix was, but it happened in drive-by.
Please answer these questions before submitting your issue. Thanks!
go version
)?go version go1.6.2 linux/amd64
go env
)?linux/amd64
go vet doesn't properly handle complex types in asm functions. To reproduce,
asm.go:
asm_amd64.s:
I expect go vet output for these files to be:
The output from go vet is:
The text was updated successfully, but these errors were encountered: