when doing:
__asm __volatile ("mfpc %0,0" :"=r"(x) :"r"(x) : "memory");
i get:
{standard input}:318: Error: opcode not supported on this processor: r5900 (mips3) `mfpc $2,0'
.emoon
mfpc (move from peformance counter) not supported.
Indeed.
Please, ooPo, could you check binutils, file opcodes/mips-opc.c, seek to the line 760and replace "M1|N5" by "M1|N5|T5" please ? Thanks ;)
Please, ooPo, could you check binutils, file opcodes/mips-opc.c, seek to the line 760
Code: Select all
{"mfpc", "t,P", 0x4000c801, 0xffe0ffc1, LCD|WR_t|RD_C0, M1|N5 },
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.
Actually, insert a new line after that mfpc line and use:
The LCD flag is incorrect for r5900 so there needs to be a seperate line for mfpc.
Code: Select all
{"mfpc", "t,P", 0x4000c801, 0xffe0ffc1, RD_C0|WR_t, T5 },
"He was warned..."