OSDN Git Service

* config/stormy16/stormy16-lib2.c: Arrange for separate
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Nov 2009 18:56:10 +0000 (18:56 +0000)
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Nov 2009 18:56:10 +0000 (18:56 +0000)
commit8fd2730b9dbe6864edfc7a3ea197c02a76c153eb
treec9d56ccf47b4f1ac9b76b795492e4508065b5dae
parent653c1b49a762d971eb3827435ae6173591ce7929
    * config/stormy16/stormy16-lib2.c: Arrange for separate
        compilation of each function.
        (__ffshi2): New function.
        (__stormy16_count_leading_zeros): New function.
        * config/stormy16/t-stormy16 (LIB2FUNCS_EXTRA): Use stub files to
        compile each function into its own object file.
        (stormy16-lib2-ashlsi3.c): New stub file.
        (stormy16-lib2-ashrsi3.c): New stub file.
        (stormy16-lib2-clzhi2.c): New stub file.
        (stormy16-lib2-count-leading-zeros.c): New stub file.
        (stormy16-lib2-ctzhi2.c): New stub file.
        (stormy16-lib2-divsi3.c): New stub file.
        (stormy16-lib2-ffshi2.c): New stub file.
        (stormy16-lib2-lshrsi3.c): New stub file.
        (stormy16-lib2-modsi3.c): New stub file.
        (stormy16-lib2-parityhi2.c): New stub file.
        (stormy16-lib2-popcounthi2.c): New stub file.
        (stormy16-lib2-udivmodsi4.c): New stub file.
        (stormy16-lib2-udivsi3.c): New stub file.
        (stormy16-lib2-umodsi3.c): New stub file.
        * longlong.h (count_leading_zeros): Define macro for stormy16
        target.
        (COUNT_LEADING_ZEROS_0): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154713 138bc75d-0d04-0410-961f-82ee72b054a4
18 files changed:
gcc/ChangeLog
gcc/config/stormy16/stormy16-lib2-ashlsi3.c [new file with mode: 0644]
gcc/config/stormy16/stormy16-lib2-ashrsi3.c [new file with mode: 0644]
gcc/config/stormy16/stormy16-lib2-clzhi2.c [new file with mode: 0644]
gcc/config/stormy16/stormy16-lib2-count-leading-zeros.c [new file with mode: 0644]
gcc/config/stormy16/stormy16-lib2-ctzhi2.c [new file with mode: 0644]
gcc/config/stormy16/stormy16-lib2-divsi3.c [new file with mode: 0644]
gcc/config/stormy16/stormy16-lib2-ffshi2.c [new file with mode: 0644]
gcc/config/stormy16/stormy16-lib2-lshrsi3.c [new file with mode: 0644]
gcc/config/stormy16/stormy16-lib2-modsi3.c [new file with mode: 0644]
gcc/config/stormy16/stormy16-lib2-parityhi2.c [new file with mode: 0644]
gcc/config/stormy16/stormy16-lib2-popcounthi2.c [new file with mode: 0644]
gcc/config/stormy16/stormy16-lib2-udivmodsi4.c [new file with mode: 0644]
gcc/config/stormy16/stormy16-lib2-udivsi3.c [new file with mode: 0644]
gcc/config/stormy16/stormy16-lib2-umodsi3.c [new file with mode: 0644]
gcc/config/stormy16/stormy16-lib2.c
gcc/config/stormy16/t-stormy16
gcc/longlong.h