mbox series

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

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

Message

Paul A. Clarke July 15, 2021, 11:29 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
  - v3: Changes per Bill's review.
  rs6000: Add test for _mm_minpos_epu16
  - v3: Changes per Bill's review.

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