diff options
| author | Huacai Chen <[email protected]> | 2014-06-26 11:41:31 +0800 |
|---|---|---|
| committer | Ralf Baechle <[email protected]> | 2014-07-30 21:47:17 +0200 |
| commit | ef2f826c8f2ff1e4215968042139604633581a13 (patch) | |
| tree | 2e2cb70e0a16ade5ea70b0ef00ff67ff902d25d8 /tools/perf/scripts/python | |
| parent | e7841be50fe2b8751a51a068b8cdcdcb6611e354 (diff) | |
MIPS: Loongson-3: Enable the COP2 usage
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.
Signed-off-by: Huacai Chen <[email protected]>
Cc: John Crispin <[email protected]>
Cc: Steven J. Hill <[email protected]>
Cc: Aurelien Jarno <[email protected]>
Cc: [email protected]
Cc: Fuxin Zhang <[email protected]>
Cc: Zhangjin Wu <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/7189/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions