freebsd-dev/sys/alpha/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
..
pc use __packed. 2002-09-23 18:54:32 +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 MB_LEN_MAX is not MD, move it to the MI limits.h. 2002-12-22 06:38:45 +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
alpha_cpu.h Use the newer "+" modifier on output contraints when a register or 2002-10-25 20:22:12 +00:00
asm.h Protect against multiple inclusions. 2003-01-18 23:43:12 +00:00
atomic.h Remove extranious memory barriers, and correct the placement of a few others. 2002-10-30 01:41:44 +00:00
bootinfo.h Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
bus_memio.h
bus_pio.h
bus.h Implement bus_dmamem_alloc_size() and bus_dmamem_free_size() as 2003-01-29 07:25:27 +00:00
bwx.h
chipset.h
clock.h Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
clockvar.h
cpu.h Add getcontext, setcontext, and swapcontext as system calls. 2002-11-16 06:35:53 +00:00
cpuconf.h Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
cpufunc.h Stage-2 commit of the critical*() code. This re-inlines cpu_critical_enter() 2002-04-01 23:51:23 +00:00
critical.h Stage-2 commit of the critical*() code. This re-inlines cpu_critical_enter() 2002-04-01 23:51:23 +00:00
db_machdep.h Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +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
floatingpoint.h
fpu.h Add getcontext, setcontext, and swapcontext as system calls. 2002-11-16 06:35:53 +00:00
frame.h
ieee.h
ieeefp.h
in_cksum.h
inst.h
intr.h Introduce a standard name for the lock protecting an interrupt controller 2001-12-20 23:48:31 +00:00
intrcnt.h
ioctl_bt848.h
ioctl_meteor.h
kse.h Add files that are new for KSE. 2002-06-29 07:04:59 +00:00
limits.h MB_LEN_MAX is not MD, move it to the MI limits.h. 2002-12-22 06:38:45 +00:00
md_var.h Split 4.x and 5.x signal handling so that we can keep 4.x signal 2002-10-25 19:10:58 +00:00
mutex.h
pal.h
param.h Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
pcb.h The a.out md_coredump stuff isn't referenced anywhere anymore, and 2002-10-15 00:02:50 +00:00
pcpu.h
pmap.h o Introduce pmap_page_is_mapped(). Its purpose is to obsolete 2002-08-07 18:03:00 +00:00
proc.h - Split the unaligned access check flags out of md_flags in struct mdthread 2002-07-31 19:37:03 +00:00
profile.h Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
prom.h Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
pte.h
ptrace.h Move the definition of PT_[GS]ET{,DB,FP}REGS from the MD ptrace.h to the 2002-03-16 00:25:53 +00:00
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
rpb.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
sgmap.h
sigframe.h Split 4.x and 5.x signal handling so that we can keep 4.x signal 2002-10-25 19:10:58 +00:00
signal.h Add getcontext, setcontext, and swapcontext as system calls. 2002-11-16 06:35:53 +00:00
smp.h
stdarg.h o Add conditionals to allow va_list to be defined in other headers. 2002-10-06 22:01:07 +00:00
swiz.h
sysarch.h Remove __P(). This was tested on the GENERIC kernel. 2002-03-20 18:58:47 +00:00
ucontext.h Add getcontext, setcontext, and swapcontext as system calls. 2002-11-16 06:35:53 +00:00
varargs.h Add conditionals to allow va_list to be defined in other headers. 2002-10-06 22:02:06 +00:00
vmparam.h - Enable the use of UMA_MD_PAGE_ALLOC on alpha. 2002-11-01 03:34:51 +00:00