cacao.git
18 years ago* Diff unified and with head.
twisti [Sat, 10 Sep 2005 20:33:29 +0000 (20:33 +0000)]
* Diff unified and with head.

18 years ago* Fixed load displacement overflows (one bug still left).
twisti [Sat, 10 Sep 2005 20:32:22 +0000 (20:32 +0000)]
* Fixed load displacement overflows (one bug still left).
* Pass load/store offset to patcher functions.

18 years ago* Added comments.
twisti [Sat, 10 Sep 2005 20:31:04 +0000 (20:31 +0000)]
* Added comments.

18 years ago* We can't use r0 as REG_ITMP3, use r16 instead.
twisti [Sat, 10 Sep 2005 20:30:43 +0000 (20:30 +0000)]
* We can't use r0 as REG_ITMP3, use r16 instead.

18 years ago* Added #include "vm/options.h".
twisti [Sat, 10 Sep 2005 16:34:12 +0000 (16:34 +0000)]
* Added #include "vm/options.h".

18 years ago* preInit: Added java.vm.info.
twisti [Sat, 10 Sep 2005 16:28:21 +0000 (16:28 +0000)]
* preInit: Added java.vm.info.

18 years ago* ACLOCAL_AMFLAGS: Added, fixes problems with aclocal while reconfiguring.
twisti [Sat, 10 Sep 2005 15:55:45 +0000 (15:55 +0000)]
* ACLOCAL_AMFLAGS: Added, fixes problems with aclocal while reconfiguring.

18 years ago* getCallingClassLoader: Fixed #ifdef.
twisti [Sat, 10 Sep 2005 15:09:44 +0000 (15:09 +0000)]
* getCallingClassLoader: Fixed #ifdef.

18 years ago* findLoadedClass: Added.
twisti [Sat, 10 Sep 2005 14:33:58 +0000 (14:33 +0000)]
* findLoadedClass: Added.

18 years ago* Proxy to VMProxy changes.
twisti [Sat, 10 Sep 2005 14:31:12 +0000 (14:31 +0000)]
* Proxy to VMProxy changes.

18 years ago* Proxy to VMProxy changes.
twisti [Sat, 10 Sep 2005 14:29:52 +0000 (14:29 +0000)]
* Proxy to VMProxy changes.
* native_library_hash_find: Added.

18 years ago* Changed RawData to Pointer (classpath-0.18 change).
twisti [Sat, 10 Sep 2005 14:07:49 +0000 (14:07 +0000)]
* Changed RawData to Pointer (classpath-0.18 change).

18 years ago* fillInStackTrace: Check return value of cacao_stacktrace_NormalTrace.
twisti [Sat, 10 Sep 2005 13:28:19 +0000 (13:28 +0000)]
* fillInStackTrace: Check return value of cacao_stacktrace_NormalTrace.
  Removed dontfillinexceptionstacktrace check, i have to think about this.

18 years ago* forName: Changed to (Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
twisti [Sat, 10 Sep 2005 13:21:36 +0000 (13:21 +0000)]
* forName: Changed to (Ljava/lang/String;ZLjava/lang/ClassLoader;)Ljava/lang/Class;
  version and enabled the code (classpath-0.18).
* initialize, loadArrayClass: Removed.

18 years ago* Added ENABLE_INTRP define (this is more like a hack, maybe this should be
twisti [Mon, 5 Sep 2005 21:58:53 +0000 (21:58 +0000)]
* Added ENABLE_INTRP define (this is more like a hack, maybe this should be
  fixed somewhen).

18 years ago* Added ENABLE_INTRP defines.
twisti [Mon, 5 Sep 2005 21:48:07 +0000 (21:48 +0000)]
* Added ENABLE_INTRP defines.

18 years ago* Added __INTRP__ define.
twisti [Mon, 5 Sep 2005 21:44:57 +0000 (21:44 +0000)]
* Added __INTRP__ define.

18 years ago* Added ENABLE_JIT, ENABLE_INTRP defines to handle linking problems.
twisti [Mon, 5 Sep 2005 21:42:34 +0000 (21:42 +0000)]
* Added ENABLE_JIT, ENABLE_INTRP defines to handle linking problems.

18 years ago* Added opt_jit, opt_intrp
twisti [Mon, 5 Sep 2005 21:39:50 +0000 (21:39 +0000)]
* Added opt_jit, opt_intrp
* Added temporary vm_debug (for intrp tracing)

18 years ago* PATCHER_checkcast_instanceof: Added for intrp.
twisti [Mon, 5 Sep 2005 20:20:06 +0000 (20:20 +0000)]
* PATCHER_checkcast_instanceof: Added for intrp.

18 years ago* Disable the stackwalker stuff for the intrp for now...
twisti [Mon, 5 Sep 2005 20:19:33 +0000 (20:19 +0000)]
* Disable the stackwalker stuff for the intrp for now...

18 years ago* Bugfix: Use rt.jar in CLASSPATH
twisti [Mon, 5 Sep 2005 20:13:25 +0000 (20:13 +0000)]
* Bugfix: Use rt.jar in CLASSPATH

18 years ago* Added options: -Xjit, -Xint
twisti [Mon, 5 Sep 2005 20:12:24 +0000 (20:12 +0000)]
* Added options: -Xjit, -Xint

18 years ago* Added ffcall library for intrp.
twisti [Mon, 5 Sep 2005 20:11:56 +0000 (20:11 +0000)]
* Added ffcall library for intrp.

18 years ago* Added ffcall for intrp
twisti [Mon, 5 Sep 2005 20:00:15 +0000 (20:00 +0000)]
* Added ffcall for intrp

18 years ago* Added intrp stuff
twisti [Mon, 5 Sep 2005 19:58:45 +0000 (19:58 +0000)]
* Added intrp stuff
* Added some additional checks, e.g. so we don't have to configure all
  subpackages

18 years ago* Added ENABLE_JIT, ENABLE_INTRP defines.
twisti [Mon, 5 Sep 2005 17:41:54 +0000 (17:41 +0000)]
* Added ENABLE_JIT, ENABLE_INTRP defines.

18 years ago* Added ENABLE_INTRP stuff.
twisti [Mon, 5 Sep 2005 15:14:32 +0000 (15:14 +0000)]
* Added ENABLE_INTRP stuff.

18 years ago* POP/DUP/DUP_Xx fixes for longs: we need to undo our changes in stack.c.
twisti [Mon, 5 Sep 2005 15:12:36 +0000 (15:12 +0000)]
* POP/DUP/DUP_Xx fixes for longs: we need to undo our changes in stack.c.

18 years ago* Changed _TYPES_H define to _CACAO_TYPES_H
twisti [Fri, 2 Sep 2005 15:18:12 +0000 (15:18 +0000)]
* Changed _TYPES_H define to _CACAO_TYPES_H

18 years ago* More interpreter files (important ones).
twisti [Fri, 2 Sep 2005 15:17:20 +0000 (15:17 +0000)]
* More interpreter files (important ones).

18 years ago* Ignore some files.
twisti [Fri, 2 Sep 2005 15:16:52 +0000 (15:16 +0000)]
* Ignore some files.

18 years agostarted reintegrating interpreter
twisti [Fri, 2 Sep 2005 15:15:18 +0000 (15:15 +0000)]
started reintegrating interpreter

18 years ago* added arm defines
michi [Wed, 24 Aug 2005 00:11:23 +0000 (00:11 +0000)]
* added arm defines

18 years ago* SUBDIRS: Changed to OS_DIR
cacao [Tue, 23 Aug 2005 14:54:10 +0000 (14:54 +0000)]
* SUBDIRS: Changed to OS_DIR

18 years ago* MIPS Linux stuff.
cacao [Tue, 23 Aug 2005 14:53:07 +0000 (14:53 +0000)]
* MIPS Linux stuff.

18 years ago* builtin_multianewarray: Handle MIPS32 correctly (s4 in an s8 slot)
cacao [Tue, 23 Aug 2005 14:45:29 +0000 (14:45 +0000)]
* builtin_multianewarray: Handle MIPS32 correctly (s4 in an s8 slot)
* builtin_trace_exception: Removed methodindent, i think we don't need this
  anymore; Added descriptor output
* builtin_trace_args: Support for TRACE_ARGS_NUM == 2
* builtin_lxxx: Made functions debug-friendlier, the generated code stays
  the same, just the source is a bit longer

18 years ago* builtin_new: Removed i386 asm_builtin_new define
cacao [Tue, 23 Aug 2005 14:34:49 +0000 (14:34 +0000)]
* builtin_new: Removed i386 asm_builtin_new define
* builtin_trace_args: Added handling of TRACE_ARGS_NUM == 2

18 years ago* throw_exception_exit_intern: Print detail message for an exception case
twisti [Mon, 22 Aug 2005 22:41:37 +0000 (22:41 +0000)]
* throw_exception_exit_intern: Print detail message for an exception case
  during the printStackTrace() call, if available.

18 years ago* testlong: added IF_Lxx tests, fixed IF_LCMPxx tests
twisti [Thu, 18 Aug 2005 07:44:12 +0000 (07:44 +0000)]
* testlong: added IF_Lxx tests, fixed IF_LCMPxx tests

18 years ago* implemented big-endian-arms
michi [Wed, 17 Aug 2005 23:47:56 +0000 (23:47 +0000)]
* implemented big-endian-arms
* dseg_adds8: removed defines (arm now uses it)

18 years ago* removed arm defines (ICMD_FREM and ICMD_DREM cannot be used)
michi [Wed, 17 Aug 2005 23:43:38 +0000 (23:43 +0000)]
* removed arm defines (ICMD_FREM and ICMD_DREM cannot be used)

18 years ago* added armv5b architecture
michi [Sun, 14 Aug 2005 23:36:14 +0000 (23:36 +0000)]
* added armv5b architecture

18 years ago* reg_setup: fixed typo in register splitting
michi [Fri, 5 Aug 2005 09:41:04 +0000 (09:41 +0000)]
* reg_setup: fixed typo in register splitting

18 years ago* Added MIPS32 support
cacao [Tue, 2 Aug 2005 21:44:03 +0000 (21:44 +0000)]
* Added MIPS32 support
* Use system cacheflush function to flush instruction cache

18 years ago* Check for branch displacement overflow in patcher stub generation.
twisti [Sat, 30 Jul 2005 12:57:56 +0000 (12:57 +0000)]
* Check for branch displacement overflow in patcher stub generation.

18 years ago* Bug #8: Collectors should return a value, so we can catch OOM errors.
twisti [Thu, 28 Jul 2005 19:56:34 +0000 (19:56 +0000)]
* Bug #8: Collectors should return a value, so we can catch OOM errors.
  Fixes one part of bug #8.

18 years ago* Bug #5: tobj->info.next may be NULL, check that in while.
twisti [Thu, 28 Jul 2005 19:47:49 +0000 (19:47 +0000)]
* Bug #5: tobj->info.next may be NULL, check that in while.

18 years ago* Bug #5: Don't print threads which are currently in initialization.
twisti [Thu, 28 Jul 2005 19:34:06 +0000 (19:34 +0000)]
* Bug #5: Don't print threads which are currently in initialization.

18 years ago* New output.
twisti [Thu, 28 Jul 2005 15:39:14 +0000 (15:39 +0000)]
* New output.

18 years ago* M_FLD, M_DLD: Bugfix, we can't use `a' as temp register since it's a
twisti [Wed, 27 Jul 2005 22:20:13 +0000 (22:20 +0000)]
* M_FLD, M_DLD: Bugfix, we can't use `a' as temp register since it's a
  floating pointer register. Use REG_ITMP3 instead.

18 years ago* Removed unnecessary opt_showdisassemble stuff.
twisti [Wed, 27 Jul 2005 22:19:05 +0000 (22:19 +0000)]
* Removed unnecessary opt_showdisassemble stuff.

18 years ago* Bugfix from arm-linux, boehm works now.
twisti [Wed, 27 Jul 2005 21:18:57 +0000 (21:18 +0000)]
* Bugfix from arm-linux, boehm works now.

18 years ago* Added src/vm/jit/mips/irix/Makefile
twisti [Wed, 27 Jul 2005 12:14:27 +0000 (12:14 +0000)]
* Added src/vm/jit/mips/irix/Makefile

18 years ago* Added irix subdirectory.
twisti [Wed, 27 Jul 2005 12:14:03 +0000 (12:14 +0000)]
* Added irix subdirectory.

18 years ago* Bugfix: Include config.h, SIZEOF_VOID_P was not defined
twisti [Wed, 27 Jul 2005 12:13:40 +0000 (12:13 +0000)]
* Bugfix: Include config.h, SIZEOF_VOID_P was not defined
* Removed M_LDA for mips32

18 years ago* Print name of test before it's run.
twisti [Wed, 27 Jul 2005 12:12:18 +0000 (12:12 +0000)]
* Print name of test before it's run.

18 years ago* Handling of overflow in load/store intructions implemented.
twisti [Wed, 27 Jul 2005 10:36:38 +0000 (10:36 +0000)]
* Handling of overflow in load/store intructions implemented.

18 years ago* codegen_findmethod: Implemented to work with 3 instruction case too.
twisti [Wed, 27 Jul 2005 10:35:06 +0000 (10:35 +0000)]
* codegen_findmethod: Implemented to work with 3 instruction case too.
cvs: ----------------------------------------------------------------------

18 years ago* Warning fix
twisti [Wed, 27 Jul 2005 10:33:58 +0000 (10:33 +0000)]
* Warning fix

18 years ago* RISC instruction overflow tests.
twisti [Tue, 26 Jul 2005 13:00:22 +0000 (13:00 +0000)]
* RISC instruction overflow tests.

18 years ago* Pass displacement to patcher functions.
twisti [Sun, 24 Jul 2005 23:07:02 +0000 (23:07 +0000)]
* Pass displacement to patcher functions.
* Use new M_LDA macros to calculate the current PV after jumps.
* Don't use REG_ITMP3 in reg_of_var calls: the new store macros use the
  REG_ITMP3 register to calculate the address for 2-instruction stores.

18 years ago* Pass load/store displacement to the patcher functions. So we don't have
twisti [Sun, 24 Jul 2005 23:04:48 +0000 (23:04 +0000)]
* Pass load/store displacement to the patcher functions. So we don't have
  to read the displacement from the instruction and have no problems with
  2-instructions load/stores.

18 years ago* codegen_findmethod: Use the new M_LDA macro after jumps.
twisti [Sun, 24 Jul 2005 23:02:28 +0000 (23:02 +0000)]
* codegen_findmethod: Use the new M_LDA macro after jumps.

18 years ago* M_LDA, M_ILD, M_LLD, M_IST, M_LST, M_FLD, M_DLD, M_FST, M_DST: Check for
twisti [Sun, 24 Jul 2005 23:01:45 +0000 (23:01 +0000)]
* M_LDA, M_ILD, M_LLD, M_IST, M_LST, M_FLD, M_DLD, M_FST, M_DST: Check for
  displacement overflow and generate 2 instructions (ldah). Store
  instructions use REG_ITMP3 to calculate the address. Original macros are
  now called M_xxx_INTERN.

18 years agoreg_of_var: Special handling of splittet variables on arm.
michi [Sun, 24 Jul 2005 22:32:34 +0000 (22:32 +0000)]
reg_of_var: Special handling of splittet variables on arm.

18 years ago* Added StackDisplacementOverflow test.
twisti [Sun, 24 Jul 2005 22:29:46 +0000 (22:29 +0000)]
* Added StackDisplacementOverflow test.

18 years ago* reg_setup: Enabled splitting of long arguments across reg/stack on arm.
michi [Sun, 24 Jul 2005 22:03:13 +0000 (22:03 +0000)]
* reg_setup: Enabled splitting of long arguments across reg/stack on arm.
* local_regalloc: Prevented reuse of float arguments as local variables an arm.

18 years ago* ICMD_INVOKE*: Renamed SUPPORT_NO_FLOAT_ARGUMENT_REGISTERS
michi [Sun, 24 Jul 2005 21:04:05 +0000 (21:04 +0000)]
* ICMD_INVOKE*: Renamed SUPPORT_NO_FLOAT_ARGUMENT_REGISTERS
  to SUPPORT_PASS_FLOATARGS_IN_INTREGS and added a comment.

18 years ago* suck_double: On little endian ARMs with FPA, doubles
michi [Sun, 24 Jul 2005 20:18:34 +0000 (20:18 +0000)]
* suck_double: On little endian ARMs with FPA, doubles
  have big endian word order.

18 years ago* codegen_addpatchref: Passing displacement changes.
twisti [Fri, 22 Jul 2005 15:22:53 +0000 (15:22 +0000)]
* codegen_addpatchref: Passing displacement changes.
* createnativestub: Load native function before stackframeinfo creation.
  This results in a correct stacktrace.

18 years ago* patcher_resolve_native: Native function is now loaded different.
twisti [Fri, 22 Jul 2005 15:21:40 +0000 (15:21 +0000)]
* patcher_resolve_native: Native function is now loaded different.

18 years agofix warning - bug #6
motse [Fri, 22 Jul 2005 10:54:35 +0000 (10:54 +0000)]
fix warning - bug #6

18 years ago* Ignore generated latex files
twisti [Fri, 22 Jul 2005 10:31:30 +0000 (10:31 +0000)]
* Ignore generated latex files

18 years ago* codegen_addpatchref changes: passing displacement. We do this for
twisti [Thu, 21 Jul 2005 14:01:02 +0000 (14:01 +0000)]
* codegen_addpatchref changes: passing displacement. We do this for
  non-risc's to have similar code.

18 years agofix DeleteGlobalRef missing argument for IdentityHashMap.put
motse [Thu, 21 Jul 2005 13:51:36 +0000 (13:51 +0000)]
fix DeleteGlobalRef missing argument for IdentityHashMap.put

18 years ago* struct patchref: Added disp.
twisti [Thu, 21 Jul 2005 13:16:43 +0000 (13:16 +0000)]
* struct patchref: Added disp.

18 years ago* codegen_addpatchref: Added a displacement argument. This is the
twisti [Thu, 21 Jul 2005 13:16:18 +0000 (13:16 +0000)]
* codegen_addpatchref: Added a displacement argument. This is the
  displacement in the load instructions we have to patch. This way we don't
  have to read the offset from the machine instruction and don't have
  problems with offset overflow on risc machines.

18 years ago* exit_handler: Don't free system resources, some threads may still be
twisti [Thu, 21 Jul 2005 13:06:50 +0000 (13:06 +0000)]
* exit_handler: Don't free system resources, some threads may still be
  running. This fixes the exit crashes with eclipse.

18 years ago* stacktrace_fillInStackTrace_methodRecursive: if no line number was found,
twisti [Thu, 21 Jul 2005 12:25:05 +0000 (12:25 +0000)]
* stacktrace_fillInStackTrace_methodRecursive: if no line number was found,
  check if pc is in the method and add it with 0, otherwise assert

18 years ago* JAVA_VERSION: added, it's defined in global.h
twisti [Thu, 21 Jul 2005 11:29:43 +0000 (11:29 +0000)]
* JAVA_VERSION: added, it's defined in global.h

18 years ago* Added -fullversion, required e.g. by jpackage
twisti [Thu, 21 Jul 2005 11:00:15 +0000 (11:00 +0000)]
* Added -fullversion, required e.g. by jpackage

18 years ago* removed ENABLE_STATICVM for arm
michi [Thu, 21 Jul 2005 00:48:42 +0000 (00:48 +0000)]
* removed ENABLE_STATICVM for arm

18 years agofix build error - bug #6
motse [Wed, 20 Jul 2005 19:16:17 +0000 (19:16 +0000)]
fix build error - bug #6

18 years ago* Added 2 tests
twisti [Wed, 20 Jul 2005 15:50:17 +0000 (15:50 +0000)]
* Added 2 tests

18 years ago* createnativestub: Removed initalize check and code, this is now done by
twisti [Wed, 20 Jul 2005 15:35:35 +0000 (15:35 +0000)]
* createnativestub: Removed initalize check and code, this is now done by
  jit_compile.

18 years ago* jit_compile_intern: Also handle native functions. We let jit_compile
twisti [Wed, 20 Jul 2005 15:34:23 +0000 (15:34 +0000)]
* jit_compile_intern: Also handle native functions. We let jit_compile
  initialize the class for static native functions. This results in correct
  stacktrace and removes some code from createnativestub.

18 years ago* codegen_createnativestub: Save native stub in entrypoint instead of
twisti [Wed, 20 Jul 2005 15:30:04 +0000 (15:30 +0000)]
* codegen_createnativestub: Save native stub in entrypoint instead of
  stubroutine.

18 years ago* load_newly_created_array: Save native stub to m->entrypoint, so that the
twisti [Wed, 20 Jul 2005 15:28:51 +0000 (15:28 +0000)]
* load_newly_created_array: Save native stub to m->entrypoint, so that the
  jit compiler returns it correctly.

18 years ago* link_class_intern: Create for all methods a compiler stub, even for
twisti [Wed, 20 Jul 2005 15:25:46 +0000 (15:25 +0000)]
* link_class_intern: Create for all methods a compiler stub, even for
  native functions.

18 years ago* builtin_dummy: Removed.
twisti [Wed, 20 Jul 2005 15:25:06 +0000 (15:25 +0000)]
* builtin_dummy: Removed.
* builtin_clone_array: Function header comment.

18 years ago* Java_java_lang_VMObject_clone: check for OOM in array case
twisti [Wed, 20 Jul 2005 15:23:18 +0000 (15:23 +0000)]
* Java_java_lang_VMObject_clone: check for OOM in array case

18 years ago* Added java_lang_StackTraceElement.h
twisti [Wed, 20 Jul 2005 15:17:14 +0000 (15:17 +0000)]
* Added java_lang_StackTraceElement.h

18 years ago* generateStackTraceArray: removed
twisti [Wed, 20 Jul 2005 15:16:58 +0000 (15:16 +0000)]
* generateStackTraceArray: removed
* getStackTrace: set the StackTraceElement fields directly (use the header)

18 years ago* createnativestub: resolve function symbol before stackframeinfo creation,
twisti [Wed, 20 Jul 2005 13:38:44 +0000 (13:38 +0000)]
* createnativestub: resolve function symbol before stackframeinfo creation,
  otherwise the stacktrace is incorrect

18 years ago* M_LEA: removed
twisti [Wed, 20 Jul 2005 13:37:34 +0000 (13:37 +0000)]
* M_LEA: removed
* M_ILEA, M_LLEA, M_ALEA: added

18 years ago* asm_call_jit_compiler: handle jit compiler exceptions properly
twisti [Wed, 20 Jul 2005 11:01:30 +0000 (11:01 +0000)]
* asm_call_jit_compiler: handle jit compiler exceptions properly

18 years ago* stacktrace_extern_fillInStackTrace: removed, not required anymore
twisti [Wed, 20 Jul 2005 10:40:41 +0000 (10:40 +0000)]
* stacktrace_extern_fillInStackTrace: removed, not required anymore

18 years ago* M_LEA: added
twisti [Wed, 20 Jul 2005 10:28:18 +0000 (10:28 +0000)]
* M_LEA: added

18 years ago* ICMD_INVOKE*: prevented precoloring of float argument registers for arm
michi [Wed, 20 Jul 2005 03:09:11 +0000 (03:09 +0000)]
* ICMD_INVOKE*: prevented precoloring of float argument registers for arm