|
From: <sv...@va...> - 2011-03-15 12:41:38
|
Author: sewardj Date: 2011-03-15 12:41:30 +0000 (Tue, 15 Mar 2011) New Revision: 2111 Log: Add missing VG_REGPARM definition for ppc32-linux following r2108. Also add spacing to make this a bit more readable. Modified: trunk/pub/libvex_basictypes.h Modified: trunk/pub/libvex_basictypes.h =================================================================== --- trunk/pub/libvex_basictypes.h 2011-03-15 12:36:44 UTC (rev 2110) +++ trunk/pub/libvex_basictypes.h 2011-03-15 12:41:30 UTC (rev 2111) @@ -142,14 +142,19 @@ #if defined(__x86_64__) # define VEX_HOST_WORDSIZE 8 # define VEX_REGPARM(_n) /* */ + #elif defined(__i386__) # define VEX_HOST_WORDSIZE 4 # define VEX_REGPARM(_n) __attribute__((regparm(_n))) + #elif defined(__powerpc__) && defined(__powerpc64__) # define VEX_HOST_WORDSIZE 8 # define VEX_REGPARM(_n) /* */ + #elif defined(__powerpc__) && !defined(__powerpc64__) # define VEX_HOST_WORDSIZE 4 +# define VEX_REGPARM(_n) /* */ + #elif defined(__arm__) # define VEX_HOST_WORDSIZE 4 # define VEX_REGPARM(_n) /* */ @@ -157,6 +162,7 @@ #elif defined(_AIX) && !defined(__64BIT__) # define VEX_HOST_WORDSIZE 4 # define VEX_REGPARM(_n) /* */ + #elif defined(_AIX) && defined(__64BIT__) # define VEX_HOST_WORDSIZE 8 # define VEX_REGPARM(_n) /* */ |