tcg/mips: inline bswap16/bswap32 ops
commitdf81ff51d50b22c52e609e13d5292d09e4634659
authorAurelien Jarno <aurelien@aurel32.net>
Wed, 28 Aug 2013 11:51:40 +0000 (28 13:51 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 2 Sep 2013 23:34:46 +0000 (3 01:34 +0200)
tree27ca8ea1b9f4c87bad165c9aa32add796442a14c
parent988902fc3bc599f7431461b790f3d63d3a2357f9
tcg/mips: inline bswap16/bswap32 ops

Use an inline version for the bswap16 and bswap32 ops to avoid
testing for MIPS32R2 instructions availability, as these ops are
only available in that case.

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