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.target/] [bfin/] [mcpu-bf518.c] - Blame information for rev 328

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

Line No. Rev Author Line
1 315 jeremybenn
/* Test for -mcpu=.  */
2
/* { dg-do preprocess } */
3
/* { dg-bfin-options "-mcpu=bf518" } */
4
 
5
#ifndef __ADSPBF518__
6
#error "__ADSPBF518__ is not defined"
7
#endif
8
 
9
#ifndef __ADSPBF51x__
10
#error "__ADSPBF51x__ is not defined"
11
#endif
12
 
13
#if __SILICON_REVISION__ != 0x0000
14
#error "__SILICON_REVISION__ is not 0x0000"
15
#endif
16
 
17
#ifndef __WORKAROUNDS_ENABLED
18
#error "__WORKAROUNDS_ENABLED is not defined"
19
#endif
20
 
21
#ifdef __WORKAROUND_RETS
22
#error "__WORKAROUND_RETS is defined"
23
#endif
24
 
25
#ifndef __WORKAROUND_SPECULATIVE_LOADS
26
#error "__WORKAROUND_SPECULATIVE_LOADS is not defined"
27
#endif
28
 
29
#ifdef __WORKAROUND_SPECULATIVE_SYNCS
30
#error "__WORKAROUND_SPECULATIVE_SYNCS is defined"
31
#endif
32
/* Test for -mcpu=.  */
33
/* { dg-do preprocess } */
34
/* { dg-bfin-options "-mcpu=bf518" } */
35
 
36
#ifndef __ADSPBF518__
37
#error "__ADSPBF518__ is not defined"
38
#endif
39
 
40
#ifndef __ADSPBF51x__
41
#error "__ADSPBF51x__ is not defined"
42
#endif
43
 
44
#if __SILICON_REVISION__ != 0x0000
45
#error "__SILICON_REVISION__ is not 0x0000"
46
#endif
47
 
48
#ifndef __WORKAROUNDS_ENABLED
49
#error "__WORKAROUNDS_ENABLED is not defined"
50
#endif
51
 
52
#ifdef __WORKAROUND_RETS
53
#error "__WORKAROUND_RETS is defined"
54
#endif
55
 
56
#ifndef __WORKAROUND_SPECULATIVE_LOADS
57
#error "__WORKAROUND_SPECULATIVE_LOADS is not defined"
58
#endif
59
 
60
#ifdef __WORKAROUND_SPECULATIVE_SYNCS
61
#error "__WORKAROUND_SPECULATIVE_SYNCS is defined"
62
#endif

powered by: WebSVN 2.1.0

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