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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [config/] [scarts32/] [t-scarts32] - Blame information for rev 20

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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