URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [mips/] [mips-ps-5.c] - Rev 348
Go to most recent revision | Compare with Previous | Blame | View Log
/* { dg-do compile } */ /* { dg-mips-options "-mips64 -O2 -mpaired-single -mhard-float -mgp64 -ftree-vectorize" } */ extern float a[], b[], c[]; void foo (void) { int i; for (i = 0; i < 16; i++) a[i] = b[i] == c[i] + 1 ? b[i] : c[i]; } /* { dg-final { scan-assembler "add\\.ps" } } */ /* { dg-final { scan-assembler "c\\.eq\\.ps" } } */ /* { dg-final { scan-assembler "mov\[tf\]\\.ps" } } */
Go to most recent revision | Compare with Previous | Blame | View Log