mbox series

[0/2] rs6000: Add support for _mm_minpos_epu16

Message ID 20210602221316.202627-1-pc@us.ibm.com
Headers show
Series rs6000: Add support for _mm_minpos_epu16 | expand

Message

Paul A. Clarke June 2, 2021, 10:13 p.m. UTC
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                 | 27 ++++++++
 .../gcc.target/powerpc/sse4_1-phminposuw.c    | 63 +++++++++++++++++++
 2 files changed, 90 insertions(+)
 create mode 100644 gcc/testsuite/gcc.target/powerpc/sse4_1-phminposuw.c