Home
last modified time | relevance | path

Searched hist:"69 a1e6cbdf1f40d5dcae84c5a538d390b6d2c307" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/mips/math-emu/
H A Ddsemul.cdiff 69a1e6cbdf1f40d5dcae84c5a538d390b6d2c307 Thu Jan 21 23:21:00 CST 2016 Maciej W. Rozycki <macro@imgtec.com> MIPS: math-emu: Correct the emulation of microMIPS ADDIUPC instruction

Emulate the microMIPS ADDIUPC instruction directly in `mips_dsemul'. If
executed in the emulation frame, this instruction produces an incorrect
result, because the value of the PC there is not the same as where the
instruction originated.

Reshape code so as to handle all microMIPS cases together.

Signed-off-by: Maciej W. Rozycki <macro@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12175/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
/openbmc/linux/arch/mips/include/uapi/asm/
H A Dinst.hdiff 69a1e6cbdf1f40d5dcae84c5a538d390b6d2c307 Thu Jan 21 23:21:00 CST 2016 Maciej W. Rozycki <macro@imgtec.com> MIPS: math-emu: Correct the emulation of microMIPS ADDIUPC instruction

Emulate the microMIPS ADDIUPC instruction directly in `mips_dsemul'. If
executed in the emulation frame, this instruction produces an incorrect
result, because the value of the PC there is not the same as where the
instruction originated.

Reshape code so as to handle all microMIPS cases together.

Signed-off-by: Maciej W. Rozycki <macro@imgtec.com>
Cc: Aurelien Jarno <aurelien@aurel32.net>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/12175/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>