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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [ext/] [vector14.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
// PR c++/35758
2
// { dg-do compile }
3
// { dg-options "-msse" { target { { i?86-*-* x86_64-*-* } && ilp32 } } }
4
// { dg-require-effective-target sse }
5
// Ignore warning on some powerpc-linux configurations.
6
// { dg-prune-output "non-standard ABI extension" }
7
// { dg-prune-output "mangled name" }
8
 
9
#define vector __attribute__((vector_size(16)))
10
 
11
template vector signed int foo (vector float value) {}
12
 
13
template void foo (float) {}
14
 
15
int
16
main ()
17
{
18
  vector float v;
19
  float f;
20
  foo<1> (v);
21
  foo<1> (f);
22
}

powered by: WebSVN 2.1.0

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