[v2,0/2] rs6000: Add support for _mm_minpos_epu16

Message ID 20210608191155.796424-1-pc@us.ibm.com
Headers show
Series
  • rs6000: Add support for _mm_minpos_epu16
Related show

Message

Kewen.Lin via Gcc-patches June 8, 2021, 7:11 p.m.
Added compatible implementation of _mm_minpos_epu16 for powerpc.
Copied, improved, and fixed testcase from i386.
Tested on BE, LE (32 and 64bit).

Paul A. Clarke (2):
  rs6000: Add support for _mm_minpos_epu16
  rs6000: Add test for _mm_minpos_epu16

 gcc/config/rs6000/smmintrin.h                 | 25 +++++++
 .../gcc.target/powerpc/sse4_1-phminposuw.c    | 68 +++++++++++++++++++
 2 files changed, 93 insertions(+)
 create mode 100644 gcc/testsuite/gcc.target/powerpc/sse4_1-phminposuw.c

-- 
2.27.0