John Benediktsson
|
39c3f10138
|
bignum: incorporate some fixes from @slavapestov.
|
2012-08-10 14:28:44 -07:00 |
John Benediktsson
|
c4f85efc9d
|
vm: make sure we zero out the end of the bignums.
|
2012-08-04 18:02:27 -07:00 |
John Benediktsson
|
61a6b5692f
|
vm: a bit faster not to trim on each iteration...
|
2012-08-04 09:13:05 -07:00 |
John Benediktsson
|
f7bb7c6a32
|
vm: additional fix in bignum_gcd.
|
2012-08-03 21:50:48 -07:00 |
John Benediktsson
|
37001708cd
|
vm: some fixes to fast bignum gcd.
|
2012-08-03 12:13:46 -07:00 |
John Benediktsson
|
5c8a2a4057
|
vm: fix updating size inside bignum_gcd loop.
|
2012-08-02 17:36:07 -07:00 |
Doug Coleman
|
30e34ca616
|
bignum: Fix bignum_gcd algorithm from overwriting the wrong bignum memory. Add GC_BIGNUM to prevent gc crashes. Fixes #599.
|
2012-08-02 17:16:03 -07:00 |
John Benediktsson
|
426c449ee1
|
vm: adding more GC_BIGNUM to WIN64 path. See #599.
|
2012-08-02 17:04:22 -07:00 |
John Benediktsson
|
5794ab46a0
|
vm: use euclid gcd on win64 until we find a better way to do the 128-bit math.
|
2012-04-06 11:42:59 -07:00 |
John Benediktsson
|
eb556bfb06
|
vm: use twodigit type for all variables (fixes 32-bit warning).
|
2012-04-06 09:36:25 -07:00 |
John Benediktsson
|
22c26ff3f5
|
vm: adding bignum_gcd primitive.
|
2012-04-05 09:17:35 -07:00 |
Joe Groff
|
0e3c315099
|
vm: move bignum.cpp includes to master.hpp
That way they get PCHed
|
2011-11-08 08:42:47 -08:00 |
John Benediktsson
|
afc07c0e05
|
io.binary: make le> and be> faster (20% and 75%, respectively).
Removed primitive byte-array>bignum and digit_stream_to_bignum from vm/.
|
2011-10-11 21:13:30 -07:00 |
Slava Pestov
|
f27080498d
|
Remove bignum>float VM primitive, and use bignum/f to implement >float on bignums instead, for a slight accuracy gain. Also, bignum/f now has a more efficient post-scaling algorithm to break the circular dependency on bignum>float
|
2010-11-24 22:41:15 -08:00 |
Joe Groff
|
11deca47b4
|
quiet some data conversions warnings raised by msvc
|
2010-05-05 22:22:13 -07:00 |
Slava Pestov
|
63edd20a55
|
vm: eliminating register variables work in progress. Works on x86-32 with non-optimizing compiler
|
2009-12-19 10:59:56 +13:00 |
Slava Pestov
|
d85d84697a
|
Change data heap alignment to 16 bytes
|
2009-10-20 12:45:00 -05:00 |
Phil Dawes
|
9b7412b8f8
|
Moved PRIMITIVE and PRIMITIVE_FORWARDs to primitives.[ch]pp
|
2009-09-27 19:42:18 +01:00 |
Phil Dawes
|
83b0769eef
|
renamed factorvm to factor_vm
|
2009-09-24 08:16:52 +01:00 |
Phil Dawes
|
3b8292db8e
|
bignum indentation and macro cleanup
|
2009-09-24 08:02:14 +01:00 |
Phil Dawes
|
35b2657f53
|
bignum indentation cleanup
|
2009-09-24 08:02:14 +01:00 |
Phil Dawes
|
e566656e46
|
removed a bunch of superflous blank lines
|
2009-09-24 08:02:14 +01:00 |
Phil Dawes
|
e8d1612e8e
|
Split data out into separate vm-data struct
|
2009-09-16 08:22:16 +01:00 |
Phil Dawes
|
32eace1a11
|
removed global functions from bignum.cpp
|
2009-09-16 08:16:27 +01:00 |
Phil Dawes
|
d093ff766f
|
updated function ptr calls (iterators etc..) to take a vm parameter
|
2009-09-16 08:16:25 +01:00 |
Phil Dawes
|
efa974f025
|
moved global state from math into vm
|
2009-09-16 08:16:24 +01:00 |
Phil Dawes
|
e678f6a681
|
added vm member to gc_bignum
|
2009-09-16 08:16:22 +01:00 |
Phil Dawes
|
1a87f3bb5f
|
moved bignum functions to vm
|
2009-09-16 08:16:18 +01:00 |
Phil Dawes
|
a6fc19f4b0
|
Dev checkpoint
|
2009-09-16 08:16:18 +01:00 |
Phil Dawes
|
149af514e6
|
Dev checkpoint
|
2009-09-16 08:16:18 +01:00 |
Phil Dawes
|
8426e2f877
|
Dev checkpoint
|
2009-09-16 08:16:18 +01:00 |
Philipp Brüschweiler
|
230061783a
|
misc small documentation fixes, some fixes for factor.vim, changed permissions of vm/* to 644
|
2009-08-10 21:33:07 +02:00 |
Slava Pestov
|
8872c40b1e
|
The great type renaming
|
2009-05-04 04:50:24 -05:00 |
Slava Pestov
|
edecac508e
|
Use C++ namespaces
|
2009-05-04 01:46:13 -05:00 |
Slava Pestov
|
8e17e0a01e
|
VM: use better abstractions for tagged pointers, eliminate get()/set() stuff, clean up array, string, and byte-array element access
|
2009-05-04 01:00:30 -05:00 |
Slava Pestov
|
ec28b1ef85
|
Various VM cleanups, new approach for bignum GC root registration
|
2009-05-03 05:48:03 -05:00 |
Slava Pestov
|
b923d548cf
|
Move vmpp to vm
|
2009-05-02 20:37:18 -05:00 |