Commit [51061b]  Maximize  Restore  History

MIPS: math-emu: Fix prefx detection and COP1X function field definition

When running applications which contain the instruction "prefx" on FPU-less
CPUs, a message "Illegal instruction" will be seen. This instruction is
supposed to be ignored by the FPU emulator. However, its current detection
and function field encoding are incorrect. This patch fix the issue.

Signed-off-by: Deng-Cheng Zhu <>
Reviewed-by: Leonid Yegoshin <>
Reviewed-by: Paul Burton <>
Acked-by: David Daney <>
Signed-off-by: Ralf Baechle <>

Deng-Cheng Zhu Deng-Cheng Zhu 2014-03-07

Ralf Baechle Ralf Baechle 2014-03-11

changed arch/mips/include/uapi/asm/inst.h
changed arch/mips/math-emu/cp1emu.c
arch/mips/include/uapi/asm/inst.h Diff Switch to side-by-side view
arch/mips/math-emu/cp1emu.c Diff Switch to side-by-side view

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks