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?
to your account
$ go version (latest)
go version devel go1.20-e8894bd8fc Mon Sep 5 11:30:31 2022 +0800 linux/amd64
$ go env
$ go vet
// func foo() uint64
MOVOU X1, ret+0(FP)
./x.s:5:1: [amd64] foo: invalid MOVOU of ret+0(FP); uint64 is 16-byte value
The size of MOVOU is 16 bytes (https://www.felixcloutier.com/x86/movdqu:vmovdqu8:vmovdqu16:vmovdqu32:vmovdqu64), it is the same as the uint64.
So I guess it may be a false positive?
asmdecl code: https://github.com/golang/tools/blob/master/go/analysis/passes/asmdecl/asmdecl.go#L822
The text was updated successfully, but these errors were encountered:
Hmm, I would have expected this to be fixed with https://go-review.googlesource.com/c/tools/+/204537/ . At least, if we replace uint64 with float64 (which also reports an error).
Sorry, something went wrong.
CC @golang/tools-team ?
No branches or pull requests