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-7.c] - Blame information for rev 321

Details | Compare with Previous | View Log

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