Hi, I'd like to gentle ping this patch:
https://gcc.gnu.org/pipermail/gcc-patches/2020-September/553555.html BR, Kewen on 2020/9/10 上午11:19, Kewen.Lin via Gcc-patches wrote: > Hi, > > As Segher's suggestion in the PR, for 128bit_direct_move, this new > version leverages vector pack insns instead of vector perms with > one control vector. The performance evaluation shows that it's on > par with the previous version for char, while it's better than the > previous for short. > > Bootstrapped/regtested again on powerpc64{,le}-linux-gnu P8 and > powerpc64le-linux-gnu P9. > > Is it ok for trunk? > > BR, > Kewen > ------------ > > gcc/ChangeLog: > > PR target/96933 > * config/rs6000/rs6000.c (rs6000_expand_vector_init): Use direct move > instructions for vector construction with char/short types. > * config/rs6000/rs6000.md (p8_mtvsrwz_v16qisi2): New define_insn. > (p8_mtvsrd_v16qidi2): Likewise. > > gcc/testsuite/ChangeLog: > > PR target/96933 > * gcc.target/powerpc/pr96933-1.c: New test. > * gcc.target/powerpc/pr96933-2.c: New test. > * gcc.target/powerpc/pr96933-3.c: New test. > * gcc.target/powerpc/pr96933.h: New test. >