OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [mips/] [mips-ps-5.c] - Blame information for rev 321

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 321 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -mpaired-single -mgp64 -ftree-vectorize" } */
3
 
4
extern float a[], b[], c[];
5
 
6
NOMIPS16 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.