projects
/
cacao.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/vm/jit/alpha/codegen.h (BRANCH_NOPS): Defined.
[cacao.git]
/
src
/
vm
/
jit
/
powerpc64
/
codegen.h
diff --git
a/src/vm/jit/powerpc64/codegen.h
b/src/vm/jit/powerpc64/codegen.h
index 315363325db40c2979bd15cc62ee9b15cca8ed44..efe7bb1367db95e9f21555605b8c47c4bc40d357 100644
(file)
--- a/
src/vm/jit/powerpc64/codegen.h
+++ b/
src/vm/jit/powerpc64/codegen.h
@@
-1,5
+1,5
@@
/* src/vm/jit/powerpc64/codegen.h - code generation macros and definitions for
/* src/vm/jit/powerpc64/codegen.h - code generation macros and definitions for
-
32
-bit PowerPC
+
64
-bit PowerPC
Copyright (C) 1996-2005, 2006 R. Grafl, A. Krall, C. Kruegel,
C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
Copyright (C) 1996-2005, 2006 R. Grafl, A. Krall, C. Kruegel,
C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
@@
-27,11
+27,10
@@
Authors: Andreas Krall
Stefan Ring
Authors: Andreas Krall
Stefan Ring
-
- Changes: Christian Thalinger
+ Christian Thalinger
Christian Ullrich
Christian Ullrich
- $Id: codegen.h
5940 2006-11-09 09:59:28Z tbfg
$
+ $Id: codegen.h
6078 2006-11-28 22:19:16Z twisti
$
*/
*/
@@
-115,6
+114,24
@@
}
}
+/* branch defines *************************************************************/
+
+#define BRANCH_NOPS \
+ do { \
+ M_NOP; \
+ } while (0)
+
+
+/* patcher defines ************************************************************/
+
+#define PATCHER_CALL_SIZE 1 * 4 /* an instruction is 4-bytes long */
+
+#define PATCHER_NOPS \
+ do { \
+ M_NOP; \
+ } while (0)
+
+
/* macros to create code ******************************************************/
#define M_OP3(opcode,y,oe,rc,d,a,b) \
/* macros to create code ******************************************************/
#define M_OP3(opcode,y,oe,rc,d,a,b) \