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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [abi/] [mangle42.C] - Blame information for rev 801

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

Line No. Rev Author Line
1 693 jeremybenn
// Origin: PR c++/43375
2
// { dg-do compile { target i?86-*-* x86_64-*-* } }
3
// { dg-options "-msse2 -std=gnu++0x" }
4
// { dg-require-effective-target sse2 }
5
 
6
typedef float __v4sf __attribute__ ((__vector_size__ (16)));
7
typedef int __v4si __attribute__ ((__vector_size__ (16)));
8
__v4sf my_asin(__v4sf x)
9
{
10
  static const __v4si g_Mask{0x7fffffff,
11
                             0x00000000,
12
                             0x7fffffff,
13
                             0x7fffffff };
14
  return __builtin_ia32_andnps ((__v4sf) g_Mask, x);
15
}

powered by: WebSVN 2.1.0

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