Re: [PATCH 0/3] [RISCV] Improve bswap for ZBB

2022-08-22 Thread Kito Cheng via Gcc-patches
Hi Andrew: LGTM, Just checked what's clang gen, and saw LLVM already did the same optimization, thanks for improving the code gen! On Sun, Aug 21, 2022 at 1:15 AM apinski--- via Gcc-patches wrote: > > From: Andrew Pinski > > Just some improvements for bswap and ZBB including a testsuite change

[PATCH 0/3] [RISCV] Improve bswap for ZBB

2022-08-20 Thread apinski--- via Gcc-patches
From: Andrew Pinski 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