tcg/i386: remove ld/st third argument register constraint
commit17b914912d6175a5405d472832d6eba6187b6beb
authorAurelien Jarno <aurelien@aurel32.net>
Sat, 20 Oct 2012 15:31:44 +0000 (20 17:31 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 28 Oct 2012 13:54:15 +0000 (28 14:54 +0100)
treeb98f76df3af21093e608b32cf8bd58ff231cfcc6
parent166792f7bbe2cad120b75062ff6f8f1b67366f18
tcg/i386: remove ld/st third argument register constraint

On x86_64, remove the constraint on the third argument register which
is not needed:
 - For loads the helper arguments are env, addr, mem_idx. The addr
   value should not be in the two first argument registers as they are
   used in tcg_out_tlb_load().
 - For stores the helper arguments are env, addr, data, mem_idx.
   The addr and data values should not be in the two first argument
   registers as they are used in tcg_out_tlb_load(). The data value
   should also not be in the two first argument registers, but could
   be in the third argument register in which case it would be already
   loaded at the right location.

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