tcg: Clean up generic bswap32
commita686dc71d89b1d7934becd95c843aa1375cdb7e7
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 20 Nov 2018 19:38:16 +0000 (20 20:38 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 17 Dec 2018 03:04:44 +0000 (17 06:04 +0300)
treec225a31acf25a8142c6d05598e846ad1e6571c5b
parent5785c17f319106d6709f4ffc05de888cb0a412f3
tcg: Clean up generic bswap32

Based on the only current user, Sparc:

New code uses 1 constant that takes 2 insns to create, plus 8.
Old code used 2 constants that took 2 insns to create, plus 9.
The result is a new total of 10 vs an old total of 13.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tcg-op.c