xtensa-config.h (XCHAL_HAVE_MUL32_HIGH): Define.
include: * xtensa-config.h (XCHAL_HAVE_MUL32_HIGH): Define. gcc: * config/xtensa/ieee754-df.S: New file. * config/xtensa/ieee754-sf.S: New file. * config/xtensa/t-xtensa (LIB2FUNCS_EXTRA): Remove fp-bit.c & dp-bit.c. (LIB1ASMFUNCS): Add SFmode and DFmode floating-point functions. * config/xtensa/lib1funcs.asm: Include ieee754-df.S and ieee754-sf.S. From-SVN: r109518
This commit is contained in:
parent
42801b989a
commit
134c8a506f
@ -1,3 +1,11 @@
|
||||
2006-01-09 Bob Wilson <bob.wilson@acm.org>
|
||||
|
||||
* config/xtensa/ieee754-df.S: New file.
|
||||
* config/xtensa/ieee754-sf.S: New file.
|
||||
* config/xtensa/t-xtensa (LIB2FUNCS_EXTRA): Remove fp-bit.c & dp-bit.c.
|
||||
(LIB1ASMFUNCS): Add SFmode and DFmode floating-point functions.
|
||||
* config/xtensa/lib1funcs.asm: Include ieee754-df.S and ieee754-sf.S.
|
||||
|
||||
2006-01-09 Kazu Hirata <kazu@codesourcery.com>
|
||||
|
||||
* config/sh/predicates.md (binary_float_operator,
|
||||
|
2365
gcc/config/xtensa/ieee754-df.S
Normal file
2365
gcc/config/xtensa/ieee754-df.S
Normal file
File diff suppressed because it is too large
Load Diff
1734
gcc/config/xtensa/ieee754-sf.S
Normal file
1734
gcc/config/xtensa/ieee754-sf.S
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
/* Assembly functions for the Xtensa version of libgcc1.
|
||||
Copyright (C) 2001,2002,2003, 2005 Free Software Foundation, Inc.
|
||||
Copyright (C) 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||
Contributed by Bob Wilson (bwilson@tensilica.com) at Tensilica.
|
||||
|
||||
This file is part of GCC.
|
||||
@ -484,3 +484,6 @@ __modsi3:
|
||||
.size __modsi3,.-__modsi3
|
||||
|
||||
#endif /* L_modsi3 */
|
||||
|
||||
#include "ieee754-df.S"
|
||||
#include "ieee754-sf.S"
|
||||
|
@ -1,17 +1,14 @@
|
||||
# Use GCC's floating-point emulation code
|
||||
LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
|
||||
|
||||
dp-bit.c: $(srcdir)/config/fp-bit.c
|
||||
cat $(srcdir)/config/fp-bit.c > dp-bit.c
|
||||
|
||||
fp-bit.c: $(srcdir)/config/fp-bit.c
|
||||
echo '#define FLOAT' > fp-bit.c
|
||||
cat $(srcdir)/config/fp-bit.c >> fp-bit.c
|
||||
|
||||
LIB1ASMSRC = xtensa/lib1funcs.asm
|
||||
LIB1ASMFUNCS = _mulsi3 _nsau _divsi3 _modsi3 _udivsi3 _umodsi3
|
||||
LIB1ASMFUNCS = _mulsi3 _nsau _divsi3 _modsi3 _udivsi3 _umodsi3 \
|
||||
_negsf2 _addsubsf3 _mulsf3 _divsf3 _cmpsf2 _fixsfsi _fixsfdi \
|
||||
_fixunssfsi _fixunssfdi _floatsisf _floatunsisf \
|
||||
_floatdisf _floatundisf \
|
||||
_negdf2 _addsubdf3 _muldf3 _divdf3 _cmpdf2 _fixdfsi _fixdfdi \
|
||||
_fixunsdfsi _fixunsdfdi _floatsidf _floatunsidf \
|
||||
_floatdidf _floatundidf \
|
||||
_truncdfsf2 _extendsfdf2
|
||||
|
||||
LIB2FUNCS_EXTRA += $(srcdir)/config/xtensa/lib2funcs.S
|
||||
LIB2FUNCS_EXTRA = $(srcdir)/config/xtensa/lib2funcs.S
|
||||
|
||||
$(T)crti.o: $(srcdir)/config/xtensa/crti.asm $(GCC_PASSES)
|
||||
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
|
||||
|
@ -1,3 +1,7 @@
|
||||
2006-01-09 Bob Wilson <bob.wilson@acm.org>
|
||||
|
||||
* xtensa-config.h (XCHAL_HAVE_MUL32_HIGH): Define.
|
||||
|
||||
2005-12-30 Bob Wilson <bob.wilson@acm.org>
|
||||
|
||||
* xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New.
|
||||
|
@ -54,6 +54,9 @@
|
||||
#undef XCHAL_HAVE_MUL32
|
||||
#define XCHAL_HAVE_MUL32 0
|
||||
|
||||
#undef XCHAL_HAVE_MUL32_HIGH
|
||||
#define XCHAL_HAVE_MUL32_HIGH 0
|
||||
|
||||
#undef XCHAL_HAVE_DIV32
|
||||
#define XCHAL_HAVE_DIV32 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user