Use conditional internal functions in if-conversion
[official-gcc.git] / gcc / testsuite / gcc.target / bfin / mcpu-bf514.c
blobf6c0829119bc097943f58c059cfaa1106f1dec87
1 /* Test for -mcpu=. */
2 /* { dg-do preprocess } */
3 /* { dg-bfin-options "-mcpu=bf514" } */
5 #ifndef __ADSPBF514__
6 #error "__ADSPBF514__ is not defined"
7 #endif
9 #ifndef __ADSPBF51x__
10 #error "__ADSPBF51x__ is not defined"
11 #endif
13 #if __SILICON_REVISION__ != 0x0002
14 #error "__SILICON_REVISION__ is not 0x0002"
15 #endif
17 #ifndef __WORKAROUNDS_ENABLED
18 #error "__WORKAROUNDS_ENABLED is not defined"
19 #endif
21 #ifdef __WORKAROUND_RETS
22 #error "__WORKAROUND_RETS is defined"
23 #endif
25 #ifndef __WORKAROUND_SPECULATIVE_LOADS
26 #error "__WORKAROUND_SPECULATIVE_LOADS is not defined"
27 #endif
29 #ifdef __WORKAROUND_SPECULATIVE_SYNCS
30 #error "__WORKAROUND_SPECULATIVE_SYNCS is defined"
31 #endif