summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/sh/gen (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove from gen so that lint doesn't check gen if assembly versionsmartynas2009-04-211-2/+3
| | | | are available. spotted by theo
* - ldexp implementation has issues. switch to the one from libmmartynas2009-04-193-452/+2
| | | | | | - remove frexp in hppa64, cloned from hppa - move generic ieee754 implementations of modf and ldexp to gen ok kettenis@, "looks good" millert@
* this is not a write-only register. might have caused to optimizemartynas2009-04-051-2/+2
| | | | it away. ok miod@
* use sys/cdefs.h; pointed out by theomartynas2008-12-102-4/+4
|
* ditto frexpl and ldexplmartynas2008-12-091-1/+4
|
* alias fabsl to fabs on these archsmartynas2008-12-091-1/+4
|
* - move isinf, isnan dups to gen, since most is ieee 754martynas2008-07-244-96/+17
| | | | | | | | | | | | | | | | - is{inf,nan} should be macros for real-floating, so rename to __is{inf,nan}, per C99 - implement C99 __fpclassify(), __fpclassifyf(), __isfinite(), __isfinitef(), __isnormal(), __isnormalf(), __signbit(), __signbitf() - long functions added, but not yet enabled, till ieee.h is fixed - implement vax equivalents of the functions - reimplement isinff, isnanf in a better way, and move to libc - add qnan bytes for all archs - bump major man pages will follow ok millert@. arm bits looked over by drahn@ discussed w/ theo, who showed the right direction, to put these functions in libc
* clear sign bit, instead of comparing to zero and setting x=-x.martynas2008-07-231-6/+12
| | | | | | | fixes special cases, such as neg. zero, and makes C99 conformant ok miod@, millert@ since there's nothing else in arm's fabs.c, replace 4-clause license w/ the one at /usr/share/misc/license.template
* Move landisk to hardware floating point. At the moment the FPU context ismiod2007-03-028-130/+264
| | | | | | | | | | | | | | | always saved upon context switches, as FPU registers are heavily used for long long computations (don't ask). Gcc default to -m4. Credits to drahn@ otto@ and deraadt@ for feedback and help testing. Upgrade procedure if you don't want to use the damn snapshots: - build and install new kernel, reboot off it - build new gcc, do not install it yet - make includes - install new gcc - build and install lib/csu and lib/libc - make build
* Do not use fpu in the softfloat case. Fixes lib/libc/ieeefp/roundotto2006-11-141-1/+5
| | | | regress test; ok miod@
* missing ;otto2006-11-131-2/+2
|
* fix infinity, taking into account endianess. ok drahn@ miod@otto2006-11-121-2/+6
|
* Move (back) to softfloat on sh for now.drahn2006-11-062-5/+13
|
* and I forgot ldexp.cdrahn2006-10-111-2/+2
|
* build modf.cdrahn2006-10-111-2/+2
|
* Preliminary userland bits for OpenBSD/landisk, many things coming frommiod2006-10-1017-0/+1140
NetBSD.