Re: [Qemu-devel] [PATCH] tcg/i386: allow constants in load/store ops

2012-09-10 Thread Aurelien Jarno
On Mon, Sep 10, 2012 at 06:40:09AM -0700, Richard Henderson wrote: > On Mon, 2012-09-10 at 13:56 +0200, Aurelien Jarno wrote: > > On x86, it is possible to move a constant value to memory. Add code to > > handle a constant argument to load/store ops. > > > > Signed-off-by: Aurelien Jarno > > Wh

Re: [Qemu-devel] [PATCH] tcg/i386: allow constants in load/store ops

2012-09-10 Thread Richard Henderson
On Mon, 2012-09-10 at 13:56 +0200, Aurelien Jarno wrote: > On x86, it is possible to move a constant value to memory. Add code to > handle a constant argument to load/store ops. > > Signed-off-by: Aurelien Jarno While useful, you'll find that most constants that want storing to memory are not g

[Qemu-devel] [PATCH] tcg/i386: allow constants in load/store ops

2012-09-10 Thread Aurelien Jarno
On x86, it is possible to move a constant value to memory. Add code to handle a constant argument to load/store ops. Signed-off-by: Aurelien Jarno --- tcg/i386/tcg-target.c | 50 - 1 file changed, 37 insertions(+), 13 deletions(-) diff --git a/t