twisti [Wed, 23 Nov 2005 15:05:59 +0000 (15:05 +0000)]
* noinst_HEADERS: Added methodheader.h and disass.h.
twisti [Wed, 23 Nov 2005 15:05:22 +0000 (15:05 +0000)]
* EXTRA_DIST: Added configure.host.
twisti [Wed, 23 Nov 2005 15:04:53 +0000 (15:04 +0000)]
* EXTRA_DIST: Added all java files.
twisti [Wed, 23 Nov 2005 14:41:16 +0000 (14:41 +0000)]
* asmoffsets.h, disass.h: Removed if missed before.
twisti [Wed, 23 Nov 2005 14:40:36 +0000 (14:40 +0000)]
* jctest, fptest, fp, extest: Removed.
twisti [Wed, 23 Nov 2005 14:40:12 +0000 (14:40 +0000)]
* Removed, most of them are now regression tests.
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.
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.
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.
twisti [Wed, 23 Nov 2005 00:47:27 +0000 (00:47 +0000)]
* signal_handler_sigsegv, signal_handler_sigfpe: Replaced functionptr with
u1*.
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.
twisti [Wed, 23 Nov 2005 00:46:19 +0000 (00:46 +0000)]
* createcompilerstub, createnativestub: Changed return type from
functionptr to u1*.
twisti [Wed, 23 Nov 2005 00:21:56 +0000 (00:21 +0000)]
* signal_handler_sigsegv: 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.
twisti [Wed, 23 Nov 2005 00:20:13 +0000 (00:20 +0000)]
* createcompilerstub, createnativestub: Changed return type from
functionptr to u1*.
twisti [Wed, 23 Nov 2005 00:06:39 +0000 (00:06 +0000)]
* Made most functions private.
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.
twisti [Wed, 23 Nov 2005 00:03:54 +0000 (00:03 +0000)]
* createcompilerstub, createnativestub: Changed return type from
functionptr to u1*.
twisti [Tue, 22 Nov 2005 23:54:41 +0000 (23:54 +0000)]
* createcompilerstub, createnativestub: Changed return type from
functionptr to u1*.
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.
twisti [Tue, 22 Nov 2005 23:46:22 +0000 (23:46 +0000)]
* config.h: Added.
* Some code reformatting.
twisti [Tue, 22 Nov 2005 23:45:51 +0000 (23:45 +0000)]
* createcompilerstub, createnativestub: Changed return type from
functionptr to u1*.
twisti [Tue, 22 Nov 2005 23:45:10 +0000 (23:45 +0000)]
* asm_builtin_arraycheckcast: Removed global.
twisti [Tue, 22 Nov 2005 23:43:53 +0000 (23:43 +0000)]
* Changed functionptr to u1*.
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*.
twisti [Tue, 22 Nov 2005 23:41:34 +0000 (23:41 +0000)]
* methodinfo: Changed functionptr to u1*.
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*.
twisti [Tue, 22 Nov 2005 23:07:41 +0000 (23:07 +0000)]
* Replaced functionptr with u1*.
* Call md_codegen_findmethod instead of codegen_findmethod.
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.
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*.
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.
twisti [Tue, 22 Nov 2005 22:55:16 +0000 (22:55 +0000)]
* codegen_start_native_call, codegen_finish_native_call: Added.
christian [Tue, 22 Nov 2005 22:47:00 +0000 (22:47 +0000)]
added name to Changes:
twisti [Tue, 22 Nov 2005 22:32:30 +0000 (22:32 +0000)]
* compile_all_class_methods: Removed.
christian [Tue, 22 Nov 2005 22:21:20 +0000 (22:21 +0000)]
Fix for dependence conflict regarding ICMD_DUP* and locals
christian [Tue, 22 Nov 2005 21:32:20 +0000 (21:32 +0000)]
fix for ICMD_DUP*
christian [Tue, 22 Nov 2005 14:36:16 +0000 (14:36 +0000)]
Changes for Usage Count and spill heuristik
twisti [Tue, 22 Nov 2005 11:39:17 +0000 (11:39 +0000)]
* Removed __INTRP__ define.
twisti [Tue, 22 Nov 2005 11:38:59 +0000 (11:38 +0000)]
* md-abi.h: Removed.
twisti [Tue, 22 Nov 2005 11:38:12 +0000 (11:38 +0000)]
* Renamed __INTRP__ to ENABLE_INTRP which is defined during configure run.
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.
twisti [Mon, 21 Nov 2005 22:01:57 +0000 (22:01 +0000)]
* asm_wrapper_patcher: Fixed two typos for powerpc-linux.
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.
twisti [Mon, 21 Nov 2005 20:59:53 +0000 (20:59 +0000)]
* Added a comment about r2.
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
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
christian [Sun, 20 Nov 2005 13:21:18 +0000 (13:21 +0000)]
Removed lsra fallback in case of subroutines or exception handlers
christian [Sun, 20 Nov 2005 13:21:02 +0000 (13:21 +0000)]
Removed obsolete output of reserved Register usage
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
edwin [Sat, 19 Nov 2005 02:04:39 +0000 (02:04 +0000)]
* codegen: generalize bugfix for IFNE_ICONST 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
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)
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
twisti [Fri, 18 Nov 2005 00:57:45 +0000 (00:57 +0000)]
* Regenerated.
twisti [Fri, 18 Nov 2005 00:57:20 +0000 (00:57 +0000)]
* Java 1.5 support changes.
twisti [Fri, 18 Nov 2005 00:54:55 +0000 (00:54 +0000)]
* PATCHER_CALL_SIZE: Defined.
twisti [Fri, 18 Nov 2005 00:54:08 +0000 (00:54 +0000)]
* nativevcall: Local references table changes.
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.
twisti [Fri, 18 Nov 2005 00:52:13 +0000 (00:52 +0000)]
* Removed empty line.
twisti [Fri, 18 Nov 2005 00:41:29 +0000 (00:41 +0000)]
* jumptable_int, jumptable_long: Defined.
twisti [Fri, 18 Nov 2005 00:30:10 +0000 (00:30 +0000)]
* patcher_builtin_arraycheckcast: Don't set BUILTIN_arraycheckcast.
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.
twisti [Thu, 17 Nov 2005 22:30:41 +0000 (22:30 +0000)]
* asm_calljavafunction2: Load address for jumptables correctly for darwin.
twisti [Thu, 17 Nov 2005 19:28:47 +0000 (19:28 +0000)]
* Users should not need to generate these.
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.
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.
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.
twisti [Thu, 17 Nov 2005 18:57:34 +0000 (18:57 +0000)]
* 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.
twisti [Thu, 17 Nov 2005 18:53:07 +0000 (18:53 +0000)]
* NOLONG_CONDITIONAL renamed to SUPPORT_LONG_CMP_CONST.
twisti [Thu, 17 Nov 2005 18:40:04 +0000 (18:40 +0000)]
* Really support build dirs.
twisti [Thu, 17 Nov 2005 18:33:50 +0000 (18:33 +0000)]
* Build dir support.
twisti [Thu, 17 Nov 2005 16:58:31 +0000 (16:58 +0000)]
* SAVE_TEMPORARY_REGISTERS, RESTORE_TEMPORARY_REGISTERS: Removed t7.
twisti [Thu, 17 Nov 2005 13:47:58 +0000 (13:47 +0000)]
* string_init: Added.
* literalstring_u2: Added string hashtable lock.
twisti [Thu, 17 Nov 2005 13:47:28 +0000 (13:47 +0000)]
* string_init: Added.
twisti [Thu, 17 Nov 2005 13:46:59 +0000 (13:46 +0000)]
* main: Call string_init.
twisti [Thu, 17 Nov 2005 13:35:49 +0000 (13:35 +0000)]
* finalizer_add: Removed.
* finalizer_notify, finalizer_run: Added.
* finalizer_thread: Removed list stuff since this was wrong, we need to
call the finalizers immediately. We do this now with
gc_invoke_finalizers.
twisti [Thu, 17 Nov 2005 13:34:13 +0000 (13:34 +0000)]
* gc_init: Set GC_java_finalization, GC_finalize_on_demand and
GC_finalizer_notifier.
twisti [Thu, 17 Nov 2005 10:23:11 +0000 (10:23 +0000)]
* M_LST_IMM32, M_AST_IMM32: Added.
twisti [Thu, 17 Nov 2005 10:22:35 +0000 (10:22 +0000)]
* createnativestub: Don't save return value for void functions.
twisti [Thu, 17 Nov 2005 10:21:35 +0000 (10:21 +0000)]
* intern: Reformatted for better debugability.
edwin [Wed, 16 Nov 2005 19:13:37 +0000 (19:13 +0000)]
make twisti's debug code a bit more compiler friendly
(it did not compile with the mips compiler)
twisti [Wed, 16 Nov 2005 13:29:58 +0000 (13:29 +0000)]
* gnu_classpath_Pointer.h: Removed.
twisti [Wed, 16 Nov 2005 13:28:59 +0000 (13:28 +0000)]
* link_array: Replaced utf_new_intern with utf_new.
twisti [Wed, 16 Nov 2005 13:28:33 +0000 (13:28 +0000)]
* load_constantpool, load_newly_created_array: Replaced utf_new_intern with
utf_new.
twisti [Wed, 16 Nov 2005 13:27:46 +0000 (13:27 +0000)]
* utf_new_intern: Removed.
* utf_new: Added hashtable locking (from utf_new_intern).
twisti [Wed, 16 Nov 2005 13:15:29 +0000 (13:15 +0000)]
* gnu_classpath_Pointer.h: Removed, not required anymore during libvm.
twisti [Wed, 16 Nov 2005 12:13:47 +0000 (12:13 +0000)]
* config.h, vm/types.h: Added.
* lock_classcache_hashtable: Likewise.
* classcache_init: Changed return type to bool, initialize
lock_classcache_hashtable.
* CLASSCACHE_LOCK, CLASSCACHE_UNLOCK: Use builtin_monitorenter/exit instead
of crappy tables_lock/unlock.
twisti [Wed, 16 Nov 2005 12:12:29 +0000 (12:12 +0000)]
* classcache_init: Changed return type to bool.
twisti [Wed, 16 Nov 2005 12:12:02 +0000 (12:12 +0000)]
* tables_init: Changed return type to bool, removed call to
classcache_init: now done in cacao.c (main).
twisti [Wed, 16 Nov 2005 12:11:22 +0000 (12:11 +0000)]
* tables_init: Changed return type to bool.
twisti [Wed, 16 Nov 2005 12:10:43 +0000 (12:10 +0000)]
* lock_utf_hashtable: Added.
* utf8_init: Changed return type to bool, initialize lock_utf_hashtable.
* utf_new: Use builtin_monitorenter/exit instead of crappy tables_lock.
twisti [Wed, 16 Nov 2005 12:09:48 +0000 (12:09 +0000)]
* config.h, vm/types.h: Added.
* utf8_init: Changed return type to bool.
twisti [Wed, 16 Nov 2005 12:08:42 +0000 (12:08 +0000)]
* main: Initialize subsystems in correct order, added classcache_init.
twisti [Wed, 16 Nov 2005 12:03:58 +0000 (12:03 +0000)]
* Initialize subsystems in correct order.
twisti [Wed, 16 Nov 2005 12:03:38 +0000 (12:03 +0000)]
* throw_main_exception_exit: Added.
twisti [Tue, 15 Nov 2005 23:43:17 +0000 (23:43 +0000)]
* set: Handle value == NULL correctly.
twisti [Tue, 15 Nov 2005 21:13:09 +0000 (21:13 +0000)]
* Added long corner case for 32-bit archs.
twisti [Tue, 15 Nov 2005 00:26:07 +0000 (00:26 +0000)]
* BUILT_SOURCES: Added offsets.h.
twisti [Tue, 15 Nov 2005 00:18:01 +0000 (00:18 +0000)]
2005-11-14 Tom Tromey <tromey@redhat.com>
* .cvsignore: Updated.
* .cdtproject, .project: New files.
* .externalToolBuilders/CacaoAutogen.launch: New file.
* .externalToolBuilders/CacaoConfigure.launch: New file.
* configure.in: Added --with-flat-classpath option, new subst GLIBJZ,
new define GLIBJZ_STRING.
* tests/regression/Makefile.am (JAVAC): Use GLIBJZ.
* tests/native/Makefile.am (JAVAC): Use GLIBJZ.
* src/vm/global.h (CLASSPATH_GLIBJ_ZIP_PATH): Use GLIBJZ_STRING.
* src/vm/jit/i386/Makefile.am (BUILT_SOURCES): New variable.
* src/native/Makefile.am (nativetable.inc): Use GLIBJZ.
* src/native/include/Makefile.am (GLIBJ_ZIP): Use GLIBJZ.
* src/lib/Makefile.am (GLIBJ_ZIP): Use GLIBJZ.