On Fri, Apr 4, 2014 at 1:11 AM, Huacai Chen <chenhc@xxxxxxxxxx> wrote: > Loongson-3 has some specific instructions (MMI/SIMD) in coprocessor 2. > COP2 isn't independent because it share COP1 (FPU)'s registers. This > patch enable the COP2 usage so user-space programs can use the MMI/SIMD > instructions. When COP2 exception happens, we enable both COP1 (FPU) > and COP2, only in this way the fp context can be saved and restored > correctly. Is there a Loongson 3 programmers manual somewhere, similar to Loongson2FUserGuide.pdf? I optimized pixman for Loongson 2E/2F using their SIMD instructions. I've compiled pixman for Loongson 3A and I see some new instructions being used in the disassembly, but I have no Loongson 3 system to test on. At minimum, having a manual would be nice. Thanks, Matt