public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 0/3] [RISCV] Improve bswap for ZBB
@ 2022-08-20 17:14 apinski
  2022-08-20 17:14 ` [PATCH 1/3] Fix PR 106600: __builtin_bswap32 is not hooked up for ZBB for 32bit apinski
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: apinski @ 2022-08-20 17:14 UTC (permalink / raw)
  To: gcc-patches; +Cc: Andrew Pinski

From: Andrew Pinski <apinski@marvell.com>

Just some improvements for bswap and ZBB including a testsuite change that will
allow more testing to happen.

Thanks,
Andrew Pinski


Andrew Pinski (3):
  Fix PR 106600: __builtin_bswap32 is not hooked up for ZBB for 32bit
  Fix PR 106601: __builtin_bswap16 code gen could be improved with ZBB
    enabled
  Fix PR 106690: enable effective_target_bswap for RISCV targets with
    ZBB enabled by default

 gcc/config/riscv/bitmanip.md                  | 26 ++++++++++++++++++-
 .../gcc.target/riscv/zbb_32_bswap-1.c         | 11 ++++++++
 .../gcc.target/riscv/zbb_32_bswap-2.c         | 12 +++++++++
 gcc/testsuite/gcc.target/riscv/zbb_bswap-1.c  | 11 ++++++++
 gcc/testsuite/gcc.target/riscv/zbb_bswap-2.c  | 12 +++++++++
 gcc/testsuite/lib/target-supports.exp         |  7 +++++
 6 files changed, 78 insertions(+), 1 deletion(-)
 create mode 100644 gcc/testsuite/gcc.target/riscv/zbb_32_bswap-1.c
 create mode 100644 gcc/testsuite/gcc.target/riscv/zbb_32_bswap-2.c
 create mode 100644 gcc/testsuite/gcc.target/riscv/zbb_bswap-1.c
 create mode 100644 gcc/testsuite/gcc.target/riscv/zbb_bswap-2.c

-- 
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-08-22  9:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-20 17:14 [PATCH 0/3] [RISCV] Improve bswap for ZBB apinski
2022-08-20 17:14 ` [PATCH 1/3] Fix PR 106600: __builtin_bswap32 is not hooked up for ZBB for 32bit apinski
2022-08-20 17:14 ` [PATCH 2/3] Fix PR 106601: __builtin_bswap16 code gen could be improved with ZBB enabled apinski
2022-08-20 17:14 ` [PATCH 3/3] Fix PR 106690: enable effective_target_bswap for RISCV targets with ZBB enabled by default apinski
2022-08-22  9:14 ` [PATCH 0/3] [RISCV] Improve bswap for ZBB Kito Cheng

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 read-only IMAP folder(s) and NNTP newsgroup(s).