Commit 134c8a50 by Bob Wilson Committed by Bob Wilson

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
parent 42801b98
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> 2006-01-09 Kazu Hirata <kazu@codesourcery.com>
* config/sh/predicates.md (binary_float_operator, * config/sh/predicates.md (binary_float_operator,
......
/* Assembly functions for the Xtensa version of libgcc1. /* 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. Contributed by Bob Wilson (bwilson@tensilica.com) at Tensilica.
This file is part of GCC. This file is part of GCC.
...@@ -484,3 +484,6 @@ __modsi3: ...@@ -484,3 +484,6 @@ __modsi3:
.size __modsi3,.-__modsi3 .size __modsi3,.-__modsi3
#endif /* L_modsi3 */ #endif /* L_modsi3 */
#include "ieee754-df.S"
#include "ieee754-sf.S"
# 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 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) $(T)crti.o: $(srcdir)/config/xtensa/crti.asm $(GCC_PASSES)
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \ $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
......
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> 2005-12-30 Bob Wilson <bob.wilson@acm.org>
* xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New. * xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New.
......
...@@ -54,6 +54,9 @@ ...@@ -54,6 +54,9 @@
#undef XCHAL_HAVE_MUL32 #undef XCHAL_HAVE_MUL32
#define XCHAL_HAVE_MUL32 0 #define XCHAL_HAVE_MUL32 0
#undef XCHAL_HAVE_MUL32_HIGH
#define XCHAL_HAVE_MUL32_HIGH 0
#undef XCHAL_HAVE_DIV32 #undef XCHAL_HAVE_DIV32
#define XCHAL_HAVE_DIV32 0 #define XCHAL_HAVE_DIV32 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment