freebsd-nq/sys/powerpc/include
Mike Barcroft 8cf5ed5125 Implement fpclassify():
o Add a MD header private to libc called _fpmath.h; this header
  contains bitfield layouts of MD floating-point types.
o Add a MI header private to libc called fpmath.h; this header
  contains bitfield layouts of MI floating-point types.
o Add private libc variables to lib/libc/$arch/gen/infinity.c for
  storing NaN values.
o Add __double_t and __float_t to <machine/_types.h>, and provide
  double_t and float_t typedefs in <math.h>.
o Add some C99 manifest constants (FP_ILOGB0, FP_ILOGBNAN, HUGE_VALF,
  HUGE_VALL, INFINITY, NAN, and return values for fpclassify()) to
  <math.h> and others (FLT_EVAL_METHOD, DECIMAL_DIG) to <float.h> via
  <machine/float.h>.
o Add C99 macro fpclassify() which calls __fpclassify{d,f,l}() based
  on the size of its argument.  __fpclassifyl() is never called on
  alpha because (sizeof(long double) == sizeof(double)), which is good
  since __fpclassifyl() can't deal with such a small `long double'.

This was developed by David Schultz and myself with input from bde and
fenner.

PR:		23103
Submitted by:	David Schultz <dschultz@uclink.Berkeley.EDU>
		(significant portions)
Reviewed by:	bde, fenner (earlier versions)
2003-02-08 20:37:55 +00:00
..
_inttypes.h
_limits.h RAIDframe requires LONG_BIT 2003-01-18 11:23:42 +00:00
_stdint.h
_types.h Implement fpclassify(): 2003-02-08 20:37:55 +00:00
asm.h Put the right fix in. Instead of deleting the declaration of __FBSDID, we 2003-01-28 10:54:31 +00:00
atomic.h Fix bugs with operand ordering and unnecessary sync/eieio ops. Mostly 2003-01-18 11:28:36 +00:00
bat.h
bootinfo.h
bus_memio.h
bus_pio.h
bus.h Rework of how memory resources are discovered and dealt with in macio. 2003-01-30 11:28:29 +00:00
clock.h
cpu.h Prepended underscores to macro local vars, avoiding gcc "declaration 2003-01-18 11:20:06 +00:00
cpufunc.h Add an inline function wrapper for the mfpvf (Move From Processor Version 2003-02-05 11:59:27 +00:00
critical.h
db_machdep.h Clean up ddb warnings/errors and enable in GENERIC 2002-10-04 01:19:18 +00:00
elf.h
endian.h Be careful not to define GCC-specific optimizations in the non-GCC 2002-09-23 04:32:17 +00:00
exec.h
float.h Implement fpclassify(): 2003-02-08 20:37:55 +00:00
fpu.h Not all cpus are MPC750s. Replace the MPC750 cpu option with OEA. This 2003-02-05 11:37:59 +00:00
frame.h <machine/types.> -> <sys/types.h> 2002-09-19 04:45:32 +00:00
hid.h - Update spr.h 2003-02-05 12:04:29 +00:00
ieee.h <machine/ieee.h>, taken from sparc64 2003-01-18 11:30:59 +00:00
ieeefp.h
in_cksum.h
interruptvar.h
intr_machdep.h - Introduce a flags value into the interrupt handler structure. 2003-02-01 07:20:36 +00:00
intr.h
ipl.h
kse.h
limits.h RAIDframe requires LONG_BIT 2003-01-18 11:23:42 +00:00
md_var.h Export the ns_per_tick variable through md_var.h rather than by declaring 2003-02-05 12:33:49 +00:00
metadata.h
mutex.h
nexusvar.h
ofw_machdep.h
openpicreg.h
openpicvar.h psim device support 2002-09-19 04:45:58 +00:00
param.h Define _MACHINE. 2002-10-05 02:56:49 +00:00
pcb.h Add the USER_SR segment register to pcb state. Initialize correctly, 2002-10-21 05:27:41 +00:00
pcpu.h
pio.h
pmap.h
powerpc.h
proc.h
profile.h Stub profile.h, required for userland builds. 2003-01-18 11:31:58 +00:00
psl.h
pte.h
ptrace.h
reg.h Renamed poorly named setregs to exec_setregs. Moved its prototype to 2002-08-29 06:17:48 +00:00
reloc.h
resource.h
runq.h
setjmp.h Fix namespace issues by using visibility conditionals from 2002-10-05 05:47:56 +00:00
sigframe.h Removed osigframe. No need for COMPAT_43 signal bin-compat in PPC. 2002-09-19 04:46:36 +00:00
signal.h Allow the MD frame definition to be seen in. Required for truss/ptrace. 2003-01-18 11:25:21 +00:00
smp.h
spr.h - Update spr.h 2003-02-05 12:04:29 +00:00
sr.h
stdarg.h o Add conditionals to allow va_list to be defined in other headers. 2002-10-06 22:01:07 +00:00
trap.h
ucontext.h
varargs.h Add conditionals to allow va_list to be defined in other headers. 2002-10-06 22:02:06 +00:00
vmparam.h