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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [rs6000-fpint.c] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 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.