tcg: Improve register allocation for matching constraints
commitd62816f2db439b2dd761c674f0256f21d9dd2ed0
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 28 Nov 2018 04:21:31 +0000 (27 20:21 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 25 Dec 2018 19:57:40 +0000 (26 06:57 +1100)
tree4d15a026d4564a1ecf7f39820263e482a1e1fd98
parent69e3706d2b473815e382552e729d12590339e0ac
tcg: Improve register allocation for matching constraints

Try harder to honor the output_pref.  When we're forced to allocate
a second register for the input, it does not need to use the input
constraint; that will be honored by the register we allocate for the
output and a move is already required.

Reviewed-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/tcg.c