From: patchwork-bot+linux-riscv@kernel.org
To: Xiao Wang <xiao.w.wang@intel.com>
Cc: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com,
palmer@dabbelt.com, aou@eecs.berkeley.edu, anup@brainfault.org,
haicheng.li@intel.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] riscv: Optimize hweight API with Zbb extension
Date: Sat, 20 Jan 2024 21:09:58 +0000 [thread overview]
Message-ID: <170578499888.24348.15332028365241008797.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20231112095244.4015351-1-xiao.w.wang@intel.com>
Hello:
This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@rivosinc.com>:
On Sun, 12 Nov 2023 17:52:44 +0800 you wrote:
> The Hamming Weight of a number is the total number of bits set in it, so
> the cpop/cpopw instruction from Zbb extension can be used to accelerate
> hweight() API.
>
> Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
> ---
> arch/riscv/include/asm/arch_hweight.h | 78 +++++++++++++++++++++++++++
> arch/riscv/include/asm/bitops.h | 4 +-
> 2 files changed, 81 insertions(+), 1 deletion(-)
> create mode 100644 arch/riscv/include/asm/arch_hweight.h
Here is the summary with links:
- riscv: Optimize hweight API with Zbb extension
https://git.kernel.org/riscv/c/55ca8d7aa2af
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv
prev parent reply other threads:[~2024-01-20 21:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-12 9:52 [PATCH] riscv: Optimize hweight API with Zbb extension Xiao Wang
2023-12-01 6:26 ` Charlie Jenkins
2024-01-20 21:09 ` patchwork-bot+linux-riscv [this message]
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=170578499888.24348.15332028365241008797.git-patchwork-notify@kernel.org \
--to=patchwork-bot+linux-riscv@kernel.org \
--cc=anup@brainfault.org \
--cc=aou@eecs.berkeley.edu \
--cc=haicheng.li@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=xiao.w.wang@intel.com \
/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