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

2011-10-01 Thread Blue Swirl
Thanks, applied. On Thu, Sep 29, 2011 at 4:52 PM, Jan Kiszka wrote: > On 2011-09-29 18:11, Richard Henderson wrote: >> On 09/29/2011 08:23 AM, Jan Kiszka wrote: >>> +#ifndef TCG_TARGET_deposit_i32_valid >>> +#define TCG_TARGET_deposit_i32_valid(ofs, len) 0 >>> +#endif >>> +#ifndef TCG_TARGET_depo

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

2011-09-29 Thread Richard Henderson
On 09/29/2011 09:52 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 v4] tcg-i386: Introduce limited deposit support

2011-09-29 Thread Jan Kiszka
On 2011-09-29 18:11, Richard Henderson wrote: > On 09/29/2011 08:23 AM, Jan Kiszka wrote: >> +#ifndef TCG_TARGET_deposit_i32_valid >> +#define TCG_TARGET_deposit_i32_valid(ofs, len) 0 >> +#endif >> +#ifndef TCG_TARGET_deposit_i64_valid >> +#define TCG_TARGET_deposit_i64_valid(ofs, len) 0 >> +#endif