x/tools/go/analysis/passes/asmdecl: false error report for 16 byte move #39220
Labels
Analysis
Issues related to static analysis (vet, x/tools/go/analysis)
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
The following assembly
produces the following error report from
asmdecl
:Since
MOVOU
is a 128-bit move, this is a false positive.The error is produced here: https://github.com/golang/tools/blob/73554e0f78058c37e5421bc48273a72400172221/go/analysis/passes/asmdecl/asmdecl.go#L781
Inspecting this code, it's clear that the move size detection does not handle sizes of 16 bytes and up.
The text was updated successfully, but these errors were encountered: