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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [gcc.dg/] [vmx/] [x-02.c] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
#include <altivec.h>
2
 
3
static vector bool char
4
g(vector unsigned char, vector bool char);
5
 
6
static int q(void);
7
 
8
static vector bool char
9
f(vector bool char b, vector unsigned char d)
10
{
11
  vector bool char *p = &b;
12
  *p = g(d,b);
13
  return q() ? *p : b;
14
}
15
 
16
static vector bool char b8;
17
static vector unsigned char u8;
18
 
19
static vector bool char
20
g(vector unsigned char a, vector bool char b)
21
{
22
  return b8;
23
}
24
 
25
static int q ()
26
{
27
  return 1;
28
}
29
 
30
int main()
31
{
32
  f(b8, u8);
33
  return 0;
34
}

powered by: WebSVN 2.1.0

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