freebsd-skq/sys/powerpc/include
mike b4e3f2f94a 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 Since printf(3) now supports the `j' conversion specifier, use that 2002-06-30 05:48:03 +00:00
_limits.h RAIDframe requires LONG_BIT 2003-01-18 11:23:42 +00:00
_stdint.h Create a new header <machine/_stdint.h> for storing MD parts of 2002-07-29 17:41:23 +00:00
_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 1) Add busdma machdep code. 2002-07-09 12:47:14 +00:00
bus_pio.h 1) Add busdma machdep code. 2002-07-09 12:47:14 +00:00
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 We don't need to clear RI in the MSR when entering a critical section. 2002-06-29 09:55:57 +00:00
db_machdep.h Clean up ddb warnings/errors and enable in GENERIC 2002-10-04 01:19:18 +00:00
elf.h Move the definition of ElfN_Hashelt to common headers. The only platform 2002-05-30 08:32:18 +00:00
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 FPU support. 2002-05-13 07:44:48 +00:00
in_cksum.h in_cksum et al. 2002-06-29 09:49:26 +00:00
interruptvar.h Add this file, which I forgot in a previous commit. 2002-07-09 12:50:58 +00:00
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 Changes for KSE3. 2002-07-09 12:57:23 +00:00
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 Metadata definitions. 2002-07-10 12:14:23 +00:00
mutex.h
nexusvar.h - Add the "compatible" property to the list that we keep in ivars. 2002-07-09 11:13:33 +00:00
ofw_machdep.h Add the OF_getetheraddr function required by if_gem. 2002-07-09 13:43:06 +00:00
openpicreg.h Driver for OpenPIC compatible interrupt controllers. 2002-07-09 11:26:10 +00:00
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 FPU support. 2002-05-13 07:44:48 +00:00
pio.h
pmap.h o Introduce pmap_page_is_mapped(). Its purpose is to obsolete 2002-08-07 19:37:22 +00:00
powerpc.h Get the correct memory regions from OpenFirmware. We were getting the 2002-05-27 11:18:12 +00:00
proc.h
profile.h Stub profile.h, required for userland builds. 2003-01-18 11:31:58 +00:00
psl.h Add the PSL_VEC flag for AltiVec (no, it's not here yet =)) 2002-05-19 04:03:11 +00:00
pte.h 1. Better track the executable status of mappings. 2002-05-09 14:09:19 +00:00
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 Move the "- 1" into the RQB_FFS(mask) macro itself so that 2002-06-20 06:21:20 +00:00
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 Update to newer trap code from NetBSD. 2002-05-09 14:22:55 +00:00
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