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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-dev/] [fsf-gcc-snapshot-1-mar-12/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [bfin/] [mcpu-bf532.c] - Blame information for rev 783

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 691 jeremybenn
/* Test for -mcpu=.  */
2
/* { dg-do preprocess } */
3
/* { dg-bfin-options "-mcpu=bf532" } */
4
 
5
#ifndef __ADSPBF532__
6
#error "__ADSPBF532__ is not defined"
7
#endif
8
 
9
#if __SILICON_REVISION__ != 0x0006
10
#error "__SILICON_REVISION__ is not 0x0006"
11
#endif
12
 
13
#ifndef __WORKAROUNDS_ENABLED
14
#error "__WORKAROUNDS_ENABLED is not defined"
15
#endif
16
 
17
#if __SILICON_REVISION__ <= 0x0005
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.