Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.target/powerpc/pr87507.c @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | 1830386684a0 |
children |
rev | line source |
---|---|
145 | 1 /* { dg-do compile { target powerpc64le-*-* } } */ |
2 /* { dg-options "-O2 -mdejagnu-cpu=power8" } */ | |
3 | |
4 typedef struct | |
5 { | |
6 __int128_t x; | |
7 __int128_t y; | |
8 } foo_t; | |
9 | |
10 void | |
11 foo (long cond, foo_t *dst, __int128_t src) | |
12 { | |
13 if (cond) | |
14 { | |
15 dst->x = src; | |
16 dst->y = src; | |
17 } | |
18 } | |
19 | |
20 /* { dg-final { scan-assembler-times {\mstd\M} 4 } } */ | |
21 /* { dg-final { scan-assembler-not {\mld\M} } } */ |