Slava Pestov
|
5dfe721e0c
|
math.floats.env: disable trap tests on OpenBSD i386 for now, until The World's Most Secure Operating System fixes a local DoS exploit
|
2009-10-03 10:59:54 -05:00 |
Keith Lazuka
|
8f79ea91ba
|
docs: change $subsection to $subsections
|
2009-10-02 12:15:48 -04:00 |
Slava Pestov
|
f1ce5ca191
|
math.functions: ~ now raises an invalid operation FP trap if one of the inputs is NaN
|
2009-09-29 23:41:08 -05:00 |
Joe Groff
|
e8cefe07b3
|
take a shot at making other platform vocabs c-type-string-free
|
2009-09-27 19:25:34 -05:00 |
Joe Groff
|
ac2f3763e0
|
update vocabs so a load-all on macosx works without parsing c-type strings
|
2009-09-27 15:11:21 -05:00 |
Slava Pestov
|
ea2bcd69c7
|
math.vectors.simd: redesign to be more flexible, integer SIMD work in progress
|
2009-09-20 02:08:32 -05:00 |
Joe Groff
|
eadf1bc9d5
|
missed a few PPC status bits that needed clearing
|
2009-09-14 15:17:36 -05:00 |
Joe Groff
|
016caed095
|
vm-error>exception-flags word to extract exception flag information from a trap exception
|
2009-09-14 14:10:51 -05:00 |
Slava Pestov
|
6c3ef91642
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-09-14 02:39:24 -05:00 |
Slava Pestov
|
cab8638ab5
|
math.floats.env: Fix linux x86.64 some more
|
2009-09-14 02:39:12 -05:00 |
Joe Groff
|
4c16765f29
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-09-13 23:40:58 -05:00 |
Joe Groff
|
0284a4b6f8
|
save the FP status out of the signal context and use it as part of the fp trap factor exception. clear the FP status before continuing after an exception
|
2009-09-13 23:39:12 -05:00 |
Slava Pestov
|
8385bac126
|
math.floats.env: modify tests to take buggy Linux/x86-64 pow() into account
|
2009-09-13 23:26:09 -05:00 |
Slava Pestov
|
db9b2897dd
|
math.floats.env: fix compiled trap unit tests
|
2009-09-13 18:22:49 -05:00 |
Slava Pestov
|
b6e3336e02
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-09-13 00:09:09 -05:00 |
Slava Pestov
|
bdcc6ec66e
|
typos in altivec env
|
2009-09-12 22:30:11 -05:00 |
Slava Pestov
|
427bfb4ab8
|
math: add unordered comparison operators u< u<= u> u>= which behave exactly like < <= > >= except no floating point exceptions are set if one or both inputs are NaNs; also add efficient intrinsic for unordered? predicate, and fix propagation type functions for abs, absq, and bitnot
|
2009-09-12 22:20:13 -05:00 |
Joe Groff
|
1a19221159
|
set altivec denormal flag when with-denormal-mode is used
|
2009-09-12 20:39:41 -05:00 |
Joe Groff
|
da55501094
|
Merge branch 'master' of git://factorcode.org/git/factor
|
2009-09-12 19:45:47 -05:00 |
Joe Groff
|
95d5697792
|
all-fp-exceptions constant
|
2009-09-12 18:13:25 -05:00 |
Slava Pestov
|
a094d27edf
|
math.floats.env.ppc: fix ppc-fp-traps>bit
|
2009-09-12 12:57:15 -05:00 |
Slava Pestov
|
6191072712
|
math.floats.env.ppc: fix ppc-fp-traps-bits
|
2009-09-12 12:49:51 -05:00 |
Joe Groff
|
a0f39d2235
|
typos in math.floats.env.ppc
|
2009-09-12 09:03:27 -05:00 |
Joe Groff
|
4d5e547ba9
|
take the union of the x87 and sse exception flags when reporting fp-exception-flags. add back the unit tests i took out since this should fix the problem
|
2009-09-09 23:37:48 -05:00 |
Joe Groff
|
2a576f370b
|
change math.floats.env tests not to use any libm functions, which don't reliably set the right hardware exceptions on linux glibc
|
2009-09-09 18:00:38 -05:00 |
Joe Groff
|
3c9b2c327a
|
make math.floats.env backends unportable
|
2009-09-09 17:32:26 -05:00 |
Joe Groff
|
8fff76fce2
|
add some tests to help track down leaks in FP state changes
|
2009-09-08 23:07:33 -05:00 |
Joe Groff
|
aaa394fedd
|
update math.floats.env.x86 for sse detection change
|
2009-09-08 15:47:03 -05:00 |
Joe Groff
|
4f43af5b7d
|
factor out x86 and ppc backends for math.floats.env; update both x87 and SSE state on x86
|
2009-09-08 15:36:53 -05:00 |
Joe Groff
|
95e8b7bd19
|
tighten up math.floats.env docs
|
2009-09-07 10:50:40 -05:00 |
Joe Groff
|
11a8d2d71a
|
test fp traps
|
2009-09-06 09:04:46 -05:00 |
Joe Groff
|
fbd9e02917
|
make public words for querying current rounding mode, denormal mode, and trap set
|
2009-09-06 08:50:54 -05:00 |
Joe Groff
|
1d36bba11b
|
unit tests for math.floats.env
|
2009-09-06 07:50:56 -05:00 |
Joe Groff
|
327c9eb7b8
|
math.floats.env vocab with words to control the floating-point environment
add some functions to the VM to grab and set the fpu control register
|
2009-09-05 19:48:13 -05:00 |