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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 318 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O2 -msse2" } */
3
/* { dg-require-effective-target sse2 } */
4
 
5
__float128 x, y;
6
 
7
__float128 test_1(void)
8
{
9
  return -x;
10
}
11
 
12
__float128 test_2(void)
13
{
14
  return __builtin_fabsq (x);
15
}
16
 
17
__float128 test_3(void)
18
{
19
  return __builtin_copysignq (x, y);
20
}
21
 
22
/* { dg-final { scan-assembler-not "call.*(neg|fabs|copysign)" } } */

powered by: WebSVN 2.1.0

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