tcg/i386: Always use %ebp for TCG_AREG0
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 30 Oct 2018 21:52:44 +0000 (21:52 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 17 Dec 2018 03:04:43 +0000 (06:04 +0300)
commit5740d9f714835964873325d1210b26811252843f
tree04038bcc6a91222e3b971539c1a5add901b66336
parentf6823cbe3787aa47db62deede6683077e3da9a2c
tcg/i386: Always use %ebp for TCG_AREG0

For x86_64, this can remove a REX prefix resulting in smaller code
when manipulating globals of type i32, as we move them between backing
store via cpu_env, aka TCG_AREG0.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/i386/tcg-target.h