summaryrefslogtreecommitdiff
path: root/target-mips/op_helper.c
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2012-10-09 21:53:21 +0200
committerAurelien Jarno <aurelien@aurel32.net>2012-10-31 22:20:48 +0100
commite0d002f17d1db1ade2b8d24b4a7c7ab361256726 (patch)
tree7656d2080a1e8ad8abbea01f6a26c31413e1e0f1 /target-mips/op_helper.c
parent51127181cfac0315720e6ca502eb133a353f6b11 (diff)
downloadqemu-e0d002f17d1db1ade2b8d24b4a7c7ab361256726.tar.gz
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 'target-mips/op_helper.c')
0 files changed, 0 insertions, 0 deletions