## Process this file with automake to produce Makefile.in
-# $Id: Makefile.am 1467 2004-11-08 13:13:00Z twisti $
+# $Id: Makefile.am 1624 2004-11-30 14:49:45Z twisti $
-
-INCLUDES = -I$(top_srcdir)
+INCLUDES = -I$(top_srcdir)/src
EXTRA_DIST = \
asmpart.S \
noinst_LIBRARIES = libarch.a
-libarch_a_SOURCES = asmpart.S codegen.c disass.c
+libarch_a_SOURCES = \
+ asmpart.S \
+ codegen.c \
+ disass.c
asmpart.o: asmpart.S $(top_srcdir)/config.h offsets.h
$(COMPILE) -c $<
-offsets.h: $(top_srcdir)/config.h $(top_srcdir)/global.h $(top_srcdir)/threads/thread.h
- $(COMPILE) -o $(top_srcdir)/genoffsets $(top_srcdir)/genoffsets.c
- $(top_srcdir)/genoffsets > offsets.h
+offsets.h: $(top_srcdir)/config.h $(top_srcdir)/src/vm/global.h $(top_srcdir)/src/threads/native/threads.h
+ $(top_srcdir)/src/vm/jit/tools/genoffsets > offsets.h
## Local variables:
-/* jit/alpha/arch.h - architecture defines for Alpha
+/* vm/jit/alpha/arch.h - architecture defines for Alpha
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
R. Grafl, A. Krall, C. Kruegel, C. Oates, R. Obermaisser,
Authors: Christian Thalinger
- $Id: arch.h 1586 2004-11-24 14:27:03Z twisti $
+ $Id: arch.h 1624 2004-11-30 14:49:45Z twisti $
*/
-/* jit/alpha/asmpart.S - Java-C interface functions for alpha
+/* vm/jit/alpha/asmpart.S - Java-C interface functions for alpha
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
Institut f. Computersprachen, TU Wien
Authors: Andreas Krall
Reinhard Grafl
- $Id: asmpart.S 1595 2004-11-25 15:49:48Z twisti $
+ $Id: asmpart.S 1624 2004-11-30 14:49:45Z twisti $
*/
#include "config.h"
-#include "offsets.h"
+#include "vm/jit/alpha/offsets.h"
#define MethodPointer -8
-/* jit/alpha/codegen.c - machine code generator for alpha
+/* vm/jit/alpha/codegen.c - machine code generator for alpha
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
Institut f. Computersprachen, TU Wien
Authors: Andreas Krall
Reinhard Grafl
- $Id: codegen.c 1606 2004-11-29 10:06:44Z twisti $
+ $Id: codegen.c 1624 2004-11-30 14:49:45Z twisti $
*/
-#include "global.h"
#include <stdio.h>
#include <signal.h>
-#include "types.h"
-#include "main.h"
-#include "jit/alpha/codegen.h"
-#include "jit/jit.h"
-#include "jit/parse.h"
-#include "jit/reg.h"
-#include "jit/lsra.h"
-#include "builtin.h"
-#include "asmpart.h"
-#include "jni.h"
-#include "loader.h"
-#include "tables.h"
-#include "native.h"
-#include "main.h"
+
+#include "native/native.h"
+#include "vm/builtin.h"
+#include "vm/global.h"
+#include "vm/loader.h"
+#include "vm/tables.h"
+#include "vm/jit/asmpart.h"
+#include "vm/jit/jit.h"
+#include "vm/jit/lsra.h"
+#include "vm/jit/parse.h"
+#include "vm/jit/reg.h"
+#include "vm/jit/alpha/codegen.h"
+#include "vm/jit/alpha/arch.h"
+#include "vm/jit/alpha/types.h"
/* *****************************************************************************
REG_TMP, REG_TMP, REG_TMP, REG_TMP, REG_RES, REG_RES, REG_RES, REG_RES,
REG_END };
-/* for use of reserved registers, see comment above */
-/* include independent code generation stuff -- include after register */
-/* descriptions to avoid extern definitions */
+/* Include independent code generation stuff -- include after register */
+/* descriptions to avoid extern definitions. */
-#include "jit/codegen.inc"
-#include "jit/reg.inc"
-#include "jit/lsra.inc"
+#include "vm/jit/codegen.inc"
+#include "vm/jit/reg.inc"
+#include "vm/jit/lsra.inc"
/* NullPointerException handlers and exception handling initialisation */
-/* jit/alpha/codegen.h - code generation macros and definitions for alpha
+/* vm/jit/alpha/codegen.h - code generation macros and definitions for alpha
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
Institut f. Computersprachen, TU Wien
Authors: Andreas Krall
Reinhard Grafl
- $Id: codegen.h 1595 2004-11-25 15:49:48Z twisti $
+ $Id: codegen.h 1624 2004-11-30 14:49:45Z twisti $
*/
#include <ucontext.h>
-#include "jit/jit.h"
-
/* additional functions and macros to generate code ***************************/
-/* jit/alpha/disass.c - primitive disassembler for alpha machine code
+/* vm/jit/alpha/disass.c - primitive disassembler for alpha machine code
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
Institut f. Computersprachen, TU Wien
Authors: Andreas Krall
Reinhard Grafl
- $Id: disass.c 1062 2004-05-16 13:47:03Z twisti $
+ $Id: disass.c 1624 2004-11-30 14:49:45Z twisti $
*/
#include <stdio.h>
-#include "disass.h"
+
+#include "vm/jit/alpha/disass.h"
+
/* The disassembler uses two tables for decoding the instructions. The first
table (ops) is used to classify the instructions based on the op code and
-/* alpha/disass.h - disassembler header
+/* vm/jit/alpha/disass.h - disassembler header
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
Institut f. Computersprachen, TU Wien
Authors: Christian Thalinger
- $Id: disass.h 1062 2004-05-16 13:47:03Z twisti $
+ $Id: disass.h 1624 2004-11-30 14:49:45Z twisti $
*/
#ifndef _DISASS_H
#define _DISASS_H
-#include "types.h"
+#include "vm/jit/alpha/types.h"
extern char *regs[];
-/* function prototypes */
+/* function prototypes ********************************************************/
+
void disassinstr(s4 *code, int pos);
void disassemble(s4 *code, int len);
-#endif
+#endif /* _DISASS_H */
/*
-/* jit/alpha/types.h - machine specific definitions for alpha
+/* vm/jit/alpha/types.h - machine specific definitions for alpha
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
Institut f. Computersprachen, TU Wien
Andreas Krall
Michael Gschwind
- $Id: types.h 1587 2004-11-24 14:27:44Z twisti $
+ $Id: types.h 1624 2004-11-30 14:49:45Z twisti $
*/
#ifndef _TYPES_H
#define _TYPES_H
-#include "jit/alpha/arch.h"
+#include "vm/jit/alpha/arch.h"
/* Define the sizes of the integer types used internally by cacao. */