OpenCores
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] - Blame information for rev 844

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-do compile } */
2
/* { dg-mips-options "-mips64 -O2 -mpaired-single -mhard-float -mgp64 -ftree-vectorize" } */
3
 
4
extern float a[], b[], c[];
5
 
6
void
7
foo (void)
8
{
9
  int i;
10
  for (i = 0; i < 16; i++)
11
    a[i] = b[i] == c[i] + 1 ? b[i] : c[i];
12
}
13
 
14
/* { dg-final { scan-assembler "add\\.ps" } } */
15
/* { dg-final { scan-assembler "c\\.eq\\.ps" } } */
16
/* { dg-final { scan-assembler "mov\[tf\]\\.ps" } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.