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-bf539.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=bf539" } */
4
 
5
#ifndef __ADSPBF539__
6
#error "__ADSPBF539__ is not defined"
7
#endif
8
 
9
#if __SILICON_REVISION__ != 0x0005
10
#error "__SILICON_REVISION__ is not 0x0005"
11
#endif
12
 
13
#ifndef __WORKAROUNDS_ENABLED
14
#error "__WORKAROUNDS_ENABLED is not defined"
15
#endif
16
 
17
#if __SILICON_REVISION__ <= 0x0004
18
#ifndef __WORKAROUND_RETS
19
#error "__WORKAROUND_RETS is not defined"
20
#endif
21
#else
22
#ifdef __WORKAROUND_RETS
23
#error "__WORKAROUND_RETS is defined"
24
#endif
25
#endif
26
 
27
#ifndef __WORKAROUND_SPECULATIVE_LOADS
28
#error "__WORKAROUND_SPECULATIVE_LOADS is not defined"
29
#endif
30
 
31
#ifdef __WORKAROUND_SPECULATIVE_SYNCS
32
#error "__WORKAROUND_SPECULATIVE_SYNCS is defined"
33
#endif

powered by: WebSVN 2.1.0

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