Mercurial > hg > CbC > CbC_gcc
view 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 |
line wrap: on
line source
/* { dg-do compile { target powerpc64le-*-* } } */ /* { dg-options "-O2 -mdejagnu-cpu=power8" } */ typedef struct { __int128_t x; __int128_t y; } foo_t; void foo (long cond, foo_t *dst, __int128_t src) { if (cond) { dst->x = src; dst->y = src; } } /* { dg-final { scan-assembler-times {\mstd\M} 4 } } */ /* { dg-final { scan-assembler-not {\mld\M} } } */