cmd/asm: on PPC64, FCMPO Fx, Fy, CRz assembles incorrectly #67359
Labels
arch-ppc64x
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.
Milestone
Go version
go1.23-a1247673ca
Output of
go env
in your module/workspace:What did you do?
I added an asm test case for
FCMPO F1, F2, CR0 // fc011040
which should assemble identically toFCMPO F1, F2 // fc011040
incmd/asm/internal/asm/testdata/ppc64.s
What did you see happen?
The test produced the following error
endtoend_test.go:239: 03016 (testdata/ppc64.s:766) FCMPO F1, F2, CR0: have encoding fd010040, want fc011040
What did you expect to see?
The instruction should assemble identically to its equivalent 2 argument form.
The text was updated successfully, but these errors were encountered: