diff options
| author | David Lovemore | 2012-06-18 16:19:02 +0100 |
|---|---|---|
| committer | David Lovemore | 2012-06-18 16:19:02 +0100 |
| commit | 06cd8d0b847cc613445cd250299444ff3e2b2866 (patch) | |
| tree | 6af8bcd511351f8a80d4bb17b6bcff6eca14ec43 /mps/code | |
| parent | ce5b722e9f9097ae6658ca4afa280ddc41f3c90b (diff) | |
| download | emacs-06cd8d0b847cc613445cd250299444ff3e2b2866.tar.gz emacs-06cd8d0b847cc613445cd250299444ff3e2b2866.zip | |
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
Diffstat (limited to 'mps/code')
| -rw-r--r-- | mps/code/mpstd.h | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/mps/code/mpstd.h b/mps/code/mpstd.h index 0d902ae9f83..b71da925752 100644 --- a/mps/code/mpstd.h +++ b/mps/code/mpstd.h | |||
| @@ -155,10 +155,13 @@ | |||
| 155 | #define MPS_PF_ALIGN 8 | 155 | #define MPS_PF_ALIGN 8 |
| 156 | 156 | ||
| 157 | 157 | ||
| 158 | /* Duplicated from W3I3MV, then... @@@@ | 158 | /* "Predefined Macros" from "Visual Studio 2010" on MSDN |
| 159 | * "Predefined Macros" from "Visual Studio 2010" on MSDN | ||
| 160 | * <http://msdn.microsoft.com/en-us/library/b0084kay(v=vs.100).aspx>. | 159 | * <http://msdn.microsoft.com/en-us/library/b0084kay(v=vs.100).aspx>. |
| 161 | * Note that Win32 includes 64-bit Windows! | 160 | * Note that Win32 includes 64-bit Windows! |
| 161 | * We use the same alignment as MS malloc: 16, which is used for XMM | ||
| 162 | * operations. | ||
| 163 | * See MSDN -> x64 Software Conventions -> Overview of x64 Calling Conventions | ||
| 164 | * <http://msdn.microsoft.com/en-us/library/ms235286> | ||
| 162 | */ | 165 | */ |
| 163 | 166 | ||
| 164 | #elif defined(_MSC_VER) && defined(_WIN32) && defined(_WIN64) && defined(_M_X64) | 167 | #elif defined(_MSC_VER) && defined(_WIN32) && defined(_WIN64) && defined(_M_X64) |
| @@ -175,7 +178,7 @@ | |||
| 175 | #define MPS_T_ULONGEST unsigned __int64 | 178 | #define MPS_T_ULONGEST unsigned __int64 |
| 176 | #define MPS_WORD_WIDTH 64 | 179 | #define MPS_WORD_WIDTH 64 |
| 177 | #define MPS_WORD_SHIFT 6 | 180 | #define MPS_WORD_SHIFT 6 |
| 178 | #define MPS_PF_ALIGN 16 /* @@@@ ref? */ | 181 | #define MPS_PF_ALIGN 16 |
| 179 | 182 | ||
| 180 | 183 | ||
| 181 | /* MW C/C++/ASM Lang Ref (CW9), pp. 184-186. Metrowerks does not document | 184 | /* MW C/C++/ASM Lang Ref (CW9), pp. 184-186. Metrowerks does not document |
| @@ -300,23 +303,6 @@ | |||
| 300 | #define MPS_WORD_SHIFT 5 | 303 | #define MPS_WORD_SHIFT 5 |
| 301 | #define MPS_PF_ALIGN 4 /* I'm just guessing. */ | 304 | #define MPS_PF_ALIGN 4 /* I'm just guessing. */ |
| 302 | 305 | ||
| 303 | /* @@@@ fill in */ | ||
| 304 | |||
| 305 | #elif defined(__APPLE__) && defined(__x86_64__) && defined(__MACH__) \ | ||
| 306 | && defined(__GNUC__) | ||
| 307 | #if defined(CONFIG_PF_STRING) && ! defined(CONFIG_PF_XCI6GC) | ||
| 308 | #error "specified CONFIG_PF_... inconsistent with detected xci6gc" | ||
| 309 | #endif | ||
| 310 | #define MPS_PF_XCI6GC | ||
| 311 | #define MPS_PF_STRING "xci6gc" | ||
| 312 | #define MPS_OS_XC | ||
| 313 | #define MPS_ARCH_I6 | ||
| 314 | #define MPS_BUILD_GC | ||
| 315 | #define MPS_T_WORD unsigned long | ||
| 316 | #define MPS_WORD_WIDTH 64 | ||
| 317 | #define MPS_WORD_SHIFT 6 | ||
| 318 | #define MPS_PF_ALIGN 8 /* I'm just guessing. */ | ||
| 319 | |||
| 320 | /* GCC 2.5.8, gcc -E -dM, (__SVR4 indicates Solaris) */ | 306 | /* GCC 2.5.8, gcc -E -dM, (__SVR4 indicates Solaris) */ |
| 321 | 307 | ||
| 322 | #elif defined(__sun__) && defined(__sparc__) && defined(__GNUC__) \ | 308 | #elif defined(__sun__) && defined(__sparc__) && defined(__GNUC__) \ |