summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/bfin/mcpu-bf532.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/bfin/mcpu-bf532.c')
-rw-r--r--gcc/testsuite/gcc.target/bfin/mcpu-bf532.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/bfin/mcpu-bf532.c b/gcc/testsuite/gcc.target/bfin/mcpu-bf532.c
index 002535a5a15..18ff74a4c74 100644
--- a/gcc/testsuite/gcc.target/bfin/mcpu-bf532.c
+++ b/gcc/testsuite/gcc.target/bfin/mcpu-bf532.c
@@ -6,17 +6,23 @@
#error "__ADSPBF532__ is not defined"
#endif
-#if __SILICON_REVISION__ != 0x0005
-#error "__SILICON_REVISION__ is not 0x0005"
+#if __SILICON_REVISION__ != 0x0006
+#error "__SILICON_REVISION__ is not 0x0006"
#endif
#ifndef __WORKAROUNDS_ENABLED
#error "__WORKAROUNDS_ENABLED is not defined"
#endif
+#if __SILICON_REVISION__ <= 0x0005
#ifndef __WORKAROUND_RETS
#error "__WORKAROUND_RETS is not defined"
#endif
+#else
+#ifdef __WORKAROUND_RETS
+#error "__WORKAROUND_RETS is defined"
+#endif
+#endif
#ifndef __WORKAROUND_SPECULATIVE_LOADS
#error "__WORKAROUND_SPECULATIVE_LOADS is not defined"