OSDN Git Service

PR target/28014:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jun 2006 17:44:56 +0000 (17:44 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jun 2006 17:44:56 +0000 (17:44 +0000)
commit2b2f5cfbdd0e559f9062c294bceb7f486b9cb9da
tree77b0e8646b86bb0b70f9dec160ea2b7da24fb530
parent679f19b4de2f05a8dcc4d6218648b864bb3eb175
    PR target/28014:

        gcc:
        * config/sh/t-sh (LIB1ASMFUNCS): Add _udiv_qrnnd16
        * config/sh/sh.c (print_operand): Add !SHMEDIA functionality to 'M'.
        * config/sh/lib1funcs.h (SL, SL1): Define.
        * config/sh/lib1funcs.asm (__udiv_qrnnd16): New hidden function.
        * longlong.h (__sh__): Define umul_ppmm, udiv_qrnnd and sub_ddmmss.
        * config/sh/t-sh ($(T)unwind-dw2-Os-4-200.o): New rule.
        (OBJS_Os_4_200): New variable.
        ($(T)libgcc-Os-4-200.a): Use it.
        * sh.md (udivsi3): For TARGET_DIVIDE_CALL_TABLE, avoid function call
        when dividing 1 and/or by 0.

        gcc/testsuite:
        * g++.dg/eh/div.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114616 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/sh/lib1funcs.asm
gcc/config/sh/lib1funcs.h
gcc/config/sh/sh.c
gcc/config/sh/sh.md
gcc/config/sh/t-sh
gcc/longlong.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/eh/div.C [new file with mode: 0644]