Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: asm for results says (SP) not (FP) #19458
Note that the result is described as
Yes, probably 37255. I changed the disassembler to print the real base register if it is provided. For the example, the SSA is:
The reason for 37255 is that if the associated symbol is a PPARAM we always printed FP even though the base register was something bad, like CX. So the assembly looked ok and the code was actually bad.
We should probably fix