|
From: Ian P. <piu...@us...> - 2004-04-03 10:35:28
|
Update of /cvsroot/squeak/squeak/platforms/unix/vm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2585 Modified Files: sqGnu.h Log Message: Use __asm__() instead of asm(). Index: sqGnu.h =================================================================== RCS file: /cvsroot/squeak/squeak/platforms/unix/vm/sqGnu.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** sqGnu.h 16 Sep 2003 07:55:58 -0000 1.8 --- sqGnu.h 3 Apr 2004 10:23:11 -0000 1.9 *************** *** 37,41 **** /* Author: Ian...@in... * ! * Last edited: 2003-09-10 06:01:29 by piumarta on emilia.inria.fr * * NOTES: --- 37,41 ---- /* Author: Ian...@in... * ! * Last edited: 2004-04-02 14:51:09 by piumarta on emilia.local * * NOTES: *************** *** 172,194 **** */ #if defined(__mips__) ! # define IP_REG asm("$16") ! # define SP_REG asm("$17") ! # define CB_REG asm("$18") #endif #if defined(__sparc__) ! # define IP_REG asm("%l0") ! # define SP_REG asm("%l1") ! # define CB_REG asm("%l2") #endif #if defined(__alpha__) ! # define IP_REG asm("$9") ! # define SP_REG asm("$10") ! # define CB_REG asm("$11") #endif #if defined(__i386__) ! # 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 */ --- 172,194 ---- */ #if defined(__mips__) ! # define IP_REG __asm__("$16") ! # define SP_REG __asm__("$17") ! # define CB_REG __asm__("$18") #endif #if defined(__sparc__) ! # define IP_REG __asm__("%l0") ! # define SP_REG __asm__("%l1") ! # define CB_REG __asm__("%l2") #endif #if defined(__alpha__) ! # define IP_REG __asm__("$9") ! # define SP_REG __asm__("$10") ! # define CB_REG __asm__("$11") #endif #if defined(__i386__) ! # 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 */ *************** *** 196,214 **** #endif #if defined(__powerpc__) || defined(PPC) || defined(_POWER) || defined(_IBMR2) || defined(__ppc__) ! # define GP_REG asm("24") ! # define JP_REG asm("25") ! # define IP_REG asm("26") ! # define SP_REG asm("27") ! # define CB_REG asm("28") #endif #if defined(__hppa__) ! # define IP_REG asm("%r18") ! # define SP_REG asm("%r17") ! # define CB_REG asm("%r16") #endif #if defined(__mc68000__) ! # define IP_REG asm("a5") ! # define SP_REG asm("a4") ! # define CB_REG asm("d7") #endif --- 196,214 ---- #endif #if defined(__powerpc__) || defined(PPC) || defined(_POWER) || defined(_IBMR2) || defined(__ppc__) ! # define GP_REG __asm__("24") ! # define JP_REG __asm__("25") ! # define IP_REG __asm__("26") ! # define SP_REG __asm__("27") ! # define CB_REG __asm__("28") #endif #if defined(__hppa__) ! # define IP_REG __asm__("%r18") ! # define SP_REG __asm__("%r17") ! # define CB_REG __asm__("%r16") #endif #if defined(__mc68000__) ! # define IP_REG __asm__("a5") ! # define SP_REG __asm__("a4") ! # define CB_REG __asm__("d7") #endif |