Hi, I debugged the program on linux/loong64 when I rebased code, but I met a bug that R1 is clobbered, R1 is also as LINK Register on loong64. Here is the code:
cmd/go/internal/lockedfile.(*File).Read (b=..., n=<optimized out>, err=...) at <autogenerated>:1 1 <autogenerated>: No such file or directory. 7: x/10i $pc => 0x1ca938 <cmd/go/internal/lockedfile.(*File).Read>: ld.d $r1,$r3,8(0x8) // r1 not saved for restore 0x1ca93c <cmd/go/internal/lockedfile.(*File).Read+4>: ld.d $r1,$r1,0 0x1ca940 <cmd/go/internal/lockedfile.(*File).Read+8>: addi.d $r4,$r3,0 0x1ca944 <cmd/go/internal/lockedfile.(*File).Read+12>: st.d $r1,$r4,8(0x8) 0x1ca948 <cmd/go/internal/lockedfile.(*File).Read+16>: b -944328(0xff19738) # 0xe4080 <os.(*File).Read> Thanks! -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAFN6XhYzaaMD_%2B%2Ba5q366XZRnDf2P0w2%2B7MUw-H%2Bj2%2B9YPevdg%40mail.gmail.com.
