Go version
master
Output of go env in your module/workspace:
What did you do?
Adding the following codegen test to bitRotateAndMask:
// ppc64x: "MOVWZ", "RLWNM\t[$]1, R[0-9]*, [$]28, [$]3, R"
io64[3] = uint64(bits.RotateLeft32(io32[0],1) & 0xF000000F)
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.
Go version
master
Output of
go envin 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.