-
- Downloads
Support for LEON processor
Support for LEON processor
* config.gcc (sparc-*-elf*): Deal with sparc-leon specifically.
(sparc-*-linux*): Likewise.
(sparc-*-rtems*): Remove Solaris left-overs.
(sparc*-*-*): Remove obsolete sparc86x setting.
(sparc-leon*): Default to --with-cpu=v8 and --with-tune=leon.
* doc/invoke.texi (SPARC Options): Document -mcpu/-mtune=leon.
* config/sparc/sparc.h (TARGET_CPU_leon): Define.
(TARGET_CPU_sparc86x): Delete.
(TARGET_CPU_cypress): Define as alias to TARGET_CPU_v7.
(TARGET_CPU_f930): Define as alias to TARGET_CPU_sparclite.
(TARGET_CPU_f934): Likewise.
(TARGET_CPU_tsc701): Define as alias to TARGET_CPU_sparclet.
(CPP_CPU_SPEC): Add entry for -mcpu=leon.
(enum processor_type): Add PROCESSOR_LEON. Reorganize.
* config/sparc/sparc.c (leon_costs): New cost array.
(sparc_option_override): Add entry for TARGET_CPU_leon and -mcpu=leon.
Initialize cost array to leon_costs if -mtune=leon.
* config/sparc/sparc.md (cpu attribute): Add leon. Reorganize.
Include leon.md scheduling description.
* config/sparc/leon.md: New file.
* config/sparc/t-elf: Do not assemble Solaris startup files.
* config/sparc/t-leon: New file.
* config/sparc/t-leon3: Likewise.
Co-Authored-By:
Eric Botcazou <ebotcazou@adacore.com>
From-SVN: r167957
Showing
- gcc/ChangeLog 28 additions, 0 deletionsgcc/ChangeLog
- gcc/config.gcc 43 additions, 7 deletionsgcc/config.gcc
- gcc/config/sparc/leon.md 56 additions, 0 deletionsgcc/config/sparc/leon.md
- gcc/config/sparc/sparc.c 48 additions, 16 deletionsgcc/config/sparc/sparc.c
- gcc/config/sparc/sparc.h 30 additions, 19 deletionsgcc/config/sparc/sparc.h
- gcc/config/sparc/sparc.md 9 additions, 3 deletionsgcc/config/sparc/sparc.md
- gcc/config/sparc/t-elf 2 additions, 10 deletionsgcc/config/sparc/t-elf
- gcc/config/sparc/t-leon 42 additions, 0 deletionsgcc/config/sparc/t-leon
- gcc/config/sparc/t-leon3 37 additions, 0 deletionsgcc/config/sparc/t-leon3
- gcc/doc/invoke.texi 6 additions, 6 deletionsgcc/doc/invoke.texi
Loading
Please register or sign in to comment