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/] [i386/] [sse-21.c] - Rev 318

Compare with Previous | Blame | View Log

/* Test that we don't generate a fisttp instruction when -mno-sse3.  */
/* { dg-do compile } */
/* { dg-options "-O -mfpmath=387 -march=nocona -mno-sse3" } */
/* { dg-final { scan-assembler-not "fisttp" } } */
struct foo
{
 long a;
 long b;
};
 
extern double c;
 
extern unsigned long long baz (void);
 
int
walrus (const struct foo *input)
{
    unsigned long long d;
 
    d = baz ()
      + (unsigned long long) (((double) input->a * 1000000000
			      + (double) input->b) * c);
    return (d ? 1 : 0);
}
 

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.