From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: maobibo@loongson.cn
Subject: [PATCH v2 0/2] util/bufferiszero: Split out hosts, add loongarch64
Date: Thu, 6 Jun 2024 17:24:41 -0700 [thread overview]
Message-ID: <20240607002443.5820-1-richard.henderson@linaro.org> (raw)
Based-on: 20240527211912.14060-1-richard.henderson@linaro.org
("[PATCH 00/18] tcg/loongarch64: Support v64 and v256")
For "util/loongarch64: Detect LASX vector support"
For v2:
* Rename to bufferiszero.c.inc (philmd).
* Add inline assembly for loongarch64.
On cfarm400.cfarm.net (Loongson-3C5000L-LL @ 2.0GHz):
# Start of bufferiszero tests
# buffer_is_zero #0: 1KB 11021 MB/sec
# buffer_is_zero #0: 4KB 32107 MB/sec
# buffer_is_zero #0: 16KB 59118 MB/sec
# buffer_is_zero #0: 64KB 67940 MB/sec
#
# buffer_is_zero #1: 1KB 9540 MB/sec
# buffer_is_zero #1: 4KB 24050 MB/sec
# buffer_is_zero #1: 16KB 38082 MB/sec
# buffer_is_zero #1: 64KB 36399 MB/sec
#
# buffer_is_zero #2: 1KB 8026 MB/sec
# buffer_is_zero #2: 4KB 15493 MB/sec
# buffer_is_zero #2: 16KB 20865 MB/sec
# buffer_is_zero #2: 64KB 19694 MB/sec
r~
Richard Henderson (2):
util/bufferiszero: Split out host include files
util/bufferiszero: Add loongarch64 vector acceleration
util/bufferiszero.c | 191 +-----------------
host/include/aarch64/host/bufferiszero.c.inc | 76 +++++++
host/include/generic/host/bufferiszero.c.inc | 10 +
host/include/i386/host/bufferiszero.c.inc | 124 ++++++++++++
.../loongarch64/host/bufferiszero.c.inc | 143 +++++++++++++
host/include/x86_64/host/bufferiszero.c.inc | 1 +
6 files changed, 355 insertions(+), 190 deletions(-)
create mode 100644 host/include/aarch64/host/bufferiszero.c.inc
create mode 100644 host/include/generic/host/bufferiszero.c.inc
create mode 100644 host/include/i386/host/bufferiszero.c.inc
create mode 100644 host/include/loongarch64/host/bufferiszero.c.inc
create mode 100644 host/include/x86_64/host/bufferiszero.c.inc
--
2.34.1
next reply other threads:[~2024-06-07 0:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-07 0:24 Richard Henderson [this message]
2024-06-07 0:24 ` [PATCH v2 1/2] util/bufferiszero: Split out host include files Richard Henderson
2024-06-07 0:24 ` [PATCH v2 2/2] util/bufferiszero: Add loongarch64 vector acceleration Richard Henderson
2024-06-07 1:52 ` maobibo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240607002443.5820-1-richard.henderson@linaro.org \
--to=richard.henderson@linaro.org \
--cc=maobibo@loongson.cn \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).