Home › Forums › MIPS Insider › Which toolchain support fork/yield instruction or how can I compile one toolchain to support them
This topic contains 1 reply, has 1 voice, and was last updated by hualab 3 years ago.
When I use linaro 4.8.1 GCC for MIPS, I have the following compiling error Error: opcode not supported on this processor: mips32r2 (mips32r2) `yield $2,$0′
I need toolchain whcih support yield/fork instruction or some special compiling options need in Linux kernel (3.10.12)
Solve it by adding .set mips32r2 and .set mt before yield instruction