|
From: Brenda L. <asp...@us...> - 2003-05-12 07:00:43
|
Update of /cvsroot/squeak/squeak/platforms/unix/vm
In directory sc8-pr-cvs1:/tmp/cvs-serv19565/unix/vm
Modified Files:
Tag: ian-branch
sqGnu.h
Log Message:
Ian Piumarta's release 3.4.1
Index: sqGnu.h
===================================================================
RCS file: /cvsroot/squeak/squeak/platforms/unix/vm/sqGnu.h,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -C2 -d -r1.1 -r1.1.2.1
*** sqGnu.h 24 Oct 2001 23:14:16 -0000 1.1
--- sqGnu.h 12 May 2003 07:00:36 -0000 1.1.2.1
***************
*** 1,6 ****
/* Definitions for "gnuified" interp.c
*
! * Copyright (C) 1996 1997 1998 1999 2000 2001 Ian Piumarta and individual
! * authors/contributors listed elsewhere in this file.
* All rights reserved.
*
--- 1,6 ----
/* Definitions for "gnuified" interp.c
*
! * Copyright (C) 1996-2002 Ian Piumarta and other authors/contributors
! * as listed elsewhere in this file.
* All rights reserved.
*
***************
*** 21,38 ****
* would be appreciated but is not required.
*
! * 2. This notice may not be removed or altered in any source distribution.
*
! * Using or modifying this file for use in any context other than Squeak
! * changes these copyright conditions. Read the file `COPYING' in the base
! * of the distribution before proceeding with any such use.
*
! * You are STRONGLY DISCOURAGED from distributing a modified version of
! * this file under its original name without permission. If you must
! * change it, rename it first.
*/
/* Author: Ian...@in...
*
! * Last edited: Fri Aug 11 08:20:28 2000 by piumarta (Ian Piumarta) on emilia
*
* NOTES:
--- 21,38 ----
* would be appreciated but is not required.
*
! * 2. This notice must not be removed or altered in any source distribution.
*
! * Using (or modifying this file for use) in any context other than Squeak
! * changes these copyright conditions. Read the file `COPYING' in the
! * directory `platforms/unix/doc' before proceeding with any such use.
*
! * You are not allowed to distribute a modified version of this file
! * under its original name without explicit permission to do so. If
! * you change it, rename it.
*/
/* Author: Ian...@in...
*
! * Last edited: 2002-07-17 23:13:49 by piumarta on emilia.inria.fr
*
* NOTES:
***************
*** 43,47 ****
#define CASE(N) case N: _##N:
! #define BREAK goto *jumpTable[currentBytecode]
#define PRIM_DISPATCH goto *jumpTable[primitiveIndex]
#define JUMP_TABLE \
--- 43,47 ----
#define CASE(N) case N: _##N:
! #define BREAK goto *jumpTablePtr[currentBytecode]
#define PRIM_DISPATCH goto *jumpTable[primitiveIndex]
#define JUMP_TABLE \
***************
*** 173,179 ****
# define IP_REG asm("%esi")
# define SP_REG asm("%edi")
! # define CB_REG /* asm("%ebx") ; avoid undue register pressure */
#endif
! #if defined(PPC) || defined(_POWER) || defined(_IBMR2)
# define IP_REG asm("26")
# define SP_REG asm("27")
--- 173,184 ----
# define IP_REG asm("%esi")
# define SP_REG asm("%edi")
! # if (__GNUC__ > 2) || ((__GNUC__ == 2) && (__GNUC_MINOR__ >= 95))
! # define CB_REG asm("%ebx")
! # else
! # define CB_REG /* avoid undue register pressure */
! # endif
#endif
! #if defined(__powerpc__) || defined(PPC) || defined(_POWER) || defined(_IBMR2)
! # define JP_REG asm("25")
# define IP_REG asm("26")
# define SP_REG asm("27")
***************
*** 189,191 ****
--- 194,209 ----
# define SP_REG asm("a4")
# define CB_REG asm("d7")
+ #endif
+
+ #ifndef JP_REG
+ # define JP_REG
+ #endif
+ #ifndef IP_REG
+ # define IP_REG
+ #endif
+ #ifndef SP_REG
+ # define SP_REG
+ #endif
+ #ifndef CB_REG
+ # define CB_REG
#endif
|