Commit Graph

22 Commits

Author SHA1 Message Date
Luis Machado
a72cc2b29d Enable optimized string routines for several PowerPC 4XX family processors.
This patch provides optimized string routines for the 4XX family of PowerPC
and Power Architecture processors.  For the 476 processor, it can be
configured for either hard-fp with -mcpu=476 --with-fp, or for soft-fp with
-mcpu=476 (since the default is soft-fp).
2011-01-12 12:59:09 -06:00
Joseph Myers
0b5c1204bf Add hidden feupdateenv and fetestexcept definitions for Power. 2010-10-11 14:58:26 +00:00
Joseph Myers
5ed9c2ea8a Add hidden alias for soft-float PowerPC fegetenv. 2010-02-10 15:15:58 +00:00
Joseph Myers
7d6729c9db * sysdeps/powerpc/nofpu/shlib-versions: New.
* c++-types-powerpcsoft-linux-gnu.data: New.
	* localplt-powerpcsoft-linux-gnu.data: New.
	* sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Use
	__fegetenv.
2008-08-19 16:06:38 +00:00
Daniel Jacobowitz
ce7a1add4e * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag): Do not
clobber other exceptions.
	* sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Raise new
	exceptions.
	* sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Handle
	multiple new exceptions if some are disabled.
	* sysdeps/powerpc/nofpu/sim-full.c (__simulate_exceptions): Likewise.
2007-08-29 20:34:36 +00:00
Daniel Jacobowitz
19584095cc * sysdeps/powerpc/nofpu/Makefile: Remove fe_nomask from libm-support. 2007-07-13 12:43:40 +00:00
Daniel Jacobowitz
0012a8520b * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Disable
exceptions.  Use the updated env in fesetenv().
	Add libm_hidden_def.
2007-05-23 17:45:14 +00:00
Daniel Jacobowitz
c73141f12a [BZ #2749]
* sysdeps/powerpc/nofpu/fenv_libc.h: New file.
2007-01-23 14:47:02 +00:00
Daniel Jacobowitz
234e3f6567 * sysdeps/powerpc/nofpu/fesetenv.c (__sim_exceptions,
__sim_disabled_exceptions, __sim_round_mode): Remove declarations.
2007-01-08 15:10:14 +00:00
Daniel Jacobowitz
3de1043772 2006-10-05 Steven Munroe <sjmunroe@us.ibm.com>
[BZ #2749]
	* sysdeps/powerpc/nofpu/Makefile
	[subdirs-soft-fp] (sysdep_routines): Remove gcc-quad-routines.
	[subdirs-math] (CPPFLAGS): Add -I../soft-fp.
	[subdirs-math] (CFLAGS-e_powl.c): Add -fno-builtin-fabsl.
	[subdirs-math] (CFLAGS-s_ccoshl.c): Likewise.
	[subdirs-math] (CFLAGS-s_csinhl.c): Likewise.
	[subdirs-math] (CFLAGS-s_clogl.c): Likewise.
	[subdirs-math] (CFLAGS-s_clog10l.c): Likewise.
	[subdirs-math] (CFLAGS-s_csinl.c): Likewise.
	[subdirs-math] (CFLAGS-s_csqrtl.c): Likewise.
	* sysdeps/powerpc/nofpu/Versions (GLIBC_2.3.2): Remove __fixtfdi,
	__fixtfsi, and __trunctfsf2.
	(GLIBC_2.4): Remove  __floatunditf, __floatunsitf, and __unordtf2.
	Add __nedf2, __nesf2, __gtdf2, __gtsf2, __ltdf2, __ltsf2.
	* sysdeps/powerpc/nofpu/libm-test-ulps: Update for soft-fp.
	* sysdeps/powerpc/soft-fp/sfp-machine.h: New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: New file.

	* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S:
	New file.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S:
	New file.
2006-11-22 15:13:11 +00:00
Roland McGrath
798def4ce3 2006-01-27 Roland McGrath <roland@redhat.com>
* sysdeps/powerpc/nofpu/Subdirs: New file.
2006-01-30 22:12:48 +00:00
Roland McGrath
84c3f2089d 2006-01-27 Roland McGrath <roland@redhat.com>
* sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
	(sysdep_routines): Add $(gcc-quad-routines) here.
2006-01-30 22:12:44 +00:00
Roland McGrath
74df46e30f Dist files no longer required 2006-01-08 06:49:16 +00:00
Roland McGrath
5a0a18f1f0 2006-01-06 Roland McGrath <roland@redhat.com>
* sysdeps/powerpc/nofpu/Versions (libc: GLIBC_2.4): New set.
	Add __floatundidf, __floatundisf, __floatunditf, __floatunsidf,
	__floatunsisf, __floatunsitf, __unorddf2, __unordsf2, __unordtf2.
2006-01-06 10:50:45 +00:00
Roland McGrath
0ff54449d6 2005-10-11 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/nofpu/fesetround.c: Add libm_hidden_def.
2005-11-10 00:56:23 +00:00
Roland McGrath
def952dc40 2004-01-13 Daniel Jacobowitz <drow@mvista.com>
* sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions)
	(__sim_disabled_exceptions, __sim_round_mode): Declare with
	hidden data and nocommon.
	* sysdeps/powerpc/nofpu/soft-supp.h (__sim_exceptions)
	(__sim_disabled_exceptions, __sim_round_mode): Use
	libc_hidden_proto.
	* sysdeps/powerpc/soft-fp/sfp-machine.h (__sim_exceptions)
	(__sim_disabled_exceptions, __sim_round_mode): Likewise.
2004-01-17 01:38:55 +00:00
Ulrich Drepper
d9f0b23a78 (__fegetexceptflag): Add masking of fenv. 2003-12-06 07:16:41 +00:00
Roland McGrath
fad367110e 2003-03-23 Jakub Jelinek <jakub@redhat.com>
* sysdeps/alpha/fpu/libm-test-ulps: Update.
	* sysdeps/arm/libm-test-ulps: Update.
	* sysdeps/hppa/fpu/libm-test-ulps: Update.
	* sysdeps/ia64/fpu/libm-test-ulps: Update.
	* sysdeps/mips/fpu/libm-test-ulps: Update.
	* sysdeps/powerpc/nofpu/libm-test-ulps: Update.
	* sysdeps/powerpc/fpu/libm-test-ulps: Update.
	* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Update.
	* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
	* sysdeps/sh/sh4/fpu/libm-test-ulps: Update.
	* sysdeps/s390/fpu/libm-test-ulps: Update.
	* sysdeps/x86_64/fpu/libm-test-ulps: Update.
2003-03-23 00:52:10 +00:00
Ulrich Drepper
cc6a3664ff Add soft-supp.h. 2003-02-21 06:59:04 +00:00
Ulrich Drepper
2299417ee1 Extra files to distribute for powerpc/nofpu. 2003-02-20 22:19:28 +00:00
Roland McGrath
10fdbe1a5b 2002-10-19 Roland McGrath <roland@redhat.com>
* config.make.in: Nix completely-soft nonsense.
	* configure.in: Likewise.  Under --without-fp, use nofpu subdirectory
	of machine directories instead of fpu subdirectory.
	* sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change.
	* sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead.
	* sysdeps/powerpc/soft-fp/sim-full.c: Moved to ...
	* sysdeps/powerpc/nofpu/sim-full.c: ... here.
	* sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ...
	* sysdeps/powerpc/nofpu/fraiseexcpt.c: ... here.
	* sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ...
	* sysdeps/powerpc/nofpu/fegetexcept.c: ... here.
	* sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ...
	* sysdeps/powerpc/nofpu/fclrexcpt.c: ... here.
	* sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ...
	* sysdeps/powerpc/nofpu/ftestexcept.c: ... here.
	* sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ...
	* sysdeps/powerpc/nofpu/fgetexcptflg.c: ... here.
	* sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ...
	* sysdeps/powerpc/nofpu/fsetexcptflg.c: ... here.
	* sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ...
	* sysdeps/powerpc/nofpu/fedisblxcpt.c: ... here.
	* sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ...
	* sysdeps/powerpc/nofpu/feenablxcpt.c: ... here.
	* sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ...
	* sysdeps/powerpc/nofpu/fegetenv.c: ... here.
	* sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ...
	* sysdeps/powerpc/nofpu/fesetenv.c: ... here.
	* sysdeps/powerpc/soft-fp/fegetround.c: Moved to ...
	* sysdeps/powerpc/nofpu/fegetround.c: ... here.
	* sysdeps/powerpc/soft-fp/fesetround.c: Moved to ...
	* sysdeps/powerpc/nofpu/fesetround.c: ... here.
	* sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ...
	* sysdeps/powerpc/nofpu/feupdateenv.c: ... here.
	* sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ...
	* sysdeps/powerpc/nofpu/feholdexcpt.c: ... here.
	* sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ...
	* sysdeps/powerpc/nofpu/fenv_const.c: ... here.
	* sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ...
	* sysdeps/powerpc/nofpu/libm-test-ulps: ... here.
	* sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ...
	* sysdeps/powerpc/nofpu/soft-supp.h: ... here.
	* sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ...
	* sysdeps/powerpc/nofpu/Versions: ... here, new file.
2002-10-19 20:06:29 +00:00
Roland McGrath
ea5a0c9530 2002-10-19 Roland McGrath <roland@redhat.com>
* config.make.in: Nix completely-soft nonsense.
	* configure.in: Likewise.  Under --without-fp, use nofpu subdirectory
	of machine directories instead of fpu subdirectory.
	* sysdeps/powerpc/soft-fp/Makefile: Remove cruft added in last change.
	* sysdeps/powerpc/nofpu/Makefile: Put it in this new file instead.
	* sysdeps/powerpc/soft-fp/sim-full.c: Moved to ../nofpu.
	* sysdeps/powerpc/soft-fp/fraiseexcpt.c: Moved to ../nofpu.
	* sysdeps/powerpc/soft-fp/fegetexcept.c: Moved to ../nofpu.
	* sysdeps/powerpc/soft-fp/fclrexcpt.c: Moved to ../nofpu.
	* sysdeps/powerpc/soft-fp/ftestexcept.c: Moved to ../nofpu.
	* sysdeps/powerpc/soft-fp/fgetexcptflg.c: Moved to ../nofpu.
	* sysdeps/powerpc/soft-fp/fsetexcptflg.c: Moved to ../nofpu.
	* sysdeps/powerpc/soft-fp/fedisblxcpt.c: Moved to ../nofpu.
	* sysdeps/powerpc/soft-fp/feenablxcpt.c: Moved to ../nofpu.
	* sysdeps/powerpc/soft-fp/fegetenv.c: Moved to ../nofpu.
	* sysdeps/powerpc/soft-fp/fesetenv.c: Moved to ../nofpu.
	* sysdeps/powerpc/soft-fp/fegetround.c: Moved to ../nofpu.
	* sysdeps/powerpc/soft-fp/fesetround.c: Moved to ../nofpu.
	* sysdeps/powerpc/soft-fp/feupdateenv.c: Moved to ../nofpu.
	* sysdeps/powerpc/soft-fp/feholdexcpt.c: Moved to ../nofpu.
	* sysdeps/powerpc/soft-fp/fenv_const.c: Moved to ../nofpu.
	* sysdeps/powerpc/soft-fp/libm-test-ulps: Moved to ../nofpu.
	* sysdeps/powerpc/soft-fp/soft-supp.h: Moved to ../nofpu.
	* sysdeps/powerpc/soft-fp/Versions (libc: GLIBC_2.3.2): Moved to ...
	* sysdeps/powerpc/nofpu/Versions: ... here, new file.
2002-10-19 20:03:40 +00:00