Re: [Qemu-devel] [PATCH v2] tcg-i386: Introduce limited deposit support

2011-09-29 Thread Jan Kiszka
On 2011-09-29 16:58, Richard Henderson wrote: > On 09/29/2011 04:31 AM, Jan Kiszka wrote: >> x86 cannot provide an optimized generic deposit implementation. But at >> least for a few special cases, namely for writing bits 0..7, 8..15, and >> 0..15, versions using only a single instruction are feasi

Re: [Qemu-devel] [PATCH v2] tcg-i386: Introduce limited deposit support

2011-09-29 Thread Richard Henderson
On 09/29/2011 04:31 AM, Jan Kiszka wrote: > x86 cannot provide an optimized generic deposit implementation. But at > least for a few special cases, namely for writing bits 0..7, 8..15, and > 0..15, versions using only a single instruction are feasible. > Introducing such limited support improves em

[Qemu-devel] [PATCH v2] tcg-i386: Introduce limited deposit support

2011-09-29 Thread Jan Kiszka
x86 cannot provide an optimized generic deposit implementation. But at least for a few special cases, namely for writing bits 0..7, 8..15, and 0..15, versions using only a single instruction are feasible. Introducing such limited support improves emulating 16-bit x86 code on x86, but also rarer cas