OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [vmx/] [1b-03.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
#include <altivec.h>
2
int main()
3
{
4
  vector unsigned char u8;
5
  vector signed char s8;
6
  vector bool char b8;
7
  vector unsigned short u16;
8
  vector signed short s16;
9
  vector bool short b16;
10
  vector unsigned int u32;
11
  vector signed int s32;
12
  vector bool int b32;
13
  vector float f32;
14
  vector pixel p16;
15
 
16
  vector unsigned char const u8c;
17
  vector signed char const s8c;
18
  vector bool char const b8c;
19
  vector unsigned short const u16c;
20
  vector signed short const s16c;
21
  vector bool short const b16c;
22
  vector unsigned int const u32c;
23
  vector signed int const s32c;
24
  vector bool int const b32c;
25
  vector float const f32c;
26
  vector pixel const p16c;
27
 
28
  vector unsigned char volatile u8v;
29
  vector signed char volatile s8v;
30
  vector bool char volatile b8v;
31
  vector unsigned short volatile u16v;
32
  vector signed short volatile s16v;
33
  vector bool short volatile b16v;
34
  vector unsigned int volatile u32v;
35
  vector signed int volatile s32v;
36
  vector bool int volatile b32v;
37
  vector float volatile f32v;
38
  vector pixel volatile p16v;
39
 
40
  const vector unsigned char u8c_;
41
  const vector signed char s8c_;
42
  const vector bool char b8c_;
43
  const vector unsigned short u16c_;
44
  const vector signed short s16c_;
45
  const vector bool short b16c_;
46
  const vector unsigned int u32c_;
47
  const vector signed int s32c_;
48
  const vector bool int b32c_;
49
  const vector float f32c_;
50
  const vector pixel p16c_;
51
 
52
  volatile vector unsigned char u8v_;
53
  volatile vector signed char s8v_;
54
  volatile vector bool char b8v_;
55
  volatile vector unsigned short u16v_;
56
  volatile vector signed short s16v_;
57
  volatile vector bool short b16v_;
58
  volatile vector unsigned int u32v_;
59
  volatile vector signed int s32v_;
60
  volatile vector bool int b32v_;
61
  volatile vector float f32v_;
62
  volatile vector pixel p16v_;
63
  return 0;
64
}

powered by: WebSVN 2.1.0

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