diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1998-06-23 16:47:02 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1998-06-23 16:47:02 +0000 |
commit | af85f7c394f650348ee4ca5b34eb8e99619bc11c (patch) | |
tree | ea3bdeebf91c21c7f2de8fa1ab13b0037289a888 /byterun/interp.c | |
parent | e16a54aa2ffffadbeaa14cca3e17d456cf9b184a (diff) |
Portage Cray T3E
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1996 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/interp.c')
-rw-r--r-- | byterun/interp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/byterun/interp.c b/byterun/interp.c index 1769e6fb4..2d4ecfe8b 100644 --- a/byterun/interp.c +++ b/byterun/interp.c @@ -109,11 +109,18 @@ sp is a local copy of the global variable extern_sp. */ #define ACCU_REG asm("%l2") #endif #ifdef __alpha__ +#ifdef __CRAY__ +#define PC_REG asm("r9") +#define SP_REG asm("r10") +#define ACCU_REG asm("r11") +#define JUMPTBL_BASE_REG asm("r12") +#else #define PC_REG asm("$9") #define SP_REG asm("$10") #define ACCU_REG asm("$11") #define JUMPTBL_BASE_REG asm("$12") #endif +#endif #ifdef __i386__ #define PC_REG asm("%esi") #define SP_REG asm("%edi") |