target/mips: optimize WSBH, DSBH and DSHD
commit06a57e5cc7ee5292a4915117ebf951e310a28264
authorAurelien Jarno <aurelien@aurel32.net>
Fri, 23 Jun 2017 10:41:16 +0000 (23 12:41 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 17 Jul 2017 14:48:21 +0000 (17 16:48 +0200)
treec5cb3dcf67a981a57d81f7afc219d5a943d8b265
parentc6c2c0fc32362ba234ae3bdad1a55c2d6aefaa12
target/mips: optimize WSBH, DSBH and DSHD

Use the same mask to avoid having to load two different constants.

Suggested-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target/mips/translate.c