2001-08-29 Joel Sherrill <joel@OARcorp.com>
* libc/include/sys/unistd.h: Prototype chroot() for RTEMS. 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S, libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c, libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S, libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S, libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S, libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S, libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c, libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S: Add conditional compilation to avoid HW FPU instructions when compiled for soft-float.
This commit is contained in:
		| @@ -1,3 +1,20 @@ | ||||
| 2001-08-29  Joel Sherrill <joel@OARcorp.com> | ||||
|  | ||||
| 	* libc/include/sys/unistd.h: Prototype chroot() for RTEMS. | ||||
|  | ||||
| 2001-08-29  Ralf Corsepius <corsepiu@faw.uni-ulm.de> | ||||
|  | ||||
| 	* libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S, | ||||
| 	  libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c, | ||||
| 	  libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S, | ||||
| 	  libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S, | ||||
| 	  libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S, | ||||
| 	  libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S, | ||||
| 	  libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c, | ||||
| 	  libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S: | ||||
| 	Add conditional compilation to avoid HW FPU instructions | ||||
| 	when compiled for soft-float. | ||||
|  | ||||
| 2001-08-29  Jeff Johnston  <jjohnstn@redhat.com> | ||||
|  | ||||
| 	* Makefile.am: Add check for ln failing when creating libg.a | ||||
|   | ||||
| @@ -21,7 +21,7 @@ unsigned  _EXFUN(alarm, (unsigned __secs )); | ||||
| int     _EXFUN(chdir, (const char *__path )); | ||||
| int     _EXFUN(chmod, (const char *__path, mode_t __mode )); | ||||
| int     _EXFUN(chown, (const char *__path, uid_t __owner, gid_t __group )); | ||||
| #ifdef __CYGWIN__ | ||||
| #if defined(__CYGWIN__) || defined(__rtems__) | ||||
| int     _EXFUN(chroot, (const char *__path )); | ||||
| #endif | ||||
| int     _EXFUN(close, (int __fildes )); | ||||
|   | ||||
| @@ -8,6 +8,8 @@ | ||||
|  * ==================================================== | ||||
|  */ | ||||
|  | ||||
| #if !defined(_SOFT_FLOAT) | ||||
|  | ||||
| /*  | ||||
| Fast version of atan2 using Intel float instructions. | ||||
|  | ||||
| @@ -31,3 +33,5 @@ SYM (_f_atan2): | ||||
|  | ||||
| 	leave | ||||
| 	ret | ||||
|  | ||||
| #endif | ||||
|   | ||||
| @@ -8,6 +8,8 @@ | ||||
|  * ==================================================== | ||||
|  */ | ||||
|  | ||||
| #if !defined(_SOFT_FLOAT) | ||||
|  | ||||
| /* | ||||
| Fast version of atan2f using Intel float instructions. | ||||
|  | ||||
| @@ -31,3 +33,5 @@ SYM (_f_atan2f): | ||||
|  | ||||
| 	leave | ||||
| 	ret | ||||
|  | ||||
| #endif | ||||
|   | ||||
| @@ -8,6 +8,8 @@ | ||||
|  * ==================================================== | ||||
|  */ | ||||
|  | ||||
| #if !defined(_SOFT_FLOAT) | ||||
|  | ||||
| /* | ||||
| Fast version of exp using Intel float instructions. | ||||
|  | ||||
| @@ -42,4 +44,4 @@ double _f_exp (double x) | ||||
|    return x; | ||||
| } | ||||
|  | ||||
|  | ||||
| #endif | ||||
|   | ||||
| @@ -8,6 +8,8 @@ | ||||
|  * ==================================================== | ||||
|  */ | ||||
|  | ||||
| #if !defined(_SOFT_FLOAT) | ||||
|  | ||||
| /* | ||||
| Fast version of exp using Intel float instructions. | ||||
|  | ||||
| @@ -42,4 +44,4 @@ float _f_expf (float x) | ||||
|    return x; | ||||
| } | ||||
|  | ||||
|  | ||||
| #endif | ||||
|   | ||||
| @@ -8,6 +8,8 @@ | ||||
|  * ==================================================== | ||||
|  */ | ||||
|  | ||||
| #if !defined(_SOFT_FLOAT) | ||||
|  | ||||
| /* | ||||
| Fast version of frexp using Intel float instructions. | ||||
|  | ||||
| @@ -42,3 +44,5 @@ SYM (_f_frexp): | ||||
|  | ||||
| 	leave | ||||
| 	ret | ||||
|  | ||||
| #endif | ||||
|   | ||||
| @@ -8,6 +8,8 @@ | ||||
|  * ==================================================== | ||||
|  */ | ||||
|  | ||||
| #if !defined(_SOFT_FLOAT) | ||||
|  | ||||
| /* | ||||
| Fast version of frexpf using Intel float instructions. | ||||
|  | ||||
| @@ -42,3 +44,5 @@ SYM (_f_frexpf): | ||||
|  | ||||
| 	leave | ||||
| 	ret | ||||
|  | ||||
| #endif | ||||
|   | ||||
| @@ -8,6 +8,8 @@ | ||||
|  * ==================================================== | ||||
|  */ | ||||
|  | ||||
| #if !defined(_SOFT_FLOAT) | ||||
|  | ||||
| /* | ||||
| Fast version of ldexp using Intel float instructions. | ||||
|  | ||||
| @@ -32,3 +34,5 @@ SYM (_f_ldexp): | ||||
|  | ||||
| 	leave | ||||
| 	ret | ||||
|  | ||||
| #endif | ||||
|   | ||||
| @@ -8,6 +8,8 @@ | ||||
|  * ====================================================  | ||||
|  */ | ||||
|  | ||||
| #if !defined(_SOFT_FLOAT) | ||||
|  | ||||
| /* | ||||
| Fast version of ldexpf using Intel float instructions. | ||||
|  | ||||
| @@ -32,3 +34,5 @@ SYM (_f_ldexpf): | ||||
|  | ||||
| 	leave | ||||
| 	ret | ||||
|  | ||||
| #endif | ||||
|   | ||||
| @@ -8,6 +8,8 @@ | ||||
|  * ====================================================  | ||||
|  */ | ||||
|  | ||||
| #if !defined(_SOFT_FLOAT) | ||||
|  | ||||
| /* | ||||
| Fast version of log using Intel float instructions. | ||||
|  | ||||
| @@ -34,3 +36,5 @@ SYM (_f_log): | ||||
|  | ||||
| 	leave | ||||
| 	ret | ||||
|  | ||||
| #endif | ||||
|   | ||||
| @@ -8,6 +8,8 @@ | ||||
|  * ====================================================  | ||||
|  */ | ||||
|  | ||||
| #if !defined(_SOFT_FLOAT) | ||||
|  | ||||
| /* | ||||
| Fast version of log10 using Intel float instructions. | ||||
|  | ||||
| @@ -34,3 +36,5 @@ SYM (_f_log10): | ||||
|  | ||||
| 	leave | ||||
| 	ret | ||||
|  | ||||
| #endif | ||||
|   | ||||
| @@ -8,6 +8,8 @@ | ||||
|  * ====================================================  | ||||
|  */ | ||||
|  | ||||
| #if !defined(_SOFT_FLOAT) | ||||
|  | ||||
| /* | ||||
| Fast version of logf using Intel float instructions. | ||||
|  | ||||
| @@ -34,3 +36,5 @@ SYM (_f_log10f): | ||||
|  | ||||
| 	leave | ||||
| 	ret | ||||
|  | ||||
| #endif | ||||
|   | ||||
| @@ -8,6 +8,8 @@ | ||||
|  * ====================================================  | ||||
|  */ | ||||
|  | ||||
| #if !defined(_SOFT_FLOAT) | ||||
|  | ||||
| /* | ||||
| Fast version of logf using Intel float instructions. | ||||
|  | ||||
| @@ -34,3 +36,5 @@ SYM (_f_logf): | ||||
|  | ||||
| 	leave | ||||
| 	ret | ||||
|  | ||||
| #endif | ||||
|   | ||||
| @@ -8,6 +8,8 @@ | ||||
|  * ==================================================== | ||||
|  */ | ||||
|  | ||||
| #if !defined(_SOFT_FLOAT) | ||||
|  | ||||
| /* | ||||
| Fast version of pow using Intel float instructions. | ||||
|  | ||||
| @@ -42,3 +44,4 @@ double _f_pow (double x, double y) | ||||
|     return pow (x,y); | ||||
| } | ||||
|  | ||||
| #endif | ||||
|   | ||||
| @@ -8,6 +8,8 @@ | ||||
|  * ==================================================== | ||||
|  */ | ||||
|  | ||||
| #if !defined(_SOFT_FLOAT) | ||||
|  | ||||
| /* | ||||
| Fast version of pow using Intel float instructions. | ||||
|  | ||||
| @@ -42,3 +44,4 @@ float _f_powf (float x, float y) | ||||
|     return powf (x,y); | ||||
| } | ||||
|  | ||||
| #endif | ||||
|   | ||||
| @@ -8,6 +8,8 @@ | ||||
|  * ====================================================  | ||||
|  */              | ||||
|  | ||||
| #if !defined(_SOFT_FLOAT) | ||||
|  | ||||
| /* | ||||
| Fast version of tan using Intel float instructions. | ||||
|  | ||||
| @@ -31,3 +33,5 @@ SYM (_f_tan): | ||||
|  | ||||
| 	leave | ||||
| 	ret | ||||
|  | ||||
| #endif | ||||
|   | ||||
| @@ -8,6 +8,8 @@ | ||||
|  * ==================================================== | ||||
|  */                      | ||||
|  | ||||
| #if !defined(_SOFT_FLOAT) | ||||
|  | ||||
| /* | ||||
| Fast version of tanf using Intel float instructions. | ||||
|  | ||||
| @@ -31,3 +33,5 @@ SYM (_f_tanf): | ||||
|  | ||||
| 	leave | ||||
| 	ret | ||||
|  | ||||
| #endif | ||||
|   | ||||
		Reference in New Issue
	
	Block a user