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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [compat/] [vector-1_x.c] - Blame information for rev 867

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

Line No. Rev Author Line
1 149 jeremybenn
/* { dg-options "-w" } */
2
 
3
#ifndef SKIP_ATTRIBUTE
4
 
5
#include "compat-common.h"
6
#include "vector-defs.h"
7
#include "vector-setup.h"
8
 
9
SETUP (8, qi);
10
SETUP (16, qi);
11
SETUP (2, hi);
12
SETUP (4, hi);
13
SETUP (8, hi);
14
SETUP (2, si);
15
SETUP (4, si);
16
SETUP (1, di);
17
SETUP (2, di);
18
 
19
#endif
20
 
21
void
22
vector_1_x (void)
23
{
24
#ifndef SKIP_ATTRIBUTE
25
  DEBUG_INIT
26
 
27
  CHECK (8, qi);
28
  CHECK (16, qi);
29
  CHECK (2, hi);
30
  CHECK (4, hi);
31
  CHECK (8, hi);
32
  CHECK (2, si);
33
  CHECK (4, si);
34
  CHECK (1, di);
35
  CHECK (2, di);
36
 
37
  DEBUG_FINI
38
 
39
  if (fails != 0)
40
    abort ();
41
#endif
42
}

powered by: WebSVN 2.1.0

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