OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [config/] [scarts16/] [t-scarts16] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
LIB1ASMSRC = scarts16/libgcc.S
2
LIB1ASMFUNCS = \
3
        _mulhi3 _mulsi3 \
4
        _divhi3 _divsi3 \
5
        _udivhi3 _udivsi3 \
6
        _modhi3 _modsi3 \
7
        _umodhi3 _umodsi3 \
8
        _lshrsi3 _lshrdi3 \
9
        _ashrsi3 _ashrdi3 \
10
        _ashlsi3 _ashldi3 \
11
        _ffshi2 _ffssi2 \
12
        _ctzhi2 _ctzsi2 \
13
        _clzhi2 _clzsi2 \
14
        _popcounthi2 _popcountsi2 \
15
        _parityhi2 _paritysi2
16
 
17
TARGET_LIBGCC2_CFLAGS = -I$(INST_SCARTS_TOOLCHAIN_NEWLIB_LIBC_INCLUDE_DIR) -Dinhibit_libc -fno-if-conversion -Os
18
 
19
LIB2FUNCS_EXTRA = \
20
        $(srcdir)/config/scarts16/div.c \
21
        $(srcdir)/config/scarts16/divdi.c \
22
        $(srcdir)/config/scarts16/fixfloat.c \
23
        $(srcdir)/config/scarts16/moddi.c \
24
        $(srcdir)/config/scarts16/muldi.c \
25
        $(srcdir)/config/scarts16/udivdi.c \
26
        $(srcdir)/config/scarts16/umoddi.c
27
 
28
# We want fine grained libraries, so use the new code
29
# to build the floating point emulation libraries.
30
FPBIT = fp-bit.c
31
DPBIT = dp-bit.c
32
 
33
fp-bit.c: $(srcdir)/config/fp-bit.c
34
        echo '#define FLOAT' > fp-bit.c
35
        echo '#define SMALL_MACHINE' >> fp-bit.c
36
        echo '#define ROUND_TOWARDS_ZERO 0' >> fp-bit.c
37
        echo '#define LARGEST_EXPONENT_IS_NORMAL(X) 0' >> fp-bit.c
38
        cat $(srcdir)/config/fp-bit.c >> fp-bit.c
39
 
40
dp-bit.c: $(srcdir)/config/fp-bit.c
41
        echo '#define SMALL_MACHINE' > dp-bit.c
42
        echo '#define ROUND_TOWARDS_ZERO 0' >> dp-bit.c
43
        echo '#define LARGEST_EXPONENT_IS_NORMAL(X) 0' >> dp-bit.c
44
        cat $(srcdir)/config/fp-bit.c >> dp-bit.c
45
 
46
# Enable the following if multilibs are needed.
47
# See gcc/genmultilib, gcc/doc/gcc.texi and gcc/doc/tm.texi
48
# for a description of the options and their values.
49
#
50
# MULTILIB_OPTIONS    =
51
# MULTILIB_DIRNAMES   =
52
# MULTILIB_MATCHES    =
53
# MULTILIB_EXCEPTIONS =
54
# MULTILIB_EXTRA_OPTS =
55
#
56
# LIBGCC = stmp-multilib
57
# INSTALL_LIBGCC = install-multilib
58
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.