Richard Brooksby
78d5f049f0
Eliminating type puns on scan states, location dependencies, and allocation points through the mps interface.
...
Now that we're recommending inlining with client code and optimising with -O2 or -O3, we can't afford any bug introduced by the strict aliasing rule.
Copied from Perforce
Change: 179322
ServerID: perforce.ravenbrook.com
2012-09-07 12:58:57 +01:00
Richard Brooksby
13ba70d2dd
Fixing warnings revealed by xcode (clang).
...
Copied from Perforce
Change: 178898
ServerID: perforce.ravenbrook.com
2012-08-11 09:30:24 +01:00
Richard Brooksby
0b1d9d1fbb
Minor fixups to printing and scanning formats to build cleanly on freebsd.
...
Copied from Perforce
Change: 178774
ServerID: perforce.ravenbrook.com
2012-07-30 14:25:27 +01:00
David Lovemore
44be209126
Corrected misaligned code.
...
Copied from Perforce
Change: 178498
ServerID: perforce.ravenbrook.com
2012-06-18 16:19:36 +01:00
David Lovemore
d7dc0aa268
Use rnd_addr() where appropriate instead of rnd()
...
Copied from Perforce
Change: 178231
ServerID: perforce.ravenbrook.com
2012-05-21 16:07:13 +01:00
David Lovemore
d17c5b8296
Using mps_word_const instead of ull for proper fixes to constants
...
Copied from Perforce
Change: 178196
ServerID: perforce.ravenbrook.com
2012-05-17 15:18:50 +01:00
David Lovemore
ba4e8d364b
Temporary fixes for 64-bit windows build
...
Copied from Perforce
Change: 178190
ServerID: perforce.ravenbrook.com
2012-05-17 13:19:45 +01:00
David Lovemore
9bf482ea08
Fixed up long constants and shifts that needed to be cast to correct type.
...
Copied from Perforce
Change: 178095
ServerID: perforce.ravenbrook.com
2012-05-03 16:38:47 +01:00
Richard Brooksby
61890da12b
Fixing up occurences of "unsigned long" in the main mps and test code so that we no longer assume that "unsigned long" is large enough for a pointer or size, or that it's the longest available integer type, since these are not true on 64-bit windows.
...
Copied from Perforce
Change: 178021
ServerID: perforce.ravenbrook.com
2012-04-23 16:20:40 +01:00
Richard Brooksby
9f897ba822
Fixing printf(var) to printf("%s", var) to suppress warnings (and improve code).
...
Copied from Perforce
Change: 177792
ServerID: perforce.ravenbrook.com
2012-03-26 14:21:40 +01:00
Nick Barnes
ca4af46f1d
Second cut at opportunism.
...
Copied from Perforce
Change: 37580
ServerID: perforce.ravenbrook.com
2003-01-03 14:22:35 +00:00
Nick Barnes
c006b14a17
Here is one cut at opportunistically collecting the world. it's not very good.
...
Copied from Perforce
Change: 37577
ServerID: perforce.ravenbrook.com
2003-01-03 13:08:08 +00:00
Nick Barnes
be3dfe6079
Time_since will almost always be zero.
...
Copied from Perforce
Change: 30795
ServerID: perforce.ravenbrook.com
2002-07-04 17:23:35 +01:00
Nick Barnes
37ba75f488
Track total time.
...
Copied from Perforce
Change: 30793
ServerID: perforce.ravenbrook.com
2002-07-04 17:04:19 +01:00
Nick Barnes
175b300c78
Improve clock calibration so it does a better job on low-granularity clocks.
...
Copied from Perforce
Change: 30792
ServerID: perforce.ravenbrook.com
2002-07-04 16:41:03 +01:00
Nick Barnes
44cb42a248
Better timing test for amc.
...
Copied from Perforce
Change: 30791
ServerID: perforce.ravenbrook.com
2002-07-04 16:10:08 +01:00
Richard Brooksby
78ef580722
Eliminating "impl" type tags and replacing them with uri-style file references.
...
Copied from Perforce
Change: 29900
ServerID: perforce.ravenbrook.com
2002-06-07 17:34:59 +01:00
Richard Brooksby
a0f676c8e1
Adding forward reference to licenses from copyright notices.
...
Adding licenses to a couple of files I missed.
Copied from Perforce
Change: 29837
ServerID: perforce.ravenbrook.com
2002-06-06 11:56:19 +01:00
Richard Brooksby
4301a6db0a
Adding licenses to source code files.
...
Copied from Perforce
Change: 29836
ServerID: perforce.ravenbrook.com
2002-06-06 11:44:23 +01:00
Nick Barnes
2efb9f1f4c
Mps_arena_step() on masters.
...
Copied from Perforce
Change: 29464
ServerID: perforce.ravenbrook.com
2002-05-24 13:17:21 +01:00