cacao.git
18 years ago* vm/jit/jit.h: Added.
twisti [Thu, 22 Dec 2005 13:53:53 +0000 (13:53 +0000)]
* vm/jit/jit.h: Added.
* COUNT_SPILLS: Removed.

18 years ago* STATS: Renamed to STATISTICS.
twisti [Thu, 22 Dec 2005 13:52:15 +0000 (13:52 +0000)]
* STATS: Renamed to STATISTICS.
* Some code cleanup and added some IMPLEMENT ME!.

18 years ago* STATISTICS: Renamed to ENABLE_STATISTICS.
twisti [Thu, 22 Dec 2005 13:08:39 +0000 (13:08 +0000)]
* STATISTICS: Renamed to ENABLE_STATISTICS.

18 years ago* parse: Some compilers put a JAVA_NOP after a blockend instruction, don't
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.

18 years ago* builtin_displaymethodstop: Print the returned string for java.lang.String
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.

18 years ago* javastring_strlen: Changed argument type from java_objectheader to
twisti [Thu, 22 Dec 2005 10:56:20 +0000 (10:56 +0000)]
* javastring_strlen: Changed argument type from java_objectheader to
  java_lang_String.

18 years agobugfix (srcdir-related)
anton [Wed, 21 Dec 2005 16:57:29 +0000 (16:57 +0000)]
bugfix (srcdir-related)

18 years ago* # is not portable, bugfix.
anton [Wed, 21 Dec 2005 16:51:30 +0000 (16:51 +0000)]
* # is not portable, bugfix.

18 years ago* codegen_finish: -no-replication bugfix.
anton [Wed, 21 Dec 2005 16:43:21 +0000 (16:43 +0000)]
* codegen_finish: -no-replication bugfix.

18 years ago* lastmcodeptr: Also enable for intrp.
anton [Wed, 21 Dec 2005 16:42:04 +0000 (16:42 +0000)]
* lastmcodeptr: Also enable for intrp.

18 years agodisasm.c: added support for static profiling (disabled), does not
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).

18 years ago* __INTRP__, USE_spTOS: Removed.
anton [Wed, 21 Dec 2005 16:23:54 +0000 (16:23 +0000)]
* __INTRP__, USE_spTOS: Removed.

18 years ago* INCLUDES: Removed libffi include.
anton [Wed, 21 Dec 2005 16:22:04 +0000 (16:22 +0000)]
* INCLUDES: Removed libffi include.

18 years ago* opt_no_quicksuper: Added.
anton [Wed, 21 Dec 2005 16:17:37 +0000 (16:17 +0000)]
* opt_no_quicksuper: Added.

18 years ago* OPT_NO_QUICKSUPER: Added.
anton [Wed, 21 Dec 2005 16:16:47 +0000 (16:16 +0000)]
* OPT_NO_QUICKSUPER: Added.

18 years ago* Use WITH_FFI and WITH_FFCALL defines from configure.
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.

18 years ago* FFCALL: Define plus header includes removed.
twisti [Wed, 21 Dec 2005 10:27:32 +0000 (10:27 +0000)]
* FFCALL: Define plus header includes removed.

18 years ago* Use #ifdef WITH_FFI.
twisti [Wed, 21 Dec 2005 10:26:52 +0000 (10:26 +0000)]
* Use #ifdef WITH_FFI.

18 years ago* --with-avcall: Renamed to --with-ffcall.
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.

18 years ago* vm/tables.h: Removed.
twisti [Wed, 21 Dec 2005 00:11:06 +0000 (00:11 +0000)]
* vm/tables.h: Removed.

18 years ago* LSRA: Renamed to ENABLE_LSRA.
twisti [Wed, 21 Dec 2005 00:07:23 +0000 (00:07 +0000)]
* LSRA: Renamed to ENABLE_LSRA.

18 years ago* 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.

18 years ago* a0l: Defined.
twisti [Wed, 21 Dec 2005 00:03:48 +0000 (00:03 +0000)]
* a0l: Defined.

18 years ago* asm_handle_exception: Some small changes.
twisti [Wed, 21 Dec 2005 00:03:34 +0000 (00:03 +0000)]
* asm_handle_exception: Some small changes.

18 years ago* STATISTICS: Renamed AM_CONDITIONAL to ENABLE_STATISTICS.
twisti [Tue, 20 Dec 2005 23:38:23 +0000 (23:38 +0000)]
* STATISTICS: Renamed AM_CONDITIONAL to ENABLE_STATISTICS.

18 years ago* libffi: Removed.
twisti [Tue, 20 Dec 2005 23:34:05 +0000 (23:34 +0000)]
* libffi: Removed.

18 years ago* STATISTICS: Renamed to ENABLE_STATISTICS.
twisti [Tue, 20 Dec 2005 23:31:05 +0000 (23:31 +0000)]
* STATISTICS: Renamed to ENABLE_STATISTICS.
* USE_ZLIB: Renamed to ENABLE_ZLIB.

18 years ago* defineClass: Don't check for cl == NULL, this is ok.
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.

18 years ago* loader_load_all_classes: Renamed classes to htclasses.
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.

18 years ago* zip_find: Renamed classes to htclasses.
twisti [Tue, 20 Dec 2005 23:25:30 +0000 (23:25 +0000)]
* zip_find: Renamed classes to htclasses.

18 years ago* list_classpath_entry: 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.

18 years ago* We use a system libffi.
twisti [Tue, 20 Dec 2005 23:19:19 +0000 (23:19 +0000)]
* We use a system libffi.

18 years ago* STATISTICS: Renamed to ENABLE_STATISTICS.
twisti [Tue, 20 Dec 2005 23:09:36 +0000 (23:09 +0000)]
* STATISTICS: Renamed to ENABLE_STATISTICS.

18 years ago* 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.

18 years ago* FFCALL_LIB, FFI_LIB: Removed, now checked by configure.
twisti [Tue, 20 Dec 2005 23:07:31 +0000 (23:07 +0000)]
* FFCALL_LIB, FFI_LIB: Removed, now checked by configure.

18 years ago* Major cleanup.
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.

18 years ago* ICMD_AASTORECONST: Made it work again.
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.

18 years ago* Cacao's builders should only be run when certain resources change. This
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.

18 years ago* ICMD_PUTSTATICCONST, ICMD_PUTFIELDCONST: Removed, they are not generated
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.

18 years ago* This fixes a bug in the eclipse builder cacao configuration location.
twisti [Tue, 20 Dec 2005 21:10:10 +0000 (21:10 +0000)]
* This fixes a bug in the eclipse builder cacao configuration location.

18 years ago* src/vm/jit/i386/codegen.c: fixed DUP2_X1 instruction, a "->prev" was missing
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

18 years ago* resolve_method: impose loading constraints on loader of container instead
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.)

18 years ago* asm_handle_exception: Renamed to intrp_asm_handle_exception.
twisti [Tue, 13 Dec 2005 01:39:27 +0000 (01:39 +0000)]
* asm_handle_exception: Renamed to intrp_asm_handle_exception.

18 years ago* Define options as an enum.
twisti [Tue, 13 Dec 2005 01:32:35 +0000 (01:32 +0000)]
* Define options as an enum.

18 years ago* Define options in 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.

18 years ago* 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.

18 years agoprofiling stuff for static superinstructions
twisti [Mon, 12 Dec 2005 13:23:10 +0000 (13:23 +0000)]
profiling stuff for static superinstructions

18 years agoadded stuff for generating static superinstructions
twisti [Mon, 12 Dec 2005 13:21:59 +0000 (13:21 +0000)]
added stuff for generating static superinstructions

18 years ago* Make it work with non-gnu make.
twisti [Sun, 11 Dec 2005 14:06:03 +0000 (14:06 +0000)]
* Make it work with non-gnu make.

18 years ago* Replaced ENABLE_DEBUG with NDEBUG.
twisti [Sun, 11 Dec 2005 01:06:16 +0000 (01:06 +0000)]
* Replaced ENABLE_DEBUG with NDEBUG.

18 years ago* ZLIB_OBJ: Removed unzip.[ch], added zip.[ch].
twisti [Sun, 11 Dec 2005 00:02:35 +0000 (00:02 +0000)]
* ZLIB_OBJ: Removed unzip.[ch], added zip.[ch].

18 years ago* nativeGetResources: New zip code changes.
twisti [Sun, 11 Dec 2005 00:00:10 +0000 (00:00 +0000)]
* nativeGetResources: New zip code changes.

18 years ago* main: Added suck_add.
twisti [Sat, 10 Dec 2005 23:59:04 +0000 (23:59 +0000)]
* main: Added suck_add.

18 years ago* Rewrite of bootstrap ZIP handling code, now uses hashtables, this speeds
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.

18 years ago* utf_new: Removed debugging code.
twisti [Sat, 10 Dec 2005 23:55:49 +0000 (23:55 +0000)]
* utf_new: Removed debugging code.

18 years agoconverted java.vmg to use new "..." feature of vmgen
anton [Fri, 9 Dec 2005 17:35:06 +0000 (17:35 +0000)]
converted java.vmg to use new "..." feature of vmgen

18 years ago* main (compileall): Don't print the method if class linking fails.
twisti [Fri, 9 Dec 2005 15:24:03 +0000 (15:24 +0000)]
* main (compileall): Don't print the method if class linking fails.

18 years ago* signal_handler_sigsegv: Use u1* instead of functionptr.
twisti [Fri, 9 Dec 2005 15:10:04 +0000 (15:10 +0000)]
* signal_handler_sigsegv: Use u1* instead of functionptr.

18 years ago* exceptions_handle_exception: Special handling of monitorexit object for
twisti [Fri, 9 Dec 2005 15:09:13 +0000 (15:09 +0000)]
* exceptions_handle_exception: Special handling of monitorexit object for
  MIPS32.

18 years ago* vm/jit/mips/md-abi.h, vm/jit/abi.h: Added.
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.

18 years ago* codegen: Don't set cd->mcodeend (now done in codegen_setup), faster code
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.

18 years ago* asll: Added.
twisti [Fri, 9 Dec 2005 14:30:12 +0000 (14:30 +0000)]
* asll: Added.

18 years ago* Added MIPS32 stuff.
twisti [Fri, 9 Dec 2005 11:32:47 +0000 (11:32 +0000)]
* Added MIPS32 stuff.

18 years ago* builtin_monitorexit, builtin_trace_exception, initialize_class,
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.

18 years ago* vm/jit/abi.h: 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).

18 years ago* codegen: Don't set cd->mcodeend (now done in codegen_setup), faster code
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.

18 years ago* builtintable_internal: Added some #ifdef DISABLE_GC to get equal
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.

18 years ago* vm/jit/alpha/md-abi.h, vm/jit/alpha/md-asm.h, vm/jit/abi.h: Added.
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).

18 years ago* codegen: Don't set cd->mcodeend (now done in codegen_setup), faster code
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.

18 years ago* SAVE_TEMPORARY_REGISTERS, RESTORE_TEMPORARY_REGISTERS: Fixed float
twisti [Thu, 8 Dec 2005 23:10:19 +0000 (23:10 +0000)]
* SAVE_TEMPORARY_REGISTERS, RESTORE_TEMPORARY_REGISTERS: Fixed float
  registers.
* Smaller define changes.

18 years ago* Removed trailing spaces.
twisti [Thu, 8 Dec 2005 23:09:25 +0000 (23:09 +0000)]
* Removed trailing spaces.

18 years ago* builtin_trace_exception: Removed options check.
twisti [Thu, 8 Dec 2005 23:08:47 +0000 (23:08 +0000)]
* builtin_trace_exception: Removed options check.

18 years ago* exceptions_handle_exception: Check options for builtin_trace_exception.
twisti [Thu, 8 Dec 2005 23:07:57 +0000 (23:07 +0000)]
* exceptions_handle_exception: Check options for builtin_trace_exception.

18 years ago* codegendata: Removed $ifdef's from mcodeptr.
twisti [Thu, 8 Dec 2005 20:31:33 +0000 (20:31 +0000)]
* codegendata: Removed $ifdef's from mcodeptr.

18 years ago* vm/jit/abi.h, vm/jit/i386/md-abi.h, vm/jit/i386/md-asm.h: Includes added.
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.

18 years ago* noinst_HEADERS: Added md-asm.h.
twisti [Thu, 8 Dec 2005 16:27:56 +0000 (16:27 +0000)]
* noinst_HEADERS: Added md-asm.h.

18 years ago* asmpart.S defines.
twisti [Thu, 8 Dec 2005 16:27:28 +0000 (16:27 +0000)]
* asmpart.S defines.

18 years ago* Added, contains common ABI defines.
twisti [Thu, 8 Dec 2005 14:35:18 +0000 (14:35 +0000)]
* Added, contains common ABI defines.

18 years ago* config.h, vm/types.h, vm/global.h, vm/linker.h: Includes added.
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.

18 years ago* vm/jit/abi.h: 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.

18 years ago* noinst_HEADERS: Added abi.h.
twisti [Thu, 8 Dec 2005 14:31:19 +0000 (14:31 +0000)]
* noinst_HEADERS: Added abi.h.

18 years ago* Added register defines.
twisti [Thu, 8 Dec 2005 14:27:05 +0000 (14:27 +0000)]
* Added register defines.
* SAVE_TEMPORARY_REGISTERS, RESTORE_TEMPORARY_REGISTERS: Added float
  registers.

18 years ago* exceptions_handle_exception: Better assert message.
twisti [Thu, 8 Dec 2005 14:25:13 +0000 (14:25 +0000)]
* exceptions_handle_exception: Better assert message.

18 years ago* Removed accidentaly slipped in #if 0, we have to fix this properly.
twisti [Wed, 7 Dec 2005 20:23:33 +0000 (20:23 +0000)]
* Removed accidentaly slipped in #if 0, we have to fix this properly.

18 years ago* codegen_ncode_increase: #ifdef'd ENABLE_INTRP.
twisti [Wed, 7 Dec 2005 20:22:11 +0000 (20:22 +0000)]
* codegen_ncode_increase: #ifdef'd ENABLE_INTRP.
* codegen_finish: ncodelen likewise.

18 years ago* main (compileall): Print error and exception instead of calling
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.

18 years ago* load_class_bootstrap: Use new_noclassdeffounderror instead of
twisti [Wed, 7 Dec 2005 17:43:29 +0000 (17:43 +0000)]
* load_class_bootstrap: Use new_noclassdeffounderror instead of
  new_exception_utfmessage.

18 years ago* Dynamic superinstructions including patched instructions (jmv98 works).
anton [Wed, 7 Dec 2005 17:32:57 +0000 (17:32 +0000)]
* Dynamic superinstructions including patched instructions (jmv98 works).

18 years ago* AC_ASM_SKIP16: Added.
anton [Wed, 7 Dec 2005 16:10:30 +0000 (16:10 +0000)]
* AC_ASM_SKIP16: Added.

18 years ago* OPT_NO_DYNAMIC: Added.
anton [Wed, 7 Dec 2005 16:09:26 +0000 (16:09 +0000)]
* OPT_NO_DYNAMIC: Added.

18 years ago* opt_no_dynamic: Added.
anton [Wed, 7 Dec 2005 16:08:52 +0000 (16:08 +0000)]
* opt_no_dynamic: Added.

18 years ago* codegen_setup: Initialize dynamic superinstructions variables.
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.

18 years ago* NCODEINITSIZE: Added.
anton [Wed, 7 Dec 2005 16:06:19 +0000 (16:06 +0000)]
* NCODEINITSIZE: Added.
* codegendata: Added stuff for dynamic superinstructions.
* codegen_ncode_increase: Added.

18 years ago* asm_calljavafunction2: Changed void* to jni_callblock*.
anton [Wed, 7 Dec 2005 16:04:48 +0000 (16:04 +0000)]
* asm_calljavafunction2: Changed void* to jni_callblock*.

18 years ago* Dynamic superinstructions added.
anton [Wed, 7 Dec 2005 16:03:37 +0000 (16:03 +0000)]
* Dynamic superinstructions added.
* Some code cleanup.

18 years ago* asm_handle_exception: Much better, simpler and smaller implementation
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!).

18 years ago* assert.h: Added.
twisti [Tue, 6 Dec 2005 20:18:01 +0000 (20:18 +0000)]
* assert.h: Added.
* exceptions_handle_exception: Also do monitorexit.

18 years ago* asm_handle_exception: Much better, simpler and smaller implementation.
twisti [Tue, 6 Dec 2005 20:13:26 +0000 (20:13 +0000)]
* asm_handle_exception: Much better, simpler and smaller implementation.

18 years ago* asm_handle_exception: Use exceptions_handle_exception.
twisti [Mon, 5 Dec 2005 22:54:42 +0000 (22:54 +0000)]
* asm_handle_exception: Use exceptions_handle_exception.

18 years ago* offclassloaded, offclasslinked: Removed.
twisti [Mon, 5 Dec 2005 22:10:54 +0000 (22:10 +0000)]
* offclassloaded, offclasslinked: Removed.