summaryrefslogtreecommitdiff
path: root/gcc/config/bfin
diff options
context:
space:
mode:
authorbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-31 10:09:51 +0000
committerbernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4>2008-05-31 10:09:51 +0000
commit20c31f656a05b4f0a854b6a1dee7f605c0b0633b (patch)
tree98a995cbdb82aa4b2fc85b0d30557a60c2cabeaa /gcc/config/bfin
parent6c24dca6125225d09ddbb06bbf31a49e4ff5c88c (diff)
downloadgcc-20c31f656a05b4f0a854b6a1dee7f605c0b0633b.tar.gz
gcc/
* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __WORKAROUND_RETS when appropriate. gcc/testsuite/ * gcc.target/bfin/mcpu-default.c: Adjust for recent changes: default CPU has all workarounds, and no longer explicitly sets bf532 as CPU type. * gcc.target/bfin/mcpu-bf531.c: Adjust for WORKAROUND_RETS. * gcc.target/bfin/mcpu-bf532.c: Likewise. * gcc.target/bfin/mcpu-bf533.c: Likewise. * gcc.target/bfin/mcpu-bf534.c: Likewise. * gcc.target/bfin/mcpu-bf536.c: Likewise. * gcc.target/bfin/mcpu-bf537.c: Likewise. * gcc.target/bfin/mcpu-bf548.c: Likewise. * gcc.target/bfin/mcpu-bf549.c: Likewise. * gcc.target/bfin/mcpu-bf561.c: Likewise. * gcc.target/bfin/mcpu-bf523.c: Likewise. * gcc.target/bfin/mcpu-bf524.c: Likewise. * gcc.target/bfin/mcpu-bf526.c: Likewise. * gcc.target/bfin/mcpu-bf522.c: Likewise. * gcc.target/bfin/mcpu-bf525.c: Likewise. * gcc.target/bfin/mcpu-bf527.c: Likewise. * gcc.target/bfin/mcpu-bf538.c: Likewise. * gcc.target/bfin/mcpu-bf539.c: Likewise. * gcc.target/bfin/mcpu-bf542.c: Likewise. * gcc.target/bfin/mcpu-bf544.c: Likewise. * gcc.target/bfin/mcpu-default.c: Likewise. * gcc.target/bfin/workarounds-any.c: Likewise. * gcc.target/bfin/workarounds-none.c: Likewise. * gcc.target/bfin/workarounds-1.c: Likewise. * gcc.target/bfin/workarounds-2.c: Likewise. * gcc.target/bfin/workarounds-3.c: Likewise. * gcc.target/bfin/workarounds-4.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136236 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/bfin')
-rw-r--r--gcc/config/bfin/bfin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/bfin/bfin.h b/gcc/config/bfin/bfin.h
index 042528a554d..8efcb5ea189 100644
--- a/gcc/config/bfin/bfin.h
+++ b/gcc/config/bfin/bfin.h
@@ -133,6 +133,8 @@ extern int target_flags;
builtin_define ("__WORKAROUND_SPECULATIVE_LOADS"); \
if (ENABLE_WA_SPECULATIVE_SYNCS) \
builtin_define ("__WORKAROUND_SPECULATIVE_SYNCS"); \
+ if (ENABLE_WA_RETS) \
+ builtin_define ("__WORKAROUND_RETS"); \
\
if (TARGET_FDPIC) \
{ \