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.dg/] [vmx/] [x-01.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
#include <altivec.h>
2
vector bool char
3
g(vector unsigned char, vector bool char);
4
 
5
vector bool char
6
f(vector bool char b, vector unsigned char d)
7
{
8
  vector bool char *p = &b;
9
  *p = g(d,b);
10
  return *p;
11
}
12
 
13
vector bool char b8;
14
vector unsigned char u8;
15
vector bool char
16
g(vector unsigned char a, vector bool char b)
17
{
18
  return b8;
19
}
20
 
21
int main()
22
{
23
  f(b8, u8);
24
  return 0;
25
}

powered by: WebSVN 2.1.0

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