twisti [Sat, 30 Jul 2005 12:57:56 +0000 (12:57 +0000)]
* Check for branch displacement overflow in patcher stub generation.
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.
twisti [Thu, 28 Jul 2005 19:47:49 +0000 (19:47 +0000)]
* Bug #5: tobj->info.next may be NULL, check that in while.
twisti [Thu, 28 Jul 2005 19:34:06 +0000 (19:34 +0000)]
* Bug #5: Don't print threads which are currently in initialization.
twisti [Thu, 28 Jul 2005 15:39:14 +0000 (15:39 +0000)]
* New output.
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.
twisti [Wed, 27 Jul 2005 22:19:05 +0000 (22:19 +0000)]
* Removed unnecessary opt_showdisassemble stuff.
twisti [Wed, 27 Jul 2005 21:18:57 +0000 (21:18 +0000)]
* Bugfix from arm-linux, boehm works now.
twisti [Wed, 27 Jul 2005 12:14:27 +0000 (12:14 +0000)]
* Added src/vm/jit/mips/irix/Makefile
twisti [Wed, 27 Jul 2005 12:14:03 +0000 (12:14 +0000)]
* Added irix subdirectory.
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
twisti [Wed, 27 Jul 2005 12:12:18 +0000 (12:12 +0000)]
* Print name of test before it's run.
twisti [Wed, 27 Jul 2005 10:36:38 +0000 (10:36 +0000)]
* Handling of overflow in load/store intructions implemented.
twisti [Wed, 27 Jul 2005 10:35:06 +0000 (10:35 +0000)]
* codegen_findmethod: Implemented to work with 3 instruction case too.
cvs: ----------------------------------------------------------------------
twisti [Wed, 27 Jul 2005 10:33:58 +0000 (10:33 +0000)]
* Warning fix
twisti [Tue, 26 Jul 2005 13:00:22 +0000 (13:00 +0000)]
* RISC instruction overflow tests.
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.
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.
twisti [Sun, 24 Jul 2005 23:02:28 +0000 (23:02 +0000)]
* codegen_findmethod: Use the new M_LDA macro after jumps.
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.
michi [Sun, 24 Jul 2005 22:32:34 +0000 (22:32 +0000)]
reg_of_var: Special handling of splittet variables on arm.
twisti [Sun, 24 Jul 2005 22:29:46 +0000 (22:29 +0000)]
* Added StackDisplacementOverflow test.
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.
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.
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.
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.
twisti [Fri, 22 Jul 2005 15:21:40 +0000 (15:21 +0000)]
* patcher_resolve_native: Native function is now loaded different.
motse [Fri, 22 Jul 2005 10:54:35 +0000 (10:54 +0000)]
fix warning - bug #6
twisti [Fri, 22 Jul 2005 10:31:30 +0000 (10:31 +0000)]
* Ignore generated latex files
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.
motse [Thu, 21 Jul 2005 13:51:36 +0000 (13:51 +0000)]
fix DeleteGlobalRef missing argument for IdentityHashMap.put
twisti [Thu, 21 Jul 2005 13:16:43 +0000 (13:16 +0000)]
* struct patchref: Added disp.
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.
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.
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
twisti [Thu, 21 Jul 2005 11:29:43 +0000 (11:29 +0000)]
* JAVA_VERSION: added, it's defined in global.h
twisti [Thu, 21 Jul 2005 11:00:15 +0000 (11:00 +0000)]
* Added -fullversion, required e.g. by jpackage
michi [Thu, 21 Jul 2005 00:48:42 +0000 (00:48 +0000)]
* removed ENABLE_STATICVM for arm
motse [Wed, 20 Jul 2005 19:16:17 +0000 (19:16 +0000)]
fix build error - bug #6
twisti [Wed, 20 Jul 2005 15:50:17 +0000 (15:50 +0000)]
* Added 2 tests
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.
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.
twisti [Wed, 20 Jul 2005 15:30:04 +0000 (15:30 +0000)]
* codegen_createnativestub: Save native stub in entrypoint instead of
stubroutine.
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.
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.
twisti [Wed, 20 Jul 2005 15:25:06 +0000 (15:25 +0000)]
* builtin_dummy: Removed.
* builtin_clone_array: Function header comment.
twisti [Wed, 20 Jul 2005 15:23:18 +0000 (15:23 +0000)]
* Java_java_lang_VMObject_clone: check for OOM in array case
twisti [Wed, 20 Jul 2005 15:17:14 +0000 (15:17 +0000)]
* Added java_lang_StackTraceElement.h
twisti [Wed, 20 Jul 2005 15:16:58 +0000 (15:16 +0000)]
* generateStackTraceArray: removed
* getStackTrace: set the StackTraceElement fields directly (use the header)
twisti [Wed, 20 Jul 2005 13:38:44 +0000 (13:38 +0000)]
* createnativestub: resolve function symbol before stackframeinfo creation,
otherwise the stacktrace is incorrect
twisti [Wed, 20 Jul 2005 13:37:34 +0000 (13:37 +0000)]
* M_LEA: removed
* M_ILEA, M_LLEA, M_ALEA: added
twisti [Wed, 20 Jul 2005 11:01:30 +0000 (11:01 +0000)]
* asm_call_jit_compiler: handle jit compiler exceptions properly
twisti [Wed, 20 Jul 2005 10:40:41 +0000 (10:40 +0000)]
* stacktrace_extern_fillInStackTrace: removed, not required anymore
twisti [Wed, 20 Jul 2005 10:28:18 +0000 (10:28 +0000)]
* M_LEA: added
michi [Wed, 20 Jul 2005 03:09:11 +0000 (03:09 +0000)]
* ICMD_INVOKE*: prevented precoloring of float argument registers for arm
michi [Wed, 20 Jul 2005 00:33:27 +0000 (00:33 +0000)]
* added arm defines
twisti [Tue, 19 Jul 2005 15:40:57 +0000 (15:40 +0000)]
* Removed unused unistd.h include
twisti [Tue, 19 Jul 2005 15:36:08 +0000 (15:36 +0000)]
* Removed unistd.h include
twisti [Tue, 19 Jul 2005 14:11:42 +0000 (14:11 +0000)]
* Use USE_CODEMMAP define
twisti [Tue, 19 Jul 2005 12:35:37 +0000 (12:35 +0000)]
* Added --enable-jvmti configure switch, plus ENABLE_JVMTI define
twisti [Tue, 19 Jul 2005 11:52:21 +0000 (11:52 +0000)]
* Fixed jvmti.h include path
twisti [Tue, 19 Jul 2005 11:52:08 +0000 (11:52 +0000)]
* Removed jvmti.[ch]
motse [Tue, 19 Jul 2005 10:20:57 +0000 (10:20 +0000)]
add emacs footer
motse [Tue, 19 Jul 2005 10:03:00 +0000 (10:03 +0000)]
initial support for jvmti
twisti [Tue, 19 Jul 2005 08:52:11 +0000 (08:52 +0000)]
* Added other tests
twisti [Tue, 19 Jul 2005 08:51:41 +0000 (08:51 +0000)]
* Ok, now the test is correct
michi [Tue, 19 Jul 2005 04:04:17 +0000 (04:04 +0000)]
* added ICMD_IMULPOW2 and ICMD_LMULPOW2
twisti [Mon, 18 Jul 2005 22:35:29 +0000 (22:35 +0000)]
* Added tests/regression/Makefile
twisti [Mon, 18 Jul 2005 22:34:58 +0000 (22:34 +0000)]
* SUBDIRS: added regression
twisti [Mon, 18 Jul 2005 22:34:23 +0000 (22:34 +0000)]
* Starting to make a regression suite
twisti [Mon, 18 Jul 2005 21:58:32 +0000 (21:58 +0000)]
* asm_call_jit_compiler: handle jit compiler exceptions properly
twisti [Mon, 18 Jul 2005 21:57:01 +0000 (21:57 +0000)]
* Set currentline to 0 before basicblock start
* Removed some #if 1's
twisti [Mon, 18 Jul 2005 21:55:31 +0000 (21:55 +0000)]
* lineNumberTableEntry: use ptrint as line type, otherwise we ran into
alignment problems
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)
michi [Mon, 18 Jul 2005 21:42:17 +0000 (21:42 +0000)]
* fixed compiler warning for arm (dseg_adds8 is not used)
twisti [Mon, 18 Jul 2005 20:07:52 +0000 (20:07 +0000)]
* asm_call_jit_compiler: handle jit compiler exceptions properly
* some indent changes
twisti [Mon, 18 Jul 2005 18:52:20 +0000 (18:52 +0000)]
* asm_call_jit_compiler: handle jit compiler exceptions properly
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
twisti [Mon, 18 Jul 2005 15:01:12 +0000 (15:01 +0000)]
* Set cacao version to 0.92+cvs
* Compile optimization back to -O0
twisti [Mon, 18 Jul 2005 14:46:41 +0000 (14:46 +0000)]
* asm_call_jit_compiler: handle jit compiler exceptions properly
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
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
twisti [Wed, 13 Jul 2005 21:24:31 +0000 (21:24 +0000)]
* Changelog for 0.92
twisti [Wed, 13 Jul 2005 21:13:36 +0000 (21:13 +0000)]
* Removed disass.h
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
twisti [Wed, 13 Jul 2005 19:04:25 +0000 (19:04 +0000)]
* Removed unused asmoffsets.h
twisti [Wed, 13 Jul 2005 18:50:17 +0000 (18:50 +0000)]
* Added #include "mm/memory.h"
twisti [Wed, 13 Jul 2005 16:12:20 +0000 (16:12 +0000)]
* Compiler warning fixes
* createnativestub: type in return call trace (m-> to md->)
twisti [Wed, 13 Jul 2005 12:23:30 +0000 (12:23 +0000)]
* M_PUSH_IMM: added
twisti [Wed, 13 Jul 2005 12:23:13 +0000 (12:23 +0000)]
* stack_init: --disable-threads compilation fix
twisti [Wed, 13 Jul 2005 12:10:14 +0000 (12:10 +0000)]
* Compiler warning fix
twisti [Wed, 13 Jul 2005 11:55:01 +0000 (11:55 +0000)]
* SUBDIRS: removed
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
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
twisti [Wed, 13 Jul 2005 11:50:24 +0000 (11:50 +0000)]
* Compiler warning fix
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
twisti [Wed, 13 Jul 2005 11:41:53 +0000 (11:41 +0000)]
* Compiler warnnig fixes
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 ;-)
twisti [Wed, 13 Jul 2005 11:37:18 +0000 (11:37 +0000)]
* Compiler warning fix
twisti [Wed, 13 Jul 2005 01:06:19 +0000 (01:06 +0000)]
* Changed cacao version and optimization for 0.92 release