r205330 - in /branches/gcc-4_8-branch/gcc: Chan...
ebotcazou@gcc.gnu.org
ebotcazou@gcc.gnu.org
Sun Nov 24 13:28:00 GMT 2013
Author: ebotcazou
Date: Sun Nov 24 13:28:12 2013
New Revision: 205330
URL: http://gcc.gnu.org/viewcvs?rev=205330&root=gcc&view=rev
Log:
Backport from mainline
2013-08-09 Eric Botcazou <ebotcazou@adacore.com>
* configure.ac: Add GAS check for LEON instructions on SPARC.
* configure: Regenerate.
* config.in: Likewise.
* config.gcc (with_cpu): Remove sparc-leon*-* and deal with LEON in the
sparc*-*-* block.
* config/sparc/sparc.opt (LEON, LEON3): New masks.
* config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Set to AS_LEON_FLAG
for LEON or LEON3.
(ASM_CPU_SPEC): Pass AS_LEON_FLAG if -mcpu=leon or -mcpu=leon3.
(AS_LEON_FLAG): New macro.
* config/sparc/sparc.c (sparc_option_override): Set MASK_LEON for leon
and MASK_LEON3 for leon3 and unset them if HAVE_AS_LEON is not defined.
Deal with LEON and LEON3 for the memory model.
* config/sparc/sync.md (atomic_compare_and_swap<mode>): Enable if LEON3
(atomic_compare_and_swap<mode>_1): Likewise.
(*atomic_compare_and_swap<mode>_1): Likewise.
Modified:
branches/gcc-4_8-branch/gcc/ChangeLog
branches/gcc-4_8-branch/gcc/config.gcc
branches/gcc-4_8-branch/gcc/config.in
branches/gcc-4_8-branch/gcc/config/sparc/sparc.c
branches/gcc-4_8-branch/gcc/config/sparc/sparc.h
branches/gcc-4_8-branch/gcc/config/sparc/sparc.opt
branches/gcc-4_8-branch/gcc/config/sparc/sync.md
branches/gcc-4_8-branch/gcc/configure
branches/gcc-4_8-branch/gcc/configure.ac
More information about the Gcc-cvs
mailing list