twisti [Thu, 22 Dec 2005 13:53:53 +0000 (13:53 +0000)]
* vm/jit/jit.h: Added.
* COUNT_SPILLS: Removed.
twisti [Thu, 22 Dec 2005 13:52:15 +0000 (13:52 +0000)]
* STATS: Renamed to STATISTICS.
* Some code cleanup and added some IMPLEMENT ME!.
twisti [Thu, 22 Dec 2005 13:08:39 +0000 (13:08 +0000)]
* STATISTICS: Renamed to ENABLE_STATISTICS.
twisti [Thu, 22 Dec 2005 11:17:05 +0000 (11:17 +0000)]
* parse: Some compilers put a JAVA_NOP after a blockend instruction, don't
know which though, but found a binary which had such a basic block.
twisti [Thu, 22 Dec 2005 11:06:29 +0000 (11:06 +0000)]
* builtin_displaymethodstop: Print the returned string for java.lang.String
objects and the class for all others.
twisti [Thu, 22 Dec 2005 10:56:20 +0000 (10:56 +0000)]
* javastring_strlen: Changed argument type from java_objectheader to
java_lang_String.
anton [Wed, 21 Dec 2005 16:57:29 +0000 (16:57 +0000)]
bugfix (srcdir-related)
anton [Wed, 21 Dec 2005 16:51:30 +0000 (16:51 +0000)]
* # is not portable, bugfix.
anton [Wed, 21 Dec 2005 16:43:21 +0000 (16:43 +0000)]
* codegen_finish: -no-replication bugfix.
anton [Wed, 21 Dec 2005 16:42:04 +0000 (16:42 +0000)]
* lastmcodeptr: Also enable for intrp.
anton [Wed, 21 Dec 2005 16:39:52 +0000 (16:39 +0000)]
disasm.c: added support for static profiling (disabled), does not
generate subsequences
added -no-replication implementation
added interpreter code generation statistics
added -no-quicksuper
added static superinstructions (combined with dynamic superinstructions)
and related files (peephole-addsubseq.awk peephole-statistics peeprules.vmg)
engine.c: played around tuning the dispatch and the register allocation
(mostly disabled now)
throwing-instruction optimization can be turned off now (with small
source code change).
anton [Wed, 21 Dec 2005 16:23:54 +0000 (16:23 +0000)]
* __INTRP__, USE_spTOS: Removed.
anton [Wed, 21 Dec 2005 16:22:04 +0000 (16:22 +0000)]
* INCLUDES: Removed libffi include.
anton [Wed, 21 Dec 2005 16:17:37 +0000 (16:17 +0000)]
* opt_no_quicksuper: Added.
anton [Wed, 21 Dec 2005 16:16:47 +0000 (16:16 +0000)]
* OPT_NO_QUICKSUPER: Added.
twisti [Wed, 21 Dec 2005 10:28:28 +0000 (10:28 +0000)]
* Use WITH_FFI and WITH_FFCALL defines from configure.
* nativecall: Bugfix for ffcall, forgot to port from ffi.
twisti [Wed, 21 Dec 2005 10:27:32 +0000 (10:27 +0000)]
* FFCALL: Define plus header includes removed.
twisti [Wed, 21 Dec 2005 10:26:52 +0000 (10:26 +0000)]
* Use #ifdef WITH_FFI.
twisti [Wed, 21 Dec 2005 10:25:25 +0000 (10:25 +0000)]
* --with-avcall: Renamed to --with-ffcall.
* ffcall: Check for __builtin_avcall, as av_call is defined in avcall.h.
twisti [Wed, 21 Dec 2005 00:11:06 +0000 (00:11 +0000)]
* vm/tables.h: Removed.
twisti [Wed, 21 Dec 2005 00:07:23 +0000 (00:07 +0000)]
* LSRA: Renamed to ENABLE_LSRA.
twisti [Wed, 21 Dec 2005 00:05:48 +0000 (00:05 +0000)]
* LSRA: Renamed to ENABLE_LSRA.
* STATISTICS: Renamed to ENABLE_STATISTICS.
twisti [Wed, 21 Dec 2005 00:03:48 +0000 (00:03 +0000)]
* a0l: Defined.
twisti [Wed, 21 Dec 2005 00:03:34 +0000 (00:03 +0000)]
* asm_handle_exception: Some small changes.
twisti [Tue, 20 Dec 2005 23:38:23 +0000 (23:38 +0000)]
* STATISTICS: Renamed AM_CONDITIONAL to ENABLE_STATISTICS.
twisti [Tue, 20 Dec 2005 23:34:05 +0000 (23:34 +0000)]
* libffi: Removed.
twisti [Tue, 20 Dec 2005 23:31:05 +0000 (23:31 +0000)]
* STATISTICS: Renamed to ENABLE_STATISTICS.
* USE_ZLIB: Renamed to ENABLE_ZLIB.
twisti [Tue, 20 Dec 2005 23:28:13 +0000 (23:28 +0000)]
* defineClass: Don't check for cl == NULL, this is ok.
* USE_ZLIB: Renamed to ENABLE_ZLIB.
twisti [Tue, 20 Dec 2005 23:26:55 +0000 (23:26 +0000)]
* loader_load_all_classes: Renamed classes to htclasses.
* USE_ZLIB: Renamed to ENABLE_ZLIB.
twisti [Tue, 20 Dec 2005 23:25:30 +0000 (23:25 +0000)]
* zip_find: Renamed classes to htclasses.
twisti [Tue, 20 Dec 2005 23:25:07 +0000 (23:25 +0000)]
* list_classpath_entry: Renamed classes to htclasses.
* USE_ZLIB: Renamed to ENABLE_ZLIB.
twisti [Tue, 20 Dec 2005 23:19:19 +0000 (23:19 +0000)]
* We use a system libffi.
twisti [Tue, 20 Dec 2005 23:09:36 +0000 (23:09 +0000)]
* STATISTICS: Renamed to ENABLE_STATISTICS.
twisti [Tue, 20 Dec 2005 23:08:15 +0000 (23:08 +0000)]
* STATISTICS: Renamed to ENABLE_STATISTICS.
* LSRA: Renamed to ENABLE_LSRA.
twisti [Tue, 20 Dec 2005 23:07:31 +0000 (23:07 +0000)]
* FFCALL_LIB, FFI_LIB: Removed, now checked by configure.
twisti [Tue, 20 Dec 2005 22:48:00 +0000 (22:48 +0000)]
* Major cleanup.
* Check for ffi or ffcall.
* STATISTICS: Renamed to ENABLE_STATISTICS.
* EXTERNAL_OVERFLOW, DONT_FREE_FIRST: Removed.
* LSRA: Renamed to ENABLE_LSRA.
* USE_ZLIB: Renamed to ENABLE_ZLIB.
* AC_CONFIG_SUBDIRS: Removed src/libffi.
twisti [Tue, 20 Dec 2005 22:14:01 +0000 (22:14 +0000)]
* ICMD_AASTORECONST: Made it work again.
* ICMD_xASTORECONST, ICMD_PUTSTATICCONST, ICMD_PUTFIELDCONST: Don't
generate for intrp.
twisti [Tue, 20 Dec 2005 21:45:02 +0000 (21:45 +0000)]
* Cacao's builders should only be run when certain resources change. This
patch gives an approximate set and prevents cacao from being rebuilt
when classpath is changed.
twisti [Tue, 20 Dec 2005 21:13:10 +0000 (21:13 +0000)]
* ICMD_PUTSTATICCONST, ICMD_PUTFIELDCONST: Removed, they are not generated
in stack for intrp.
twisti [Tue, 20 Dec 2005 21:10:10 +0000 (21:10 +0000)]
* This fixes a bug in the eclipse builder cacao configuration location.
edwin [Tue, 20 Dec 2005 20:39:09 +0000 (20:39 +0000)]
* src/vm/jit/i386/codegen.c: fixed DUP2_X1 instruction, a "->prev" was missing
edwin [Tue, 20 Dec 2005 12:59:22 +0000 (12:59 +0000)]
* resolve_method: impose loading constraints on loader of container instead
of declarer of the method. This fixes incorrect constraints on the
'this' parameter. (For other parameters it makes no difference.)
twisti [Tue, 13 Dec 2005 01:39:27 +0000 (01:39 +0000)]
* asm_handle_exception: Renamed to intrp_asm_handle_exception.
twisti [Tue, 13 Dec 2005 01:32:35 +0000 (01:32 +0000)]
* Define options as an enum.
twisti [Tue, 13 Dec 2005 01:32:02 +0000 (01:32 +0000)]
* Define options in an enum.
* OPT_NO_REPLICATION, opt_no_replication: Added.
twisti [Tue, 13 Dec 2005 01:31:14 +0000 (01:31 +0000)]
* opt_no_replication: Added.
* OPT_ERROR, OPT_IGNORE: Defined negative since the other options are an
enum.
twisti [Mon, 12 Dec 2005 13:23:10 +0000 (13:23 +0000)]
profiling stuff for static superinstructions
twisti [Mon, 12 Dec 2005 13:21:59 +0000 (13:21 +0000)]
added stuff for generating static superinstructions
twisti [Sun, 11 Dec 2005 14:06:03 +0000 (14:06 +0000)]
* Make it work with non-gnu make.
twisti [Sun, 11 Dec 2005 01:06:16 +0000 (01:06 +0000)]
* Replaced ENABLE_DEBUG with NDEBUG.
twisti [Sun, 11 Dec 2005 00:02:35 +0000 (00:02 +0000)]
* ZLIB_OBJ: Removed unzip.[ch], added zip.[ch].
twisti [Sun, 11 Dec 2005 00:00:10 +0000 (00:00 +0000)]
* nativeGetResources: New zip code changes.
twisti [Sat, 10 Dec 2005 23:59:04 +0000 (23:59 +0000)]
* main: Added suck_add.
twisti [Sat, 10 Dec 2005 23:58:29 +0000 (23:58 +0000)]
* Rewrite of bootstrap ZIP handling code, now uses hashtables, this speeds
up VM startup and other stuff quite noticeable.
twisti [Sat, 10 Dec 2005 23:55:49 +0000 (23:55 +0000)]
* utf_new: Removed debugging code.
anton [Fri, 9 Dec 2005 17:35:06 +0000 (17:35 +0000)]
converted java.vmg to use new "..." feature of vmgen
twisti [Fri, 9 Dec 2005 15:24:03 +0000 (15:24 +0000)]
* main (compileall): Don't print the method if class linking fails.
twisti [Fri, 9 Dec 2005 15:10:04 +0000 (15:10 +0000)]
* signal_handler_sigsegv: Use u1* instead of functionptr.
twisti [Fri, 9 Dec 2005 15:09:13 +0000 (15:09 +0000)]
* exceptions_handle_exception: Special handling of monitorexit object for
MIPS32.
twisti [Fri, 9 Dec 2005 14:39:10 +0000 (14:39 +0000)]
* vm/jit/mips/md-abi.h, vm/jit/abi.h: Added.
* asm_handle_exception: Major rewrite.
* More code cleanup in other functions.
twisti [Fri, 9 Dec 2005 14:32:46 +0000 (14:32 +0000)]
* codegen: Don't set cd->mcodeend (now done in codegen_setup), faster code
for static monitorenter.
twisti [Fri, 9 Dec 2005 14:30:12 +0000 (14:30 +0000)]
* asll: Added.
twisti [Fri, 9 Dec 2005 11:32:47 +0000 (11:32 +0000)]
* Added MIPS32 stuff.
twisti [Fri, 9 Dec 2005 01:14:29 +0000 (01:14 +0000)]
* builtin_monitorexit, builtin_trace_exception, initialize_class,
link_class, load_class_bootstrap: Removed.
* exceptions_handle_exception: Added.
twisti [Fri, 9 Dec 2005 00:42:56 +0000 (00:42 +0000)]
* vm/jit/abi.h: Added.
* asm_handle_exception: Major rewrite.
* More code cleanup in other functions (still some stuff left).
twisti [Fri, 9 Dec 2005 00:41:56 +0000 (00:41 +0000)]
* codegen: Don't set cd->mcodeend (now done in codegen_setup), faster code
for static monitorenter.
twisti [Thu, 8 Dec 2005 23:17:21 +0000 (23:17 +0000)]
* builtintable_internal: Added some #ifdef DISABLE_GC to get equal
addresses in call trace.
twisti [Thu, 8 Dec 2005 23:15:26 +0000 (23:15 +0000)]
* vm/jit/alpha/md-abi.h, vm/jit/alpha/md-asm.h, vm/jit/abi.h: Added.
* asm_handle_exception: Major rewrite.
* More code cleanup in other functions (still some stuff left).
twisti [Thu, 8 Dec 2005 23:12:01 +0000 (23:12 +0000)]
* codegen: Don't set cd->mcodeend (now done in codegen_setup), faster code
for static monitorenter.
twisti [Thu, 8 Dec 2005 23:10:19 +0000 (23:10 +0000)]
* SAVE_TEMPORARY_REGISTERS, RESTORE_TEMPORARY_REGISTERS: Fixed float
registers.
* Smaller define changes.
twisti [Thu, 8 Dec 2005 23:09:25 +0000 (23:09 +0000)]
* Removed trailing spaces.
twisti [Thu, 8 Dec 2005 23:08:47 +0000 (23:08 +0000)]
* builtin_trace_exception: Removed options check.
twisti [Thu, 8 Dec 2005 23:07:57 +0000 (23:07 +0000)]
* exceptions_handle_exception: Check options for builtin_trace_exception.
twisti [Thu, 8 Dec 2005 20:31:33 +0000 (20:31 +0000)]
* codegendata: Removed $ifdef's from mcodeptr.
twisti [Thu, 8 Dec 2005 16:29:33 +0000 (16:29 +0000)]
* vm/jit/abi.h, vm/jit/i386/md-abi.h, vm/jit/i386/md-asm.h: Includes added.
* asm_handle_exception: Save temporary register, they may be used in leaf
functions or over try-catch blocks without a call.
* Huge code cleanup in some functions.
twisti [Thu, 8 Dec 2005 16:27:56 +0000 (16:27 +0000)]
* noinst_HEADERS: Added md-asm.h.
twisti [Thu, 8 Dec 2005 16:27:28 +0000 (16:27 +0000)]
* asmpart.S defines.
twisti [Thu, 8 Dec 2005 14:35:18 +0000 (14:35 +0000)]
* Added, contains common ABI defines.
twisti [Thu, 8 Dec 2005 14:33:46 +0000 (14:33 +0000)]
* config.h, vm/types.h, vm/global.h, vm/linker.h: Includes added.
twisti [Thu, 8 Dec 2005 14:32:53 +0000 (14:32 +0000)]
* vm/jit/abi.h: Added.
* asm_handle_exception: Save temporary register, they may be used in leaf
functions or over try-catch blocks without a call.
* Huge code cleanup in all functions.
twisti [Thu, 8 Dec 2005 14:31:19 +0000 (14:31 +0000)]
* noinst_HEADERS: Added abi.h.
twisti [Thu, 8 Dec 2005 14:27:05 +0000 (14:27 +0000)]
* Added register defines.
* SAVE_TEMPORARY_REGISTERS, RESTORE_TEMPORARY_REGISTERS: Added float
registers.
twisti [Thu, 8 Dec 2005 14:25:13 +0000 (14:25 +0000)]
* exceptions_handle_exception: Better assert message.
twisti [Wed, 7 Dec 2005 20:23:33 +0000 (20:23 +0000)]
* Removed accidentaly slipped in #if 0, we have to fix this properly.
twisti [Wed, 7 Dec 2005 20:22:11 +0000 (20:22 +0000)]
* codegen_ncode_increase: #ifdef'd ENABLE_INTRP.
* codegen_finish: ncodelen likewise.
twisti [Wed, 7 Dec 2005 17:44:37 +0000 (17:44 +0000)]
* main (compileall): Print error and exception instead of calling
throw_main_exception_exit.
twisti [Wed, 7 Dec 2005 17:43:29 +0000 (17:43 +0000)]
* load_class_bootstrap: Use new_noclassdeffounderror instead of
new_exception_utfmessage.
anton [Wed, 7 Dec 2005 17:32:57 +0000 (17:32 +0000)]
* Dynamic superinstructions including patched instructions (jmv98 works).
anton [Wed, 7 Dec 2005 16:10:30 +0000 (16:10 +0000)]
* AC_ASM_SKIP16: Added.
anton [Wed, 7 Dec 2005 16:09:26 +0000 (16:09 +0000)]
* OPT_NO_DYNAMIC: Added.
anton [Wed, 7 Dec 2005 16:08:52 +0000 (16:08 +0000)]
* opt_no_dynamic: Added.
anton [Wed, 7 Dec 2005 16:07:54 +0000 (16:07 +0000)]
* codegen_setup: Initialize dynamic superinstructions variables.
* codegen_ncode_increase: Added.
* codegen_finish: Relocate dynamic superinstruction code space.
anton [Wed, 7 Dec 2005 16:06:19 +0000 (16:06 +0000)]
* NCODEINITSIZE: Added.
* codegendata: Added stuff for dynamic superinstructions.
* codegen_ncode_increase: Added.
anton [Wed, 7 Dec 2005 16:04:48 +0000 (16:04 +0000)]
* asm_calljavafunction2: Changed void* to jni_callblock*.
anton [Wed, 7 Dec 2005 16:03:37 +0000 (16:03 +0000)]
* Dynamic superinstructions added.
* Some code cleanup.
twisti [Tue, 6 Dec 2005 22:30:30 +0000 (22:30 +0000)]
* asm_handle_exception: Much better, simpler and smaller implementation
(but SWT does not work yet, FIXME!).
twisti [Tue, 6 Dec 2005 20:18:01 +0000 (20:18 +0000)]
* assert.h: Added.
* exceptions_handle_exception: Also do monitorexit.
twisti [Tue, 6 Dec 2005 20:13:26 +0000 (20:13 +0000)]
* asm_handle_exception: Much better, simpler and smaller implementation.
twisti [Mon, 5 Dec 2005 22:54:42 +0000 (22:54 +0000)]
* asm_handle_exception: Use exceptions_handle_exception.
twisti [Mon, 5 Dec 2005 22:10:54 +0000 (22:10 +0000)]
* offclassloaded, offclasslinked: Removed.