Re: [Qemu-devel] [PATCH v2 07/18] tcg/i386: Implement field extraction opcodes

2016-10-25 Thread Paolo Bonzini
On 25/10/2016 18:46, Richard Henderson wrote: > On 10/25/2016 05:46 AM, Paolo Bonzini wrote: >> >> >> On 18/10/2016 17:10, Richard Henderson wrote: >>> +case INDEX_op_extract_i32: >>> +/* On the off-chance that we can use the high-byte registers. >>> + Otherwise we emit the

Re: [Qemu-devel] [PATCH v2 07/18] tcg/i386: Implement field extraction opcodes

2016-10-25 Thread Richard Henderson
On 10/25/2016 05:46 AM, Paolo Bonzini wrote: > > > On 18/10/2016 17:10, Richard Henderson wrote: >> +case INDEX_op_extract_i32: >> +/* On the off-chance that we can use the high-byte registers. >> + Otherwise we emit the same ext16 + shift pattern that we >> + woul

Re: [Qemu-devel] [PATCH v2 07/18] tcg/i386: Implement field extraction opcodes

2016-10-25 Thread Paolo Bonzini
On 18/10/2016 17:10, Richard Henderson wrote: > +case INDEX_op_extract_i32: > +/* On the off-chance that we can use the high-byte registers. > + Otherwise we emit the same ext16 + shift pattern that we > + would have gotten from the normal tcg-op.c expansion. */ >

[Qemu-devel] [PATCH v2 07/18] tcg/i386: Implement field extraction opcodes

2016-10-18 Thread Richard Henderson
Signed-off-by: Richard Henderson --- tcg/i386/tcg-target.h | 12 +--- tcg/i386/tcg-target.inc.c | 38 ++ 2 files changed, 47 insertions(+), 3 deletions(-) diff --git a/tcg/i386/tcg-target.h b/tcg/i386/tcg-target.h index 7625188..dc19c47 100644 ---