gcc/:
authorBernd Schmidt <bernd.schmidt@analog.com>
Wed, 22 Oct 2008 19:42:56 +0000 (19:42 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Wed, 22 Oct 2008 19:42:56 +0000 (19:42 +0000)
commit318b30095aa0d7ffae6ac667a7d0bc290c8dbab1
tree0d7f113ba47efef4ad7893f5fba5a5b39bccfc31
parent972afb58199cd9228dbf974fe0fbd698b430550e
gcc/:

From Mike Frysinger  <michael.frysinger@analog.com>
* config/bfin/bfin-protos.h (bfin_cpu_type): Add BFIN_CPU_BF512,
BFIN_CPU_BF514, BFIN_CPU_BF516, and BFIN_CPU_BF518.
* config/bfin/bfin.c (bfin_cpus[]): Add 0.0 for bf512, bf514, bf516,
and bf518.  Add 0.2 for bf522, bf523, bf524, bf526, and bf527.
Add 0.6 for bf533, bf532, and bf531.  Add 0.5 for bf538 and bf539.
Add 0.2 for bf542, bf544, bf547, bf548, and bf549.
* config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __ADSPBF512__
for BFIN_CPU_BF512, __ADSPBF514__ for BFIN_CPU_BF514, __ADSPBF516__
for BFIN_CPU_BF516, and __ADSPBF518__ for BFIN_CPU_BF518.  Define
__ADSPBF51x__ for all of them.
* config/bfin/elf.h (LIB_SPEC): Select proper linker scripts for
-mcpu bf512, bf514, bf516, and bf518.
* config/bfin/t-bfin-elf (MULTILIB_MATCHES): Select bf532-none for
bf512-none, bf514-none, bf516-none, and bf518-none.
* config/bfin/t-bfin-linux (MULTILIB_MATCHES): Likewise.
* config/bfin/t-bfin-uclinux (MULTILIB_MATCHES): Likewise.
* doc/invoke.texi (Blackfin Options): Document that
-mcpu now accepts bf512, bf514, bf516, and bf518.

gcc/testsuite/:
From Mike Frysinger  <michael.frysinger@analog.com>
* gcc.target/bfin/mcpu-bf522.c: Check SILICON_REVISION is 0x0002.  Invert
check for __WORKAROUND_RETS when SILICON_REVISION is 0x0002+.
* gcc.target/bfin/mcpu-bf523.c: Likewise.
* gcc.target/bfin/mcpu-bf524.c: Likewise.
* gcc.target/bfin/mcpu-bf525.c: Likewise.
* gcc.target/bfin/mcpu-bf526.c: Likewise.
* gcc.target/bfin/mcpu-bf527.c: Likewise.
* gcc.target/bfin/mcpu-bf531.c: Check SILICON_REVISION is 0x0006.  Invert
check for __WORKAROUND_RETS when SILICON_REVISION is 0x0006+.
* gcc.target/bfin/mcpu-bf532.c: Likewise.
* gcc.target/bfin/mcpu-bf533.c: Likewise.
* gcc.target/bfin/mcpu-bf538.c: Check SILICON_REVISION is 0x0005.  Invert
check for __WORKAROUND_RETS when SILICON_REVISION is 0x0005+.
* gcc.target/bfin/mcpu-bf539.c: Likewise.
* gcc.target/bfin/mcpu-bf542.c: Check SILICON_REVISION is 0x0002.  Invert
check for __WORKAROUND_RETS when SILICON_REVISION is 0x0002+.
* gcc.target/bfin/mcpu-bf544.c: Likewise.
* gcc.target/bfin/mcpu-bf547.c: Likewise.
* gcc.target/bfin/mcpu-bf548.c: Likewise.
* gcc.target/bfin/mcpu-bf549.c: Likewise.
* gcc.target/bfin/mcpu-bf512.c: New file.
* gcc.target/bfin/mcpu-bf514.c: Likewise.
* gcc.target/bfin/mcpu-bf516.c: Likewise.
* gcc.target/bfin/mcpu-bf518.c: Likewise.

From-SVN: r141305
30 files changed:
gcc/ChangeLog
gcc/config/bfin/bfin-protos.h
gcc/config/bfin/bfin.c
gcc/config/bfin/bfin.h
gcc/config/bfin/elf.h
gcc/config/bfin/t-bfin-elf
gcc/config/bfin/t-bfin-linux
gcc/config/bfin/t-bfin-uclinux
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/bfin/mcpu-bf512.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bfin/mcpu-bf514.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bfin/mcpu-bf516.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bfin/mcpu-bf518.c [new file with mode: 0644]
gcc/testsuite/gcc.target/bfin/mcpu-bf522.c
gcc/testsuite/gcc.target/bfin/mcpu-bf523.c
gcc/testsuite/gcc.target/bfin/mcpu-bf524.c
gcc/testsuite/gcc.target/bfin/mcpu-bf525.c
gcc/testsuite/gcc.target/bfin/mcpu-bf526.c
gcc/testsuite/gcc.target/bfin/mcpu-bf527.c
gcc/testsuite/gcc.target/bfin/mcpu-bf531.c
gcc/testsuite/gcc.target/bfin/mcpu-bf532.c
gcc/testsuite/gcc.target/bfin/mcpu-bf533.c
gcc/testsuite/gcc.target/bfin/mcpu-bf538.c
gcc/testsuite/gcc.target/bfin/mcpu-bf539.c
gcc/testsuite/gcc.target/bfin/mcpu-bf542.c
gcc/testsuite/gcc.target/bfin/mcpu-bf544.c
gcc/testsuite/gcc.target/bfin/mcpu-bf547.c
gcc/testsuite/gcc.target/bfin/mcpu-bf548.c
gcc/testsuite/gcc.target/bfin/mcpu-bf549.c