cmd/compile: PPC64 folds (MOVWZreg (RLWINM x)) incorrectly in some cases #67844
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FixPending
Issues that have a fix which has not yet been reviewed or submitted.
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
Go version
master
Output of
go env
in your module/workspace:What did you do?
Adding the following codegen test to
bitRotateAndMask
:What did you see happen?
The MOVWZ is missing.
What did you expect to see?
The MOVWZ opcode should be present for certain usages of RLWINM to ensure the upper 32 bits are cleared when the value is expected to be zero-extended.
The text was updated successfully, but these errors were encountered: