summaryrefslogtreecommitdiff
path: root/gcc/config/h8300/t-h8300
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-08 19:30:59 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-06-08 19:30:59 +0000
commit77e0f75a54702460f2c7f548368e9d37a9fe9b59 (patch)
tree4ae6ed0645bbea77e156417be6247731a8f3f94f /gcc/config/h8300/t-h8300
parent60ff337d6a723b4ca7f686075a097e3f5b6e9a88 (diff)
downloadgcc-77e0f75a54702460f2c7f548368e9d37a9fe9b59.tar.gz
* config/h8300/h8300.h (LONG_LONG_TYPE_SIZE): Set to 64.
* config/h8300/t-h8300 (LIB1ASMFUNCS): Remove _floatdisf _fixsfdi _fixunssfdi. (LIB2FUNCS_EXTRA): Add entries for clzhi2, ctzhi2, parityhi2, popcounthi2. (TARGET_LIBGCC2_CFLAGS): Remove -DDI=SI. * config/h8300/clzhi2.c: New. * config/h8300/ctzhi2.c: Likewise. * config/h8300/parityhi2.c: Likewise. * config/h8300/popcounthi2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67636 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/h8300/t-h8300')
-rw-r--r--gcc/config/h8300/t-h830013
1 files changed, 9 insertions, 4 deletions
diff --git a/gcc/config/h8300/t-h8300 b/gcc/config/h8300/t-h8300
index d8cbd4f1293..a8b2981e397 100644
--- a/gcc/config/h8300/t-h8300
+++ b/gcc/config/h8300/t-h8300
@@ -3,12 +3,17 @@
# from libgcc2.c. They do not actually exist in lib1funcs.asm.
LIB1ASMSRC = h8300/lib1funcs.asm
LIB1ASMFUNCS = _cmpsi2 _ucmpsi2 _divhi3 _divsi3 _mulhi3 _mulsi3 \
- _floatdisf _fixsfdi _fixunssfdi _fixunssfsi_asm
+ _fixunssfsi_asm
-LIB2FUNCS_EXTRA = $(srcdir)/config/h8300/fixunssfsi.c
+LIB2FUNCS_EXTRA = \
+ $(srcdir)/config/h8300/clzhi2.c \
+ $(srcdir)/config/h8300/ctzhi2.c \
+ $(srcdir)/config/h8300/parityhi2.c \
+ $(srcdir)/config/h8300/popcounthi2.c \
+ $(srcdir)/config/h8300/fixunssfsi.c
-# We do not have DF or DI types, so fake out the libgcc2 compilation.
-TARGET_LIBGCC2_CFLAGS = -DDF=SF -DDI=SI
+# We do not have DF type, so fake out the libgcc2 compilation.
+TARGET_LIBGCC2_CFLAGS = -DDF=SF
# We want fine grained libraries, so use the new code to build the
# floating point emulation libraries.