r197071 - in /branches/gcc-4_7-branch: gcc/Chan...
olegendo@gcc.gnu.org
olegendo@gcc.gnu.org
Mon Mar 25 22:55:00 GMT 2013
Author: olegendo
Date: Mon Mar 25 22:55:56 2013
New Revision: 197071
URL: http://gcc.gnu.org/viewcvs?rev=197071&root=gcc&view=rev
Log:
Backport from mainline:
2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
2013-03-14 Kaz Kojima <kkojima@gcc.gnu.org>
PR target/49880
* config/sh/sh.opt (FPU_SINGLE_ONLY): New mask.
(musermode): Convert to Var(TARGET_USERMODE).
* config/sh/sh.h (SELECT_SH2A_SINGLE_ONLY, SELECT_SH4_SINGLE_ONLY,
MASK_ARCH): Add MASK_FPU_SINGLE_ONLY.
* config/sh/sh.c (sh_option_override): Use
TARGET_FPU_DOUBLE || TARGET_FPU_SINGLE_ONLY for call-fp case.
* config/sh/sh.md (udivsi3_i1, divsi3_i1): Remove ! TARGET_SH4
condition.
(udivsi3_i4, divsi3_i4): Use TARGET_FPU_DOUBLE condition instead of
TARGET_SH4.
(udivsi3_i4_single, divsi3_i4_single): Use
TARGET_FPU_SINGLE_ONLY || TARGET_FPU_DOUBLE instead of TARGET_HARD_SH4.
* config/sh/linux.h (TARGET_DEFAULT): Remove MASK_USERMODE.
(SUBTARGET_OVERRIDE_OPTIONS): Set TARGET_USERMODE as default.
* config/sh/netbsd-elf.h (TARGET_DEFAULT): Remove MASK_USERMODE.
(SUBTARGET_OVERRIDE_OPTIONS): New.
Backport from mainline:
2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
PR target/49880
* config/sh/lib1funcs.S (sdivsi3_i4, udivsi3_i4): Enable for SH2A.
(sdivsi3, udivsi3): Remove SH4 check and always compile these functions.
Backport from mainline:
2013-03-13 Oleg Endo <olegendo@gcc.gnu.org>
PR target/49880
* gcc.target/sh/pr49880-1.c: New.
* gcc.target/sh/pr49880-2.c: New.
* gcc.target/sh/pr49880-3.c: New.
* gcc.target/sh/pr49880-4.c: New.
* gcc.target/sh/pr49880-5.c: New.
Added:
branches/gcc-4_7-branch/gcc/testsuite/gcc.target/sh/pr49880-1.c
branches/gcc-4_7-branch/gcc/testsuite/gcc.target/sh/pr49880-2.c
branches/gcc-4_7-branch/gcc/testsuite/gcc.target/sh/pr49880-3.c
branches/gcc-4_7-branch/gcc/testsuite/gcc.target/sh/pr49880-4.c
branches/gcc-4_7-branch/gcc/testsuite/gcc.target/sh/pr49880-5.c
Modified:
branches/gcc-4_7-branch/gcc/ChangeLog
branches/gcc-4_7-branch/gcc/config/sh/linux.h
branches/gcc-4_7-branch/gcc/config/sh/netbsd-elf.h
branches/gcc-4_7-branch/gcc/config/sh/sh.c
branches/gcc-4_7-branch/gcc/config/sh/sh.h
branches/gcc-4_7-branch/gcc/config/sh/sh.md
branches/gcc-4_7-branch/gcc/config/sh/sh.opt
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
branches/gcc-4_7-branch/libgcc/ChangeLog
branches/gcc-4_7-branch/libgcc/config/sh/lib1funcs.S
More information about the Gcc-cvs
mailing list