Re: [Qemu-devel] [PATCH v2 0/8] Improve buffer_is_zero

2016-08-25 Thread Daniel P. Berrange
On Wed, Aug 24, 2016 at 10:48:27AM -0700, Richard Henderson wrote: > Patches 1-4 remove the use of ifunc from the implementation. > > Patch 6 adjusts the x86 implementation a bit more to take > advantage of ptest (in sse4.1) and unaligned accesses (in avx1). > > Patches 3 and 7 are the result of

Re: [Qemu-devel] [PATCH v2 0/8] Improve buffer_is_zero

2016-08-24 Thread Richard Henderson
On 08/24/2016 12:18 PM, Eric Blake wrote: On 08/24/2016 12:48 PM, Richard Henderson wrote: Patches 1-4 remove the use of ifunc from the implementation. Patch 6 adjusts the x86 implementation a bit more to take advantage of ptest (in sse4.1) and unaligned accesses (in avx1). Do we really care

Re: [Qemu-devel] [PATCH v2 0/8] Improve buffer_is_zero

2016-08-24 Thread Eric Blake
On 08/24/2016 12:48 PM, Richard Henderson wrote: > Patches 1-4 remove the use of ifunc from the implementation. > > Patch 6 adjusts the x86 implementation a bit more to take > advantage of ptest (in sse4.1) and unaligned accesses (in avx1). Do we really care about unaligned access? Or can we gua

[Qemu-devel] [PATCH v2 0/8] Improve buffer_is_zero

2016-08-24 Thread Richard Henderson
Patches 1-4 remove the use of ifunc from the implementation. Patch 6 adjusts the x86 implementation a bit more to take advantage of ptest (in sse4.1) and unaligned accesses (in avx1). Patches 3 and 7 are the result of my conversation with Vijaya Kumar with respect to ThunderX. Patch 8 is the res