Richard Brooksby
f748ad2b28
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
1d0b04ae97
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
59a1b402d4
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
e4199be89b
Corrected misaligned code.
...
Copied from Perforce
Change: 178498
ServerID: perforce.ravenbrook.com
2012-06-18 16:19:36 +01:00
David Lovemore
5982f80df1
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
dc29d0d755
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
fa83c22bb3
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
0c22e4fb5a
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
82c29cfd3e
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
69b15daa68
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
ac1d6879d3
Second cut at opportunism.
...
Copied from Perforce
Change: 37580
ServerID: perforce.ravenbrook.com
2003-01-03 14:22:35 +00:00
Nick Barnes
e4408148de
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
5e0150fd4b
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
ddf102437a
Track total time.
...
Copied from Perforce
Change: 30793
ServerID: perforce.ravenbrook.com
2002-07-04 17:04:19 +01:00
Nick Barnes
ea0f6deeb8
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
d44891bf40
Better timing test for amc.
...
Copied from Perforce
Change: 30791
ServerID: perforce.ravenbrook.com
2002-07-04 16:10:08 +01:00
Richard Brooksby
f22e14e334
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
5afb4899ef
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
819ed0ed76
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
b19eb3c55f
Mps_arena_step() on masters.
...
Copied from Perforce
Change: 29464
ServerID: perforce.ravenbrook.com
2002-05-24 13:17:21 +01:00