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
I would expect those 32-bit loads to be collapsed into a single MOVL instruction. This was implemented during the 1.7 cycle but apparently broke at some point.
etc. that is, the Uint32() calls are being generated with loads and shifts.
The text was updated successfully, but these errors were encountered:
bradfitz
changed the title
binary.LittleEndian.Uint32 doesn't generate a single load anymore
cmd/compile: binary.LittleEndian.Uint32 doesn't generate a single load anymore
Sep 19, 2016
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go 1.7 and tip
What operating system and processor architecture are you using (
go env
)?darwin amd64
What did you do?
What did you expect to see?
I would expect those 32-bit loads to be collapsed into a single
MOVL
instruction. This was implemented during the 1.7 cycle but apparently broke at some point.What did you see instead?
etc. that is, the
Uint32()
calls are being generated with loads and shifts.The text was updated successfully, but these errors were encountered: