diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2012-10-09 21:53:21 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2012-10-31 22:20:48 +0100 |
commit | e0d002f17d1db1ade2b8d24b4a7c7ab361256726 (patch) | |
tree | 7656d2080a1e8ad8abbea01f6a26c31413e1e0f1 /hw/fmopl.c | |
parent | 51127181cfac0315720e6ca502eb133a353f6b11 (diff) | |
download | qemu-e0d002f17d1db1ade2b8d24b4a7c7ab361256726.zip qemu-e0d002f17d1db1ade2b8d24b4a7c7ab361256726.tar.gz qemu-e0d002f17d1db1ade2b8d24b4a7c7ab361256726.tar.bz2 |
target-mips: use deposit instead of hardcoded version
Use the deposit op instead of and hardcoded bit field insertion. It
allows the host to emit the corresponding instruction if available.
At the same time remove the (lsb > msb) test. The MIPS64R2 instruction
set manual says "Because of the instruction format, lsb can never be
greater than msb, so there is no UNPREDICATABLE case for this
instruction."
(Bug reported as LP:1071149.)
Cc: Никита Канунников <n.kanunnikov@sbtcom.ru>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'hw/fmopl.c')
0 files changed, 0 insertions, 0 deletions