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/] [cmov7.c] - Blame information for rev 318

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 318 jeremybenn
/* PR middle-end/33187 */
2
 
3
/* { dg-do compile } */
4
/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-march=*" } { "-march=k8" } } */
5
/* { dg-options "-O2 -ffast-math -march=k8 -mbranch-cost=5 -mfpmath=387" } */
6
/* { dg-final { scan-assembler "fcmov" } } */
7
 
8
/* compress_float_constant generates load + float_extend
9
   sequence which combine pass failed to combine into
10
   (set (reg:DF) (float_extend:DF (mem:SF (symbol_ref...)))).  */
11
 
12
double
13
sgn (double __x)
14
{
15
  return __x >= 0.0 ? 1.0 : -1.0;
16
}

powered by: WebSVN 2.1.0

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