Use (large) parts of dfindlay's "reference implementation" to fix
problems noted in ticket:869 in the trunk.

todo: check other issues (e.g., sin/cos/tab of ratios, etc.)


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15627 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Work around Linux libm lossage: recent versions of #_exp/
#_expf don't set overflow bit in fp status reg.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15628 8bdb8f1d-59ce-db11-9e41-0016172a54ae
ASDF 2.27 from upstream.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15631 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Make that ASDF 2.28.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15633 8bdb8f1d-59ce-db11-9e41-0016172a54ae
r15640 back to trunk.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15646 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Work around Linux #_exp lossage another way.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15647 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Keep trying: (exp infinity) => infinity.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15648 8bdb8f1d-59ce-db11-9e41-0016172a54ae
TRUNCATE -  (truncate most-negative-fixnum bignum): don't return stack-consed
 pseudobignum
REM - special-case (rem most-negative-fixnum (- most-negative-fixnum))


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15649 8bdb8f1d-59ce-db11-9e41-0016172a54ae
tcr.next hasn't existed on win32 for ~3 years (so compiling
this file has generated a warning ...)
Add a comment.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15666 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Arrgh.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15668 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Typo/braino in UNSETENV.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15682 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Implement the rest of Dave Findlay's "reference" math library.
Fixes ticket:869 in the trunk.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15683 8bdb8f1d-59ce-db11-9e41-0016172a54ae
try to deal with avx extensions in FreeBSD 9.1

git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15700 8bdb8f1d-59ce-db11-9e41-0016172a54ae
try to deal with avx extensions in FreeBSD 9.1 without breaking other platforms

git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15701 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Deja vu: sigreturn can return on FreeBSD too.

On all platforms where USE_ALTSTACK is defined, allocate the altstack
as a separate memory region.  I have not seen the reported FreeBSD/AVX
problems since making this change, but of course that isn't conclusive.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15702 8bdb8f1d-59ce-db11-9e41-0016172a54ae
If _SPmisc_alloc is called with an "element-count" argument >= 
ARRAY-TOTAL-SIZE-LIMIT, call out to lisp rather than executing a type
error UUO.  On the lisp side, signal a VECTOR-SIZE-LIMITATION, which
is a kind of STORAGE-CONDITION.

CALL-WITH-STRING-VECTOR takes an ENCODING argument and uses that
character encoding to encode the strings in the vector.  (It assumes
an 8-bit encoding; the strings are terminated with single #\NUL bytes.)
On Unix, RUN-PROGRAM calls CALL-WITH-STRING-VECTOR with the encoding from
its EXTERNAL-FORMAT argument.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15703 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Remember PPC assembler syntax

git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15704 8bdb8f1d-59ce-db11-9e41-0016172a54ae
More math fixes from dfindlay. Fixes ticket:1059 in the trunk.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15705 8bdb8f1d-59ce-db11-9e41-0016172a54ae
REBUILD-CCL: if building the kernel, do so after rebuilding the bootstrapping
image.  (This can make it simpler to generate images whose svn revision
doesn't contain an "M" suffix in some cases.)


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15707 8bdb8f1d-59ce-db11-9e41-0016172a54ae
Get name of conditional right (USE_SIGALTSTACK, not USE_ALTSTACK),
as noted by James Lawrence.


git-svn-id: http://svn.clozure.com/publicsvn/openmcl/trunk/source@15723 8bdb8f1d-59ce-db11-9e41-0016172a54ae