cacao.git
18 years agoThis commit was manufactured by cvs2svn to create tag
unknown [Thu, 24 Nov 2005 00:26:18 +0000 (00:26 +0000)]
This commit was manufactured by cvs2svn to create tag
'cacao-0_93-release'.

18 years ago* Updated to 0.93.
twisti [Thu, 24 Nov 2005 00:26:18 +0000 (00:26 +0000)]
* Updated to 0.93.

18 years ago* Changed version to 0.93.
twisti [Thu, 24 Nov 2005 00:21:05 +0000 (00:21 +0000)]
* Changed version to 0.93.

18 years ago* Renamed checkall to check.
twisti [Wed, 23 Nov 2005 23:16:29 +0000 (23:16 +0000)]
* Renamed checkall to check.

18 years ago* EXTRA_DIST: Added with java.vmg.
twisti [Wed, 23 Nov 2005 23:16:14 +0000 (23:16 +0000)]
* EXTRA_DIST: Added with java.vmg.

18 years ago* EXTRA_DIST: Added Test.sh.
twisti [Wed, 23 Nov 2005 22:55:56 +0000 (22:55 +0000)]
* EXTRA_DIST: Added Test.sh.

18 years ago* EXTRA_DIST: Added prop.java.
twisti [Wed, 23 Nov 2005 22:55:39 +0000 (22:55 +0000)]
* EXTRA_DIST: Added prop.java.

18 years ago* Updated.
twisti [Wed, 23 Nov 2005 22:55:19 +0000 (22:55 +0000)]
* Updated.

18 years ago* EXTRA_DIST: Typo.
twisti [Wed, 23 Nov 2005 22:49:44 +0000 (22:49 +0000)]
* EXTRA_DIST: Typo.

18 years ago* gen_inst: Use lastmcodeptr instead of last_compiled.
twisti [Wed, 23 Nov 2005 22:40:18 +0000 (22:40 +0000)]
* gen_inst: Use lastmcodeptr instead of last_compiled.

18 years ago* vm/types.h: Added.
twisti [Wed, 23 Nov 2005 22:39:49 +0000 (22:39 +0000)]
* vm/types.h: Added.
* MCODECHECK: Use lastmcodeptr instead of last_compiled.

18 years ago* (cacao.1): fix typo
edwin [Wed, 23 Nov 2005 22:39:20 +0000 (22:39 +0000)]
* (cacao.1): fix typo

18 years ago* gen_BBSTART: Use lastmodeptr instead of last_compiled.
twisti [Wed, 23 Nov 2005 22:39:16 +0000 (22:39 +0000)]
* gen_BBSTART: Use lastmodeptr instead of last_compiled.
* createcalljavafunction: Changed return type from
  functionptr to u1*.

18 years ago* createcompilerstub, createnativestub: Changed return type from
twisti [Wed, 23 Nov 2005 22:38:24 +0000 (22:38 +0000)]
* createcompilerstub, createnativestub: Changed return type from
  functionptr to u1*.

18 years ago* libintrp_la_SOURCES: Added *.i files.
twisti [Wed, 23 Nov 2005 22:37:53 +0000 (22:37 +0000)]
* libintrp_la_SOURCES: Added *.i files.
* BUILT_SOURCES: Removed.

18 years ago* Use codegen_findmethod for intrp and md_codegen_findmethod for jit.
twisti [Wed, 23 Nov 2005 22:36:59 +0000 (22:36 +0000)]
* Use codegen_findmethod for intrp and md_codegen_findmethod for jit.

18 years ago* codegendata: Removed last_compiled for intrp and use lastmcodeptr
twisti [Wed, 23 Nov 2005 22:36:14 +0000 (22:36 +0000)]
* codegendata: Removed last_compiled for intrp and use lastmcodeptr
  instead.

18 years ago* EXTRA_DIST: Added hello.java.
twisti [Wed, 23 Nov 2005 22:34:54 +0000 (22:34 +0000)]
* EXTRA_DIST: Added hello.java.

18 years ago* EXTRA_DIST: Added with all files.
twisti [Wed, 23 Nov 2005 22:33:55 +0000 (22:33 +0000)]
* EXTRA_DIST: Added with all files.

18 years ago* EXTRA_DIST: Added libtool-version.
twisti [Wed, 23 Nov 2005 22:33:20 +0000 (22:33 +0000)]
* EXTRA_DIST: Added libtool-version.

18 years ago* Removed duplicate stuff that slipped in when added alpha-freebsd support.
twisti [Wed, 23 Nov 2005 21:47:11 +0000 (21:47 +0000)]
* Removed duplicate stuff that slipped in when added alpha-freebsd support.

18 years ago* (cacao.1): use .BR again. The problem on IRIX was the 6-argument limitation.
edwin [Wed, 23 Nov 2005 21:43:40 +0000 (21:43 +0000)]
* (cacao.1): use .BR again. The problem on IRIX was the 6-argument limitation.
             We currently do not care about that.

18 years ago* Added alpha-freebsd support.
twisti [Wed, 23 Nov 2005 21:36:35 +0000 (21:36 +0000)]
* Added alpha-freebsd support.

18 years ago* src/vm/jit/alpha/freebsd/Makefile, src/vm/jit/alpha/linux/Makefile:
twisti [Wed, 23 Nov 2005 21:35:51 +0000 (21:35 +0000)]
* src/vm/jit/alpha/freebsd/Makefile, src/vm/jit/alpha/linux/Makefile:
  Added.

18 years ago* (cacao.1): IRIX does not seem to like the .BR macro, so we avoid it.
edwin [Wed, 23 Nov 2005 21:29:44 +0000 (21:29 +0000)]
* (cacao.1): IRIX does not seem to like the .BR macro, so we avoid it.

18 years ago* (cacao.1): updated the manpage
edwin [Wed, 23 Nov 2005 21:17:19 +0000 (21:17 +0000)]
* (cacao.1): updated the manpage

18 years ago* noinst_HEADERS: Added methodheader.h and disass.h.
twisti [Wed, 23 Nov 2005 15:05:59 +0000 (15:05 +0000)]
* noinst_HEADERS: Added methodheader.h and disass.h.

18 years ago* EXTRA_DIST: Added configure.host.
twisti [Wed, 23 Nov 2005 15:05:22 +0000 (15:05 +0000)]
* EXTRA_DIST: Added configure.host.

18 years ago* EXTRA_DIST: Added all java files.
twisti [Wed, 23 Nov 2005 15:04:53 +0000 (15:04 +0000)]
* EXTRA_DIST: Added all java files.

18 years ago* asmoffsets.h, disass.h: Removed if missed before.
twisti [Wed, 23 Nov 2005 14:41:16 +0000 (14:41 +0000)]
* asmoffsets.h, disass.h: Removed if missed before.

18 years ago* jctest, fptest, fp, extest: Removed.
twisti [Wed, 23 Nov 2005 14:40:36 +0000 (14:40 +0000)]
* jctest, fptest, fp, extest: Removed.

18 years ago* Removed, most of them are now regression tests.
twisti [Wed, 23 Nov 2005 14:40:12 +0000 (14:40 +0000)]
* Removed, most of them are now regression tests.

18 years ago* ICMD_xASTORE: Moved var_to_reg_xxx directly before actual store, this
twisti [Wed, 23 Nov 2005 12:54:34 +0000 (12:54 +0000)]
* ICMD_xASTORE: Moved var_to_reg_xxx directly before actual store, this
  makes life much easier on mips32.
* ICMD_{I,L,A}ASTORECONST: Use M_xST_INTERN macro as the offset will not
  overflow.

18 years ago* ICMD_xALOAD: Use REG_ITMP3 register to calculate the base address, this
twisti [Wed, 23 Nov 2005 12:31:43 +0000 (12:31 +0000)]
* ICMD_xALOAD: Use REG_ITMP3 register to calculate the base address, this
  is necessary on mips32.

18 years ago* ICMD_GETFIELD: Check if a destination register is equals the source
twisti [Wed, 23 Nov 2005 11:56:47 +0000 (11:56 +0000)]
* ICMD_GETFIELD: Check if a destination register is equals the source
  register for long type.

18 years ago* signal_handler_sigsegv, signal_handler_sigfpe: Replaced functionptr with
twisti [Wed, 23 Nov 2005 00:47:27 +0000 (00:47 +0000)]
* signal_handler_sigsegv, signal_handler_sigfpe: Replaced functionptr with
  u1*.

18 years ago* md_stacktrace_get_returnaddress: Changed return type from functionptr to
twisti [Wed, 23 Nov 2005 00:46:54 +0000 (00:46 +0000)]
* md_stacktrace_get_returnaddress: Changed return type from functionptr to
  u1*.
* md_codegen_findmethod: Added.

18 years ago* createcompilerstub, createnativestub: Changed return type from
twisti [Wed, 23 Nov 2005 00:46:19 +0000 (00:46 +0000)]
* createcompilerstub, createnativestub: Changed return type from
  functionptr to u1*.

18 years ago* signal_handler_sigsegv: Use u1* instead of functionptr.
twisti [Wed, 23 Nov 2005 00:21:56 +0000 (00:21 +0000)]
* signal_handler_sigsegv: Use u1* instead of functionptr.

18 years ago* md_stacktrace_get_returnaddress: Use u1* instead of functionptr.
twisti [Wed, 23 Nov 2005 00:21:14 +0000 (00:21 +0000)]
* md_stacktrace_get_returnaddress: Use u1* instead of functionptr.
* codegen_findmethod: Renamed to md_codegen_findmethod.

18 years ago* createcompilerstub, createnativestub: Changed return type from
twisti [Wed, 23 Nov 2005 00:20:13 +0000 (00:20 +0000)]
* createcompilerstub, createnativestub: Changed return type from
  functionptr to u1*.

18 years ago* Made most functions private.
twisti [Wed, 23 Nov 2005 00:06:39 +0000 (00:06 +0000)]
* Made most functions private.

18 years ago* md_stacktrace_get_returnaddress: Use u1* instead of functionptr.
twisti [Wed, 23 Nov 2005 00:05:04 +0000 (00:05 +0000)]
* md_stacktrace_get_returnaddress: Use u1* instead of functionptr.
* codegen_findmethod: Renamed to md_codegen_findmethod.

18 years ago* createcompilerstub, createnativestub: Changed return type from
twisti [Wed, 23 Nov 2005 00:03:54 +0000 (00:03 +0000)]
* createcompilerstub, createnativestub: Changed return type from
  functionptr to u1*.

18 years ago* createcompilerstub, createnativestub: Changed return type from
twisti [Tue, 22 Nov 2005 23:54:41 +0000 (23:54 +0000)]
* createcompilerstub, createnativestub: Changed return type from
  functionptr to u1*.

18 years ago* signal_handler_sigsegv, signal_handler_sigfpe: Replaced functionptr with
twisti [Tue, 22 Nov 2005 23:47:28 +0000 (23:47 +0000)]
* signal_handler_sigsegv, signal_handler_sigfpe: Replaced functionptr with
  u1*.
* md_stacktrace_get_returnaddress: Changed return type from functionptr to
  u1*.
* md_codegen_findmethod: Added.

18 years ago* config.h: Added.
twisti [Tue, 22 Nov 2005 23:46:22 +0000 (23:46 +0000)]
* config.h: Added.
* Some code reformatting.

18 years ago* createcompilerstub, createnativestub: Changed return type from
twisti [Tue, 22 Nov 2005 23:45:51 +0000 (23:45 +0000)]
* createcompilerstub, createnativestub: Changed return type from
  functionptr to u1*.

18 years ago* asm_builtin_arraycheckcast: Removed global.
twisti [Tue, 22 Nov 2005 23:45:10 +0000 (23:45 +0000)]
* asm_builtin_arraycheckcast: Removed global.

18 years ago* Changed functionptr to u1*.
twisti [Tue, 22 Nov 2005 23:43:53 +0000 (23:43 +0000)]
* Changed functionptr to u1*.

18 years ago* do_nothing_function, jit_compile, jit_compile_intern: Changed return type
twisti [Tue, 22 Nov 2005 23:42:43 +0000 (23:42 +0000)]
* do_nothing_function, jit_compile, jit_compile_intern: Changed return type
  from functionptr to u1*.

18 years ago* methodinfo: Changed functionptr to u1*.
twisti [Tue, 22 Nov 2005 23:41:34 +0000 (23:41 +0000)]
* methodinfo: Changed functionptr to u1*.

18 years ago* patcher_builtin_new, patcher_builtin_newarray,
twisti [Tue, 22 Nov 2005 23:40:30 +0000 (23:40 +0000)]
* patcher_builtin_new, patcher_builtin_newarray,
  patcher_builtin_arrayinstanceof: Removed.
* asm_builtin_idiv, asm_builtin_irem, asm_builtin_ldiv, asm_builtin_lrem:
  Likewise.
* asm_builtin_monitorenter, asm_builtin_monitorexit: Likewise.
* asm_builtin_arraycheckcast: Likewise.
* setVMClassField: Likewise.
* Changed functionptr to u1*.

18 years ago* Replaced functionptr with u1*.
twisti [Tue, 22 Nov 2005 23:07:41 +0000 (23:07 +0000)]
* Replaced functionptr with u1*.
* Call md_codegen_findmethod instead of codegen_findmethod.

18 years ago* Added defined(DISABLE_GC) to methodtree stuff so we allocate the same
twisti [Tue, 22 Nov 2005 23:06:26 +0000 (23:06 +0000)]
* Added defined(DISABLE_GC) to methodtree stuff so we allocate the same
  amount of memory for -verbosecall compares.
* md_codegen_findmethod: Added.

18 years ago* Added defined(DISABLE_GC) to methodtree stuff so we allocate the same
twisti [Tue, 22 Nov 2005 23:05:51 +0000 (23:05 +0000)]
* Added defined(DISABLE_GC) to methodtree stuff so we allocate the same
  amount of memory for -verbosecall compares.
* codegen_start_native_call: Replaced functionptr with u1*.

18 years ago* md_init: Removed #if 0 from ieee_set_fp_control but it does not fix the
twisti [Tue, 22 Nov 2005 23:04:38 +0000 (23:04 +0000)]
* md_init: Removed #if 0 from ieee_set_fp_control but it does not fix the
  floating point problems.
* signal_handler_sigsegv: Use u1* instead of functionptr.
* md_stacktrace_get_returnaddress: Likewise.
* codegen_findmethod: Renamed to md_codegen_findmethod.

18 years ago* codegen_start_native_call, codegen_finish_native_call: Added.
twisti [Tue, 22 Nov 2005 22:55:16 +0000 (22:55 +0000)]
* codegen_start_native_call, codegen_finish_native_call: Added.

18 years agoadded name to Changes:
christian [Tue, 22 Nov 2005 22:47:00 +0000 (22:47 +0000)]
added name to Changes:

18 years ago* compile_all_class_methods: Removed.
twisti [Tue, 22 Nov 2005 22:32:30 +0000 (22:32 +0000)]
* compile_all_class_methods: Removed.

18 years agoFix for dependence conflict regarding ICMD_DUP* and locals
christian [Tue, 22 Nov 2005 22:21:20 +0000 (22:21 +0000)]
Fix for dependence conflict regarding ICMD_DUP* and locals

18 years agofix for ICMD_DUP*
christian [Tue, 22 Nov 2005 21:32:20 +0000 (21:32 +0000)]
fix for ICMD_DUP*

18 years agoChanges for Usage Count and spill heuristik
christian [Tue, 22 Nov 2005 14:36:16 +0000 (14:36 +0000)]
Changes for Usage Count and spill heuristik

18 years ago* Removed __INTRP__ define.
twisti [Tue, 22 Nov 2005 11:39:17 +0000 (11:39 +0000)]
* Removed __INTRP__ define.

18 years ago* md-abi.h: Removed.
twisti [Tue, 22 Nov 2005 11:38:59 +0000 (11:38 +0000)]
* md-abi.h: Removed.

18 years ago* Renamed __INTRP__ to ENABLE_INTRP which is defined during configure run.
twisti [Tue, 22 Nov 2005 11:38:12 +0000 (11:38 +0000)]
* Renamed __INTRP__ to ENABLE_INTRP which is defined during configure run.

18 years ago* createnativestub: Fixed wrong compare value to xxx_ARG_CNT value, this
twisti [Tue, 22 Nov 2005 00:14:44 +0000 (00:14 +0000)]
* createnativestub: Fixed wrong compare value to xxx_ARG_CNT value, this
  caused unsaved arguments.

18 years ago* asm_wrapper_patcher: Fixed two typos for powerpc-linux.
twisti [Mon, 21 Nov 2005 22:01:57 +0000 (22:01 +0000)]
* asm_wrapper_patcher: Fixed two typos for powerpc-linux.

18 years ago* asm_calljavafunction: Fixed darwin -O2 compilation, we forgot to save
twisti [Mon, 21 Nov 2005 21:38:44 +0000 (21:38 +0000)]
* asm_calljavafunction: Fixed darwin -O2 compilation, we forgot to save
  r16 (itmp3).
* asm_calljavafunction2: Likewise.
* asm_wrapper_patcher: Also save temporary registers, required for leaf
  methods.

18 years ago* Added a comment about r2.
twisti [Mon, 21 Nov 2005 20:59:53 +0000 (20:59 +0000)]
* Added a comment about r2.

18 years ago* analyse_stack: allocate a dummy stack slot for ICMD_IINC to keep ISTORE
edwin [Mon, 21 Nov 2005 19:59:12 +0000 (19:59 +0000)]
* analyse_stack: allocate a dummy stack slot for ICMD_IINC to keep ISTORE
                 from incorrectly creating a LOCALVAR on the stack although
                 IINC changed the variable.
* jit_init: reserve a stack slot for IINC

18 years agoRemoved lsra fallback in case of subroutines or exception handlers
christian [Sun, 20 Nov 2005 13:22:51 +0000 (13:22 +0000)]
Removed lsra fallback in case of subroutines or exception handlers
Nesting depth calculation improvements
Usage count really considered by lsra

18 years agoRemoved lsra fallback in case of subroutines or exception handlers
christian [Sun, 20 Nov 2005 13:21:18 +0000 (13:21 +0000)]
Removed lsra fallback in case of subroutines or exception handlers

18 years agoRemoved obsolete output of reserved Register usage
christian [Sun, 20 Nov 2005 13:21:02 +0000 (13:21 +0000)]
Removed obsolete output of reserved Register usage

18 years ago* src/vm/jit/mips/codegen.c, src/vm/jit/alpha/codegen.c:
edwin [Sat, 19 Nov 2005 03:10:38 +0000 (03:10 +0000)]
* src/vm/jit/mips/codegen.c, src/vm/jit/alpha/codegen.c:
  added my name to the 'Changes' list

18 years ago* codegen: generalize bugfix for IFNE_ICONST to other IF??_ICONST instructions
edwin [Sat, 19 Nov 2005 02:04:39 +0000 (02:04 +0000)]
* codegen: generalize bugfix for IFNE_ICONST to other IF??_ICONST instructions

18 years ago* codegen: generalize IFNE_ICONST bugfix to other IF??_ICONST instructions
edwin [Sat, 19 Nov 2005 02:02:53 +0000 (02:02 +0000)]
* codegen: generalize IFNE_ICONST bugfix to other IF??_ICONST instructions

18 years ago* codegen: bugfix for IFNE_ICONST: prevent overwriting of temp register for
edwin [Sat, 19 Nov 2005 01:59:07 +0000 (01:59 +0000)]
* codegen: bugfix for IFNE_ICONST: prevent overwriting of temp register for
  values that do not fit in a byte (same fix as on alpha)

18 years ago* codegen: bugfix for IFNE_ICONST: prevent overwriting of temp register
edwin [Sat, 19 Nov 2005 01:57:23 +0000 (01:57 +0000)]
* codegen: bugfix for IFNE_ICONST: prevent overwriting of temp register
  for constants that do not fit in a byte

18 years ago* Regenerated.
twisti [Fri, 18 Nov 2005 00:57:45 +0000 (00:57 +0000)]
* Regenerated.

18 years ago* Java 1.5 support changes.
twisti [Fri, 18 Nov 2005 00:57:20 +0000 (00:57 +0000)]
* Java 1.5 support changes.

18 years ago* PATCHER_CALL_SIZE: Defined.
twisti [Fri, 18 Nov 2005 00:54:55 +0000 (00:54 +0000)]
* PATCHER_CALL_SIZE: Defined.

18 years ago* nativevcall: Local references table changes.
twisti [Fri, 18 Nov 2005 00:54:08 +0000 (00:54 +0000)]
* nativevcall: Local references table changes.

18 years ago* patcher_builtin_new, patcher_builtin_newarray,
twisti [Fri, 18 Nov 2005 00:53:01 +0000 (00:53 +0000)]
* patcher_builtin_new, patcher_builtin_newarray,
  patcher_builtin_arrayinstanceof: Removed due to Java 1.5 changes.
* patcher_aconst: Added.

18 years ago* Removed empty line.
twisti [Fri, 18 Nov 2005 00:52:13 +0000 (00:52 +0000)]
* Removed empty line.

18 years ago* jumptable_int, jumptable_long: Defined.
twisti [Fri, 18 Nov 2005 00:41:29 +0000 (00:41 +0000)]
* jumptable_int, jumptable_long: Defined.

18 years ago* patcher_builtin_arraycheckcast: Don't set BUILTIN_arraycheckcast.
twisti [Fri, 18 Nov 2005 00:30:10 +0000 (00:30 +0000)]
* patcher_builtin_arraycheckcast: Don't set BUILTIN_arraycheckcast.

18 years ago* asm_calljavafunction: Set noreorder so computing pv is correct.
twisti [Fri, 18 Nov 2005 00:11:55 +0000 (00:11 +0000)]
* asm_calljavafunction: Set noreorder so computing pv is correct.
* asm_calljavafunction2: Likewise and added missing nops.

18 years ago* asm_calljavafunction2: Load address for jumptables correctly for darwin.
twisti [Thu, 17 Nov 2005 22:30:41 +0000 (22:30 +0000)]
* asm_calljavafunction2: Load address for jumptables correctly for darwin.

18 years ago* Users should not need to generate these.
twisti [Thu, 17 Nov 2005 19:28:47 +0000 (19:28 +0000)]
* Users should not need to generate these.

18 years ago* asm_calljavafunction: Fixed -O2 problem, we have to save itmp3 since it's
twisti [Thu, 17 Nov 2005 19:06:35 +0000 (19:06 +0000)]
* asm_calljavafunction: Fixed -O2 problem, we have to save itmp3 since it's
  a callee saved register.
* asm_calljavafunction2: Likewise and started to implement argument passing
  correctly with jump tables.

18 years ago* var_to_reg_int_{low,high} renamed to var_to_reg_lng_{low,high}
twisti [Thu, 17 Nov 2005 19:01:00 +0000 (19:01 +0000)]
* var_to_reg_int_{low,high} renamed to var_to_reg_lng_{low,high}
* Smaller changes.

18 years ago* var_to_reg_int_{low,high} renamed to var_to_reg_lng_{low,high}
twisti [Thu, 17 Nov 2005 19:00:29 +0000 (19:00 +0000)]
* var_to_reg_int_{low,high} renamed to var_to_reg_lng_{low,high}
* ICMD_IF_Lxx: Implemented.
* ICMD_IF_LCMPxx: Likewise.

18 years ago* SUPPORT_LONG_CMP_CONST: Added.
twisti [Thu, 17 Nov 2005 18:57:34 +0000 (18:57 +0000)]
* SUPPORT_LONG_CMP_CONST: Added.

18 years ago* SUPPORT_LONG_CMP_CONST: Added.
twisti [Thu, 17 Nov 2005 18:53:38 +0000 (18:53 +0000)]
* SUPPORT_LONG_CMP_CONST: Added.
* NOLONG_CONDITIONAL: Removed.

18 years ago* NOLONG_CONDITIONAL renamed to SUPPORT_LONG_CMP_CONST.
twisti [Thu, 17 Nov 2005 18:53:07 +0000 (18:53 +0000)]
* NOLONG_CONDITIONAL renamed to SUPPORT_LONG_CMP_CONST.

18 years ago* Really support build dirs.
twisti [Thu, 17 Nov 2005 18:40:04 +0000 (18:40 +0000)]
* Really support build dirs.

18 years ago* Build dir support.
twisti [Thu, 17 Nov 2005 18:33:50 +0000 (18:33 +0000)]
* Build dir support.

18 years ago* SAVE_TEMPORARY_REGISTERS, RESTORE_TEMPORARY_REGISTERS: Removed t7.
twisti [Thu, 17 Nov 2005 16:58:31 +0000 (16:58 +0000)]
* SAVE_TEMPORARY_REGISTERS, RESTORE_TEMPORARY_REGISTERS: Removed t7.

18 years ago* string_init: Added.
twisti [Thu, 17 Nov 2005 13:47:58 +0000 (13:47 +0000)]
* string_init: Added.
* literalstring_u2: Added string hashtable lock.