cacao.git
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

18 years ago* added arm defines
michi [Wed, 20 Jul 2005 00:33:27 +0000 (00:33 +0000)]
* added arm defines

18 years ago* Removed unused unistd.h include
twisti [Tue, 19 Jul 2005 15:40:57 +0000 (15:40 +0000)]
* Removed unused unistd.h include

18 years ago* Removed unistd.h include
twisti [Tue, 19 Jul 2005 15:36:08 +0000 (15:36 +0000)]
* Removed unistd.h include

18 years ago* Use USE_CODEMMAP define
twisti [Tue, 19 Jul 2005 14:11:42 +0000 (14:11 +0000)]
* Use USE_CODEMMAP define

18 years ago* Added --enable-jvmti configure switch, plus ENABLE_JVMTI define
twisti [Tue, 19 Jul 2005 12:35:37 +0000 (12:35 +0000)]
* Added --enable-jvmti configure switch, plus ENABLE_JVMTI define

18 years ago* Fixed jvmti.h include path
twisti [Tue, 19 Jul 2005 11:52:21 +0000 (11:52 +0000)]
* Fixed jvmti.h include path

18 years ago* Removed jvmti.[ch]
twisti [Tue, 19 Jul 2005 11:52:08 +0000 (11:52 +0000)]
* Removed jvmti.[ch]

18 years agoadd emacs footer
motse [Tue, 19 Jul 2005 10:20:57 +0000 (10:20 +0000)]
add emacs footer

18 years agoinitial support for jvmti
motse [Tue, 19 Jul 2005 10:03:00 +0000 (10:03 +0000)]
initial support for jvmti

18 years ago* Added other tests
twisti [Tue, 19 Jul 2005 08:52:11 +0000 (08:52 +0000)]
* Added other tests

18 years ago* Ok, now the test is correct
twisti [Tue, 19 Jul 2005 08:51:41 +0000 (08:51 +0000)]
* Ok, now the test is correct

18 years ago* added ICMD_IMULPOW2 and ICMD_LMULPOW2
michi [Tue, 19 Jul 2005 04:04:17 +0000 (04:04 +0000)]
* added ICMD_IMULPOW2 and ICMD_LMULPOW2

18 years ago* Added tests/regression/Makefile
twisti [Mon, 18 Jul 2005 22:35:29 +0000 (22:35 +0000)]
* Added tests/regression/Makefile

18 years ago* SUBDIRS: added regression
twisti [Mon, 18 Jul 2005 22:34:58 +0000 (22:34 +0000)]
* SUBDIRS: added regression

18 years ago* Starting to make a regression suite
twisti [Mon, 18 Jul 2005 22:34:23 +0000 (22:34 +0000)]
* Starting to make a regression suite

18 years ago* asm_call_jit_compiler: handle jit compiler exceptions properly
twisti [Mon, 18 Jul 2005 21:58:32 +0000 (21:58 +0000)]
* asm_call_jit_compiler: handle jit compiler exceptions properly

18 years ago* Set currentline to 0 before basicblock start
twisti [Mon, 18 Jul 2005 21:57:01 +0000 (21:57 +0000)]
* Set currentline to 0 before basicblock start
* Removed some #if 1's

18 years ago* lineNumberTableEntry: use ptrint as line type, otherwise we ran into
twisti [Mon, 18 Jul 2005 21:55:31 +0000 (21:55 +0000)]
* lineNumberTableEntry: use ptrint as line type, otherwise we ran into
  alignment problems

18 years ago* dseg_addlinenumbertablesize: better comments, removed this adds4 comment
twisti [Mon, 18 Jul 2005 21:54:27 +0000 (21:54 +0000)]
* dseg_addlinenumbertablesize: better comments, removed this adds4 comment
  (i think it's simpler to do the padding)

18 years ago* fixed compiler warning for arm (dseg_adds8 is not used)
michi [Mon, 18 Jul 2005 21:42:17 +0000 (21:42 +0000)]
* fixed compiler warning for arm (dseg_adds8 is not used)

18 years ago* asm_call_jit_compiler: handle jit compiler exceptions properly
twisti [Mon, 18 Jul 2005 20:07:52 +0000 (20:07 +0000)]
* asm_call_jit_compiler: handle jit compiler exceptions properly
* some indent changes

18 years ago* asm_call_jit_compiler: handle jit compiler exceptions properly
twisti [Mon, 18 Jul 2005 18:52:20 +0000 (18:52 +0000)]
* asm_call_jit_compiler: handle jit compiler exceptions properly

18 years ago* Some cleanup, code simplifying, added comments...
twisti [Mon, 18 Jul 2005 15:07:19 +0000 (15:07 +0000)]
* Some cleanup, code simplifying, added comments...
* cacao_stacktrace_fillInStackTrace: subtract 1 from RA in the jit case

18 years ago* Set cacao version to 0.92+cvs
twisti [Mon, 18 Jul 2005 15:01:12 +0000 (15:01 +0000)]
* Set cacao version to 0.92+cvs
* Compile optimization back to -O0

18 years ago* asm_call_jit_compiler: handle jit compiler exceptions properly
twisti [Mon, 18 Jul 2005 14:46:41 +0000 (14:46 +0000)]
* asm_call_jit_compiler: handle jit compiler exceptions properly

18 years ago* ICMD_INLINE_START: -si display reformatted
twisti [Mon, 18 Jul 2005 14:35:32 +0000 (14:35 +0000)]
* ICMD_INLINE_START: -si display reformatted
* -si line reformatted: better display of line number

18 years ago* cacao_stacktrace_fillInStackTrace: check for m != NULL in inline-stub
twisti [Mon, 18 Jul 2005 11:34:24 +0000 (11:34 +0000)]
* cacao_stacktrace_fillInStackTrace: check for m != NULL in inline-stub
  case, otherwise we get into trouble with asm_calljavafunction

18 years ago* Changelog for 0.92
twisti [Wed, 13 Jul 2005 21:24:31 +0000 (21:24 +0000)]
* Changelog for 0.92

18 years ago* Removed disass.h
twisti [Wed, 13 Jul 2005 21:13:36 +0000 (21:13 +0000)]
* Removed disass.h

18 years ago* ICMD_IDIV, ICMD_IREM: gcc -O2 workaround: the cast to s8 is missing, so
twisti [Wed, 13 Jul 2005 21:07:02 +0000 (21:07 +0000)]
* ICMD_IDIV, ICMD_IREM: gcc -O2 workaround: the cast to s8 is missing, so
  we do it inline
* Compiler warning fixes

18 years ago* Removed unused asmoffsets.h
twisti [Wed, 13 Jul 2005 19:04:25 +0000 (19:04 +0000)]
* Removed unused asmoffsets.h

18 years ago* Added #include "mm/memory.h"
twisti [Wed, 13 Jul 2005 18:50:17 +0000 (18:50 +0000)]
* Added #include "mm/memory.h"

18 years ago* Compiler warning fixes
twisti [Wed, 13 Jul 2005 16:12:20 +0000 (16:12 +0000)]
* Compiler warning fixes
* createnativestub: type in return call trace (m-> to md->)

18 years ago* M_PUSH_IMM: added
twisti [Wed, 13 Jul 2005 12:23:30 +0000 (12:23 +0000)]
* M_PUSH_IMM: added

18 years ago* stack_init: --disable-threads compilation fix
twisti [Wed, 13 Jul 2005 12:23:13 +0000 (12:23 +0000)]
* stack_init: --disable-threads compilation fix

18 years ago* Compiler warning fix
twisti [Wed, 13 Jul 2005 12:10:14 +0000 (12:10 +0000)]
* Compiler warning fix

18 years ago* SUBDIRS: removed
twisti [Wed, 13 Jul 2005 11:55:01 +0000 (11:55 +0000)]
* SUBDIRS: removed

18 years ago* DIST_SUBDIRS: defined explicitly, otherwise we have problems with
twisti [Wed, 13 Jul 2005 11:54:47 +0000 (11:54 +0000)]
* DIST_SUBDIRS: defined explicitly, otherwise we have problems with
  distclean
* CLASSPATH: added classpath/native/fdlibm

18 years ago* resolve_classref_or_classinfo: convert ClassNotFoundException in
twisti [Wed, 13 Jul 2005 11:52:50 +0000 (11:52 +0000)]
* resolve_classref_or_classinfo: convert ClassNotFoundException in
  NoClassDefFoundError, there are more functions where this should happen
  (next release)
* Compiler warning fixes

18 years ago* Compiler warning fix
twisti [Wed, 13 Jul 2005 11:50:24 +0000 (11:50 +0000)]
* Compiler warning fix

18 years ago* builtintable_entry_debug_dump: removed, sorry edwin, i don't think it was
twisti [Wed, 13 Jul 2005 11:45:07 +0000 (11:45 +0000)]
* builtintable_entry_debug_dump: removed, sorry edwin, i don't think it was
  that useful

18 years ago* Compiler warnnig fixes
twisti [Wed, 13 Jul 2005 11:41:53 +0000 (11:41 +0000)]
* Compiler warnnig fixes

18 years ago* Java_java_lang_VMClass_getDeclaredClasses: bugfix, inner was used instead
twisti [Wed, 13 Jul 2005 11:38:16 +0000 (11:38 +0000)]
* Java_java_lang_VMClass_getDeclaredClasses: bugfix, inner was used instead
  of outer, thanks go to gcc warnings ;-)

18 years ago* Compiler warning fix
twisti [Wed, 13 Jul 2005 11:37:18 +0000 (11:37 +0000)]
* Compiler warning fix