Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.target/powerpc/lhs-3.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 { powerpc*-*-* } } } */ /* { dg-skip-if "" { powerpc*-*-darwin* } } */ /* { dg-options "-O2 -mdejagnu-cpu=power7" } */ /* { dg-final { scan-assembler "ori 2,2,0" } } */ /* Test generation of group ending nop in load hit store situation. */ typedef union { double val; struct { unsigned int w1; unsigned int w2; }; } words; unsigned int f (double d) { words u; u.val = d; return u.w2; }