https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100866
--- Comment #15 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by HaoChen Gui <guih...@gcc.gnu.org>: https://gcc.gnu.org/g:eaba55ffef961c28f6a15d845a4d6b77b8a8bab1 commit r13-3603-geaba55ffef961c28f6a15d845a4d6b77b8a8bab1 Author: Xionghu Luo <xionghu...@tencent.com> Date: Wed Oct 12 10:43:38 2022 +0800 rs6000: Byte reverse V8HI on Power8 by vector rotation. gcc/ PR target/100866 * config/rs6000/altivec.md: (*altivec_vrl<VI_char>): Named to... (altivec_vrl<VI_char>): ...this. * config/rs6000/vsx.md (revb_<mode>): Call vspltish and vrlh when target is Power8 and mode is V8HI. gcc/testsuite/ PR target/100866 * gcc.target/powerpc/pr100866-2.c: New.