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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [microblaze/] [isa/] [nofloat.c] - Rev 801

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

/* { dg-options "-O3 -mcpu=v6.00.a -msoft-float" } */
 
volatile float f1, f2, f3;
 
void float_func () 
{
  /* { dg-final { scan-assembler-not "fmul" } } */
    f1 = f2 * f3;
 
  /* { dg-final { scan-assembler-not "fadd" } } */
    f1 = f2 + f3;
 
  /* { dg-final { scan-assembler-not "frsub" } } */
    f1 = f2 - f3;
 
  /* { dg-final { scan-assembler-not "fdiv" } } */
    f1 = f2 / f3;
 
}
 

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

powered by: WebSVN 2.1.0

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