diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2016-01-22 05:21:00 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-01-24 01:36:10 +0100 |
commit | 69a1e6cbdf1f40d5dcae84c5a538d390b6d2c307 (patch) | |
tree | 5cfd41a53625d104620bb267345d0ecac2798f8a /arch/mips/fw | |
parent | 733b8bc183f491e8263009edf8ef184fb44a6882 (diff) | |
download | linux-stable-69a1e6cbdf1f40d5dcae84c5a538d390b6d2c307.tar.gz linux-stable-69a1e6cbdf1f40d5dcae84c5a538d390b6d2c307.tar.bz2 linux-stable-69a1e6cbdf1f40d5dcae84c5a538d390b6d2c307.zip |
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>
Diffstat (limited to 'arch/mips/fw')
0 files changed, 0 insertions, 0 deletions