tcg: Use tcg_target_available_regs in tcg_reg_alloc_mov
commitaf3cbfbe8018ccc16fb3a0048e928f66f0d05e87
authorRichard Henderson <rth@twiddle.net>
Tue, 29 Apr 2014 16:07:05 +0000 (29 09:07 -0700)
committerRichard Henderson <rth@twiddle.net>
Mon, 12 May 2014 18:13:12 +0000 (12 11:13 -0700)
tree6e446e69f51728972072201e23e046b4b34cf1bd
parentcf066674280c65a9e035eca073ce3a05887af502
tcg: Use tcg_target_available_regs in tcg_reg_alloc_mov

The move opcodes are special in that their constraints must cover
all available registers.  So instead of checking the constraints,
just use the available registers.

Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/tcg.c