PR144 (aligned patchers on x86_64)
[cacao.git] / src / vm / jit / x86_64 / emit.h
index 790f659a9aa1b6e8889519066c64f63e1470a208..8d862fa1c48449c5909b87574f0d0eac935b1ebe 100644 (file)
@@ -1,9 +1,7 @@
 /* src/vm/jit/x86_64/emit.h - machine dependent emit function prototypes
 
-   Copyright (C) 1996-2005, 2006, 2007 R. Grafl, A. Krall, C. Kruegel,
-   C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
-   E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
-   J. Wenninger, Institut f. Computersprachen - TU Wien
+   Copyright (C) 1996-2011
+   CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
 
    This file is part of CACAO.
 
@@ -195,6 +193,7 @@ void emit_lshift(jitdata *jd, s4 shift_op, instruction *iptr);
 
 /* integer instructions */
 
+void emit_nop(codegendata *cd, int length);
 void emit_mov_reg_reg(codegendata *cd, s8 reg, s8 dreg);
 void emit_mov_imm_reg(codegendata *cd, s8 imm, s8 reg);
 void emit_movl_reg_reg(codegendata *cd, s8 reg, s8 dreg);
@@ -366,6 +365,7 @@ void emit_xorpd_membase_reg(codegendata *cd, s8 basereg, s8 disp, s8 dreg);
 /* system instructions ********************************************************/
 
 void emit_rdtsc(codegendata *cd);
+void emit_mfence(codegendata *cd);
 
 
 /**
@@ -374,6 +374,7 @@ void emit_rdtsc(codegendata *cd);
  */
 static inline void emit_recompute_pv(codegendata* cd) {}
 
+void emit_arbitrary_nop(codegendata *cd, int disp);
 
 #ifdef __cplusplus
 }
@@ -393,4 +394,5 @@ static inline void emit_recompute_pv(codegendata* cd) {}
  * c-basic-offset: 4
  * tab-width: 4
  * End:
+ * vim:noexpandtab:sw=4:ts=4:
  */