https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106602
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- With ZBA_ZBB_ZBC_ZBS: It is just: foo2: slli.uw a0,a0,6 ret Which is good code gen :).
pinskia at gcc dot gnu.org via Gcc-bugs Fri, 12 Aug 2022 13:39:42 -0700
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106602
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- With ZBA_ZBB_ZBC_ZBS: It is just: foo2: slli.uw a0,a0,6 ret Which is good code gen :).