OSDN Git Service

tcg/i386: allow constants in load/store ops
authorAurelien Jarno <aurelien@aurel32.net>
Mon, 10 Sep 2012 11:56:24 +0000 (13:56 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Wed, 19 Sep 2012 19:40:46 +0000 (21:40 +0200)
commit5c2d2a9ee5f1978ae980598fba80151c761105a0
tree62f7159d7e4d0e9d872ad920fdf0852c78dfec6d
parent8354cd722e0afae63bee3e4cb21c8f0ddb6874c2
tcg/i386: allow constants in load/store ops

On x86, it is possible to move a constant value to memory. Add code to
handle a constant argument to load/store ops.

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