1 /* Test pcmpistri instruction. */
11 union u s0
= { .uc
= { 0 } };
12 union u s1
= { .uc
= "abcdefghijklmnop" };
13 union u s2
= { .uc
= "bcdefghijklmnopa" };
14 union u s3
= { .uc
= "bcdefghijklmnab" };
20 if (_mm_cmpistri(s0
.x
, s0
.x
, 0x4c) != 15) {
21 printf("FAIL: pcmpistri test 1\n");
24 if (_mm_cmpistri(s1
.x
, s2
.x
, 0x4c) != 15) {
25 printf("FAIL: pcmpistri test 2\n");
28 if (_mm_cmpistri(s1
.x
, s3
.x
, 0x4c) != 16) {
29 printf("FAIL: pcmpistri test 3\n");