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: mips64 instruction UNPREDICTABLE error #30459
What version of Go are you using (
I looked the asm of file A, it showed below:
[wuheng@localhost]$ mips64--gnu-objdump -S A | less ... mask := rune(x) << 31 >> 31 a9558: 00010ff8 dsll at,at,0x1f a955c: 00200821 move at,at a9560: 00010ffb dsra at,at,0x1f ...
It seemd golang use AADDU instruction to sign-extended to high 32 bits(
I debuged the program A, and I found the high 32 bits are not equal in at register!
referenced this issue
Feb 28, 2019
I looked the MIPS III ISA, there is a line of