merged volatile memory barriers
[cacao.git] / src / vm / jit / powerpc / arch.h
index d1cb3de5e98180de4c2c4fbf4a1a883271ea5eac..6544790a22429b47c361bca15ac725ec9bc07841 100644 (file)
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
 
-   $Id: arch.h 7601 2007-03-28 23:02:50Z michi $
-
 */
 
 
 #ifndef _ARCH_H
 #define _ARCH_H
 
+#define JIT_COMPILER_VIA_SIGNAL
+
 #include "config.h"
 
 
 /* define architecture features ***********************************************/
 
-#define U8_AVAILABLE                     1
-
-#define USEBUILTINTABLE
-
 #define SUPPORT_DIVISION                 1
 #define SUPPORT_LONG                     1
 
@@ -94,9 +90,7 @@
 
 
 #define SPECIALMEMUSE
-#define HAS_4BYTE_STACKSLOT
-#define ALIGN_LONGS_IN_MEMORY       /* Align Longs and/or Doubles at         */
-#define ALIGN_DOUBLES_IN_MEMORY     /* 2*Stackslotsize relativ to stackframe */
+
 /* Memory Positions for not Interface Stackslots (allocate_scratch_registers)*/
 /* are not properly aligned in case HAS_4_BYTE_STACKSLOT is not defined!     */
 /* For HAS_4_BYTE_STACKSLOT archs no distinction is made between long and dbl*/
 #define SUPPORT_HARDWARE_DIVIDE_BY_ZERO  0
 
 
+/* stackframe *****************************************************************/
+
+#define STACKFRMAE_RA_BETWEEN_FRAMES              0
+#define STACKFRAME_RA_TOP_OF_FRAME                0
+#define STACKFRAME_RA_LINKAGE_AREA                1
+#define STACKFRAME_LEAFMETHODS_RA_REGISTER        1
+#define STACKFRAME_SYNC_NEEDS_TWO_SLOTS           1
+
+
 /* replacement ****************************************************************/
 
 #define REPLACEMENT_PATCH_SIZE           4 /* bytes */
-#define REPLACEMENT_STUB_SIZE            6 /* words */
+
+/* subtype ********************************************************************/
+
+#define USES_NEW_SUBTYPE                 1
 
 #endif /* _ARCH_H */