Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.target/powerpc/vec-stril_p-0.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
145:1830386684a0 | 152:2b5abeee2509 |
---|---|
1 /* { dg-do compile } */ | |
2 /* { dg-options "-mdejagnu-cpu=future" } */ | |
3 | |
4 #include <altivec.h> | |
5 | |
6 extern void abort (void); | |
7 | |
8 /* Vector string isolate left-justified predicate on array of | |
9 unsigned char. */ | |
10 int | |
11 silj_p (vector unsigned char arg) | |
12 { | |
13 return vec_stril_p (arg); | |
14 } | |
15 | |
16 /* Enforce that a single dot-form instruction which is properly biased | |
17 for the target's endianness implements this built-in. */ | |
18 | |
19 /* { dg-final { scan-assembler-times {\mvstribl\.} 1 { target { be } } } } */ | |
20 /* { dg-final { scan-assembler-times {\mvstribl\M[^.]} 0 { target { be } } } } */ | |
21 /* { dg-final { scan-assembler-times {\mvstribr} 0 { target { be } } } } */ | |
22 /* { dg-final { scan-assembler-times {\mvstribr\.} 1 { target { le } } } } */ | |
23 /* { dg-final { scan-assembler-times {\mvstribr\M[^.]} 0 { target { le } } } } */ | |
24 /* { dg-final { scan-assembler-times {\mvstribl} 0 { target { le } } } } */ |