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

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=bf542m" } */
4
 
5
#ifndef __ADSPBF542__
6
#error "__ADSPBF542__ is not defined"
7
#endif
8
 
9
#ifndef __ADSPBF542M__
10
#error "__ADSPBF542M__ is not defined"
11
#endif
12
 
13
#ifndef __ADSPBF54x__
14
#error "__ADSPBF54x__ is not defined"
15
#endif
16
 
17
#if __SILICON_REVISION__ != 0x0003
18
#error "__SILICON_REVISION__ is not 0x0003"
19
#endif
20
 
21
#ifndef __WORKAROUNDS_ENABLED
22
#error "__WORKAROUNDS_ENABLED is not defined"
23
#endif
24
 
25
#if __SILICON_REVISION__ <= 0x0001
26
#ifndef __WORKAROUND_RETS
27
#error "__WORKAROUND_RETS is not defined"
28
#endif
29
#else
30
#ifdef __WORKAROUND_RETS
31
#error "__WORKAROUND_RETS is defined"
32
#endif
33
#endif
34
 
35
#ifndef __WORKAROUND_SPECULATIVE_LOADS
36
#error "__WORKAROUND_SPECULATIVE_LOADS is not defined"
37
#endif
38
 
39
#ifdef __WORKAROUND_SPECULATIVE_SYNCS
40
#error "__WORKAROUND_SPECULATIVE_SYNCS is defined"
41
#endif

powered by: WebSVN 2.1.0

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