URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [mips/] [mips-ps-5.c] - Rev 149
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