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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [arm/] [vfp-stmias.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do compile } */
2
/* { dg-require-effective-target arm_vfp_ok } */
3
/* { dg-skip-if "need fp instructions" { *-*-* } { "-mfloat-abi=soft" } { "" } } */
4
/* { dg-options "-O2 -mfpu=vfp -mfloat-abi=softfp" } */
5
 
6
void
7
foo (float *p, float a, float b, int n)
8
{
9
  float c = a + b;
10
  do
11
    *p++ = c;
12
  while (n--);
13
}
14
 
15
/* { dg-final { scan-assembler "fstmias" } } */

powered by: WebSVN 2.1.0

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