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
Ran codegen tests at tip:
../bin/go test cmd/internal/testdir -run='Test/codegen/constants.go' -v -count=1
../bin/go test cmd/internal/testdir -run='Test/codegen/mathbits.go' -v -count=1
What did you see happen?
codegen/constants.go:12: linux/ppc64le/power10: opcode not found: "^MOVD\t[$]8193,"
codegen/constants.go:18: linux/ppc64le/power10: opcode not found: "^SLD\t[$]44,"
codegen/mathbits.go:741: linux/ppc64le/power10: opcode not found: "^ADDC\tR\d+,"
codegen/mathbits.go:743: linux/ppc64le/power10: opcode not found: "^ADDE"
What did you expect to see?
Expected the compiler to emit the expected PPC64 instructions matching the ppc64x: asm comments. Disassembly confirms that both shifted16BitConstants and contiguousMaskConstants, as well as Add64MultipleChains, were reduced to a single JMP LR because the results were not observable.