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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [rs6000-fpint.c] - Blame information for rev 322

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

Line No. Rev Author Line
1 322 jeremybenn
/* { dg-do compile { target powerpc*-*-* rs6000-*-* } } */
2
/* { dg-options "-mno-powerpc-gfxopt" } */
3
/* { dg-final { scan-assembler-not "stfiwx" } } */
4
 
5
/* A basic test of the old-style (not stfiwx) fp -> int conversion.  */
6
int f(double a, double b)
7
{
8
  int a1 = a;
9
  int b1 = b;
10
  return a1+b1;
11
}

powered by: WebSVN 2.1.0

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