[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] util/bufferiszero: improve avx2 accelerator
From: |
Eric Blake |
Subject: |
Re: [PATCH 2/2] util/bufferiszero: improve avx2 accelerator |
Date: |
Wed, 25 Mar 2020 07:54:02 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 |
On 3/25/20 1:50 AM, Robert Hoo wrote:
By increasing avx2 length_to_accel to 128, we can simplify its logic and reduce
a
branch.
The authorship of this patch actually belongs to Richard Henderson
<address@hidden>,
Long line; it's nice to wrap commit messages around column 70 or so
(because reading 'git log' in an 80-column window adds indentation).
I just fix a boudary case on his original patch.
boundary
Suggested-by: Richard Henderson <address@hidden>
Signed-off-by: Robert Hoo <address@hidden>
---
util/bufferiszero.c | 26 +++++++++-----------------
1 file changed, 9 insertions(+), 17 deletions(-)
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org