David Lovemore
d7dcaa4745
Update mv2test for 64-bit even though it is failing. varargs and alignment fixes.
...
Copied from Perforce
Change: 178561
ServerID: perforce.ravenbrook.com
2012-07-05 15:26:47 +01:00
Richard Brooksby
c395667fd7
Merging branch/2012-05-21/build-xci6ll -- build support for 64-bit mac os x.
...
Copied from Perforce
Change: 178560
ServerID: perforce.ravenbrook.com
2012-07-05 14:38:21 +01:00
David Lovemore
a441c2b5f3
Reversing unnecessary change before merge to master.
...
Copied from Perforce
Change: 178499
ServerID: perforce.ravenbrook.com
2012-06-18 16:33:42 +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
06cd8d0b84
Added comments for w3i6mv, and removed speculative xci6gc code, which is done properly on a different branch.
...
Copied from Perforce
Change: 178497
ServerID: perforce.ravenbrook.com
2012-06-18 16:19:02 +01:00
David Lovemore
ce5b722e9f
Added copyright license and comments to assembler code for stack scanner.
...
Copied from Perforce
Change: 178496
ServerID: perforce.ravenbrook.com
2012-06-18 15:43:57 +01:00
David Lovemore
3042f03a7f
Cleanup test. i've worked around the bogosity of the test for mps_arena_has_addr rather than replace it with something more fancy.
...
Copied from Perforce
Change: 178495
ServerID: perforce.ravenbrook.com
2012-06-18 14:50:40 +01:00
David Lovemore
64ba236cce
Cleanup tests. these were mostly alignment issues. i have made them vary the alignments used according to the platform, using sizeof(void *) and mps_pf_align.
...
Copied from Perforce
Change: 178494
ServerID: perforce.ravenbrook.com
2012-06-18 14:47:53 +01:00
David Lovemore
33b992acb1
Build sacss and round up alignments in tests
...
Copied from Perforce
Change: 178322
ServerID: perforce.ravenbrook.com
2012-05-24 17:58:26 +01:00
Richard Brooksby
1569e66770
All tests listed under the "all" target in gc.gmk are now building, and all but sacss do not find defects.
...
Copied from Perforce
Change: 178321
ServerID: perforce.ravenbrook.com
2012-05-24 17:39:13 +01:00
David Lovemore
5dd9ac74f8
Port instruction stepper to x64 with stub instruction decode
...
Copied from Perforce
Change: 178320
ServerID: perforce.ravenbrook.com
2012-05-24 17:13:04 +01:00
David Lovemore
22d70e612c
Branch i6 files from i3 files.
...
Copied from Perforce
Change: 178317
ServerID: perforce.ravenbrook.com
2012-05-24 16:18:19 +01:00
Richard Brooksby
b9a050a08e
Wrote stack scanner for xci6ll and other unix-like x86_64 platforms. more tests complete.
...
Copied from Perforce
Change: 178294
ServerID: perforce.ravenbrook.com
2012-05-23 15:56:52 +01:00
Richard Brooksby
f2f702fc18
Added single compilation unit version of mps library to allow global optimization and universal binary building. minor fixes to other sources to avoid clashing symbols.
...
Separated XCI3GC (gcc) from XCI3LL (clang) platforms, so that we can build both 32- and 64-bit binaries with clang.
Enabled universal (multi architecture) builds.
Copied from Perforce
Change: 178287
ServerID: perforce.ravenbrook.com
2012-05-22 21:27:55 +01:00
Richard Brooksby
5dc28bfc61
Several tests running on xci6ll target.
...
Copied from Perforce
Change: 178286
ServerID: perforce.ravenbrook.com
2012-05-22 20:02:28 +01:00
David Lovemore
c1d31f8fdb
Renamed priwlongest to priwword.
...
Copied from Perforce
Change: 178285
ServerID: perforce.ravenbrook.com
2012-05-22 17:47:04 +01:00
David Lovemore
d118d9ecd2
Remove obsolete comment
...
Copied from Perforce
Change: 178284
ServerID: perforce.ravenbrook.com
2012-05-22 16:39:21 +01:00
David Lovemore
ec1685be34
Add native thread scanning routines for windows x64
...
Copied from Perforce
Change: 178283
ServerID: perforce.ravenbrook.com
2012-05-22 16:38:55 +01:00
Richard Brooksby
eb81034355
Disabling address probing test for 64-bit platforms until we design a better one.
...
Copied from Perforce
Change: 178282
ServerID: perforce.ravenbrook.com
2012-05-22 16:30:35 +01:00
David Lovemore
4c8144b692
Split windows thread implementation into two files so that the non-architecture specific part can be shared.
...
Copied from Perforce
Change: 178281
ServerID: perforce.ravenbrook.com
2012-05-22 16:08:49 +01:00
David Lovemore
b9dbf430ef
Remove obsolete flag /coff from assembler options
...
Copied from Perforce
Change: 178262
ServerID: perforce.ravenbrook.com
2012-05-22 14:45:06 +01:00
David Lovemore
d923f4253e
Use .code to put code in executable segment.
...
Copied from Perforce
Change: 178247
ServerID: perforce.ravenbrook.com
2012-05-21 19:03:10 +01:00
Richard Brooksby
177133e65a
Basic build of mps library and mpmss test using xcode on xci6ll platform.
...
Copied from Perforce
Change: 178246
ServerID: perforce.ravenbrook.com
2012-05-21 18:58:57 +01:00
David Lovemore
c809368983
Added ssw3i6.asm for stack scanning
...
Copied from Perforce
Change: 178245
ServerID: perforce.ravenbrook.com
2012-05-21 18:34:33 +01:00
Richard Brooksby
fca3019e66
Adding empty xcode project for mps.
...
Copied from Perforce
Change: 178244
ServerID: perforce.ravenbrook.com
2012-05-21 18:09:46 +01:00
David Lovemore
9689419e3d
Temporary fix for 64 bit windows: make allocations 8 byte aligned.
...
Copied from Perforce
Change: 178238
ServerID: perforce.ravenbrook.com
2012-05-21 17:40:07 +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
Richard Brooksby
5c8a2159c8
Removing outdated assertion.
...
Copied from Perforce
Change: 178230
ServerID: perforce.ravenbrook.com
2012-05-21 15:45:26 +01:00
David Lovemore
6f4cfda5c5
Round up sizes to a 16 byte alignment and extend fenceposts to 16 bytes in apss test
...
Copied from Perforce
Change: 178211
ServerID: perforce.ravenbrook.com
2012-05-17 17:08:52 +01:00
David Lovemore
303e2886b7
Remove bogus /debug option from lib command
...
Copied from Perforce
Change: 178202
ServerID: perforce.ravenbrook.com
2012-05-17 16:02:35 +01:00
David Lovemore
5646f7fdb7
Use noop in insist macro.
...
Copied from Perforce
Change: 178201
ServerID: perforce.ravenbrook.com
2012-05-17 15:48:30 +01:00
Richard Brooksby
0f146ceb35
Adding missing cast to deliberately throw away bits in hash function, fixing a warning on w3i6mv.
...
Copied from Perforce
Change: 178200
ServerID: perforce.ravenbrook.com
2012-05-17 15:33:56 +01:00
Richard Brooksby
63f5c2a9cf
Fixing incorrect assumption that ulong was as big as size_t.
...
Copied from Perforce
Change: 178199
ServerID: perforce.ravenbrook.com
2012-05-17 15:33:10 +01:00
David Lovemore
fb584986ea
Removed some left over comments.
...
Copied from Perforce
Change: 178197
ServerID: perforce.ravenbrook.com
2012-05-17 15:26:16 +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
Richard Brooksby
1db05f0df4
Added reference to design document.
...
Copied from Perforce
Change: 178195
ServerID: perforce.ravenbrook.com
2012-05-17 15:05:31 +01:00
Richard Brooksby
45d09e153b
Increased alignments to work on 64-bit targets.
...
Copied from Perforce
Change: 178194
ServerID: perforce.ravenbrook.com
2012-05-17 15:05:23 +01:00
David Lovemore
8fc8bd6370
Added mps_word_const and other fixes to get zcoll test to work
...
Copied from Perforce
Change: 178193
ServerID: perforce.ravenbrook.com
2012-05-17 14:55:18 +01:00
David Lovemore
2bdd2ae5ca
Added /debug and /pdb flags to make windows pdb debug files correctly.
...
Copied from Perforce
Change: 178191
ServerID: perforce.ravenbrook.com
2012-05-17 13:36:17 +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
192871b3df
Another temporary fix for 64 bit windows
...
Copied from Perforce
Change: 178101
ServerID: perforce.ravenbrook.com
2012-05-03 18:09:40 +01:00
David Lovemore
7849dede1f
Insert cast to int to get it to compile on 64 bit.
...
Copied from Perforce
Change: 178100
ServerID: perforce.ravenbrook.com
2012-05-03 18:06:58 +01:00
David Lovemore
fa5ad6689b
Merged from master/... to pick up longest changes to varargs and casts on shifts
...
Copied from Perforce
Change: 178097
ServerID: perforce.ravenbrook.com
2012-05-03 17:02:33 +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
David Lovemore
4ee202d5cf
Adding casts to varargs in diagnostic output
...
Copied from Perforce
Change: 178092
ServerID: perforce.ravenbrook.com
2012-05-03 15:17:04 +01:00
Richard Brooksby
4e83063672
Building on i6 with protw3 for real win32 protection, and stub prmcan with unimplemented instruction stepping for now.
...
Copied from Perforce
Change: 178091
ServerID: perforce.ravenbrook.com
2012-05-03 12:10:01 +01:00
Richard Brooksby
4b1833906a
Updating dword to ulong_ptr for windows 64 interface.
...
Copied from Perforce
Change: 178090
ServerID: perforce.ravenbrook.com
2012-05-03 12:09:16 +01:00
Richard Brooksby
34943e1c96
Fixing "1ul" constant to "(align)1" for portability.
...
Copied from Perforce
Change: 178089
ServerID: perforce.ravenbrook.com
2012-05-03 12:05:53 +01:00
Richard Brooksby
28b06ee71a
Temporary fix to constant to suppress warning.
...
Copied from Perforce
Change: 178088
ServerID: perforce.ravenbrook.com
2012-05-03 12:05:02 +01:00
Richard Brooksby
390f27c789
Removing assertions for assumptions we no longer make since microsoft introduced size_t in its interfaces instead of dword. about time.
...
Copied from Perforce
Change: 178081
ServerID: perforce.ravenbrook.com
2012-05-01 17:25:25 +01:00