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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vmx/] [debug-1.c] - Blame information for rev 774

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

Line No. Rev Author Line
1 689 jeremybenn
#include <altivec.h>
2
vector unsigned char v;
3
typedef unsigned char T[16];
4
T t;
5
typedef struct { unsigned char a[16]; } R;
6
R r;
7
typedef union {
8
  unsigned char u8[16];
9
  signed char s8[16];
10
  unsigned short u16[8];
11
  signed short s16[8];
12
  unsigned int u32[4];
13
  signed int s32[4];
14
  float f32[4];
15
} U;
16
U u;
17
static void use(void *p) {
18
}
19
int main() {
20
  use (&v);
21
  use (&t);
22
  use (&r);
23
  use (&u);
24
  return 0;
25
}
26
 

powered by: WebSVN 2.1.0

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