aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorPaul A. Clarke <pc@us.ibm.com>2021-02-22 19:20:48 -0600
committerPaul A. Clarke <pc@us.ibm.com>2021-08-03 13:58:41 -0500
commit0f44b097321c42ba8f9301f369a9799424aa6d46 (patch)
treed7cf022bf2180afd7910697fcaa62700c6636a3b /libgcc
parenteaa93a0f3d9f67c8cbc1dc849ea6feba432ff412 (diff)
downloadgcc-0f44b097321c42ba8f9301f369a9799424aa6d46.zip
gcc-0f44b097321c42ba8f9301f369a9799424aa6d46.tar.gz
gcc-0f44b097321c42ba8f9301f369a9799424aa6d46.tar.bz2
rs6000: Add test for _mm_minpos_epu16
Copy the test for _mm_minpos_epu16 from gcc/testsuite/gcc.target/i386/sse4_1-phminposuw.c, with a few adjustments: - Adjust the dejagnu directives for powerpc platform. - Make the data not be monotonically increasing, such that some of the returned values are not always the first value (index 0). - Create a list of input data testing various scenarios including more than one minimum value and different orders and indices of the minimum value. - Fix a masking issue where the index was being truncated to 2 bits instead of 3 bits, which wasn't found because all of the returned indices were 0 with the original generated data. - Support big-endian. 2021-08-03 Paul A. Clarke <pc@us.ibm.com> gcc/testsuite * gcc.target/powerpc/sse4_1-phminposuw.c: Copy from gcc/testsuite/gcc.target/i386, adjust dg directives to suit, make more robust.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions