Branch: refs/heads/master Home: http://github.com/penberg/jato
Commit: 80947df9bcade599edcc0c118d3f54f9d947784f http://github.com/penberg/jato/commit/80947df9bcade599edcc0c118d3f54f9d947784f Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/mmix/include/arch/registers.h Log Message: ----------- mmix: set REG_UNASSIGNED to INT_MAX Enumerations are 'int'-sized (by default) and GCC complains about the use of ~0UL. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 73cd4ea08c2d5be74b9c4d6acc91482937c1b65c http://github.com/penberg/jato/commit/73cd4ea08c2d5be74b9c4d6acc91482937c1b65c Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M scripts/build/test.mk M test/jit/Makefile Log Message: ----------- Fix 'make test' breakage This fixes breakage encountered when doing 'make test' on x86-64. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 9d2658f753f193c9af0598ad2145d05d00baaca9 http://github.com/penberg/jato/commit/9d2658f753f193c9af0598ad2145d05d00baaca9 Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/args.c M include/jit/args.h M include/vm/method.h M jit/args.c Log Message: ----------- x86-64: add reg_args_count to struct vm_method reg_args_count provides a faster way of determining how many stack and register arguments a method takes. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 5c8c5079abefbe713ea07ea0bb44676cb6c70b22 http://github.com/penberg/jato/commit/5c8c5079abefbe713ea07ea0bb44676cb6c70b22 Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/insn-selector.brg Log Message: ----------- x86-64: handle local variables correctly Previous implementation attempted to access the argument map for local variables as well. We now determine if the local index refers to a local variable and act accordingly. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 0aaca09fe6983419a6f5f1afa818c4124f43a452 http://github.com/penberg/jato/commit/0aaca09fe6983419a6f5f1afa818c4124f43a452 Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/disassemble.c Log Message: ----------- x86-64: fix disassembly listing This adds support for proper disassembling of generated code on x86-64. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: f5fbd6024d8b91d30fa0dd310a6185dac5aefb2c http://github.com/penberg/jato/commit/f5fbd6024d8b91d30fa0dd310a6185dac5aefb2c Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/insn-selector.brg Log Message: ----------- x86-64: handle STMT_STORE(EXPR_LOCAL, reg) This fixes handling of storing into local variables on x86-64. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 62a7adf840c5a841546f96db0a9ea8eab646f2f2 http://github.com/penberg/jato/commit/62a7adf840c5a841546f96db0a9ea8eab646f2f2 Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/insn-selector.brg Log Message: ----------- x86-64: handle locals in EXPR_LOCAL We determine if the local index refers to a local variable and do not access the argument map if we shouldn't. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: cd432dfe3f05cd299b0317afbefea38450fef24e http://github.com/penberg/jato/commit/cd432dfe3f05cd299b0317afbefea38450fef24e Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/insn-selector.brg Log Message: ----------- x86-64: use GPR_VM_TYPE in EXPR_NULL_CHECK This fixes EXPR_NULL_CHECK by choosing a suitable vm type depending on the architecture. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 8020d80c98b4858ec3c434b841acbae60a3748fd http://github.com/penberg/jato/commit/8020d80c98b4858ec3c434b841acbae60a3748fd Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/insn-selector.brg M arch/x86/use-def.c Log Message: ----------- x86-64: notify liveness analysis about caller saved registers Liveness analysis needs to know about registers belonging to the caller (such as those used to pass parameters, which can be modified by the callee). This prevents the callee from messing up the data belonging to the caller. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 051a476683f908cbe288aa98abcee4c35fbb8ca4 http://github.com/penberg/jato/commit/051a476683f908cbe288aa98abcee4c35fbb8ca4 Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/emit-code.c Log Message: ----------- x86-64: fix membase insns with %r12 and %r13 as base registers This fixes membase instructions in the two special cases when %r12 and %r13 are used as base registers. These cases require different encodings, similar to what is done with %rsp (and %esp on x86-32). Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 37fd56d3c20dd50e4dca8771c59909d712f11469 http://github.com/penberg/jato/commit/37fd56d3c20dd50e4dca8771c59909d712f11469 Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/emit-code.c Log Message: ----------- x86-64: treat J_REFERENCE as a 64-bit operand Pointers are 64-bits on x86-64, so we need to use 64-bit operand widths for instructions operating on J_REFERENCE values. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 4009f26e13fa7a19e7c38d7306a17cbb1af917e3 http://github.com/penberg/jato/commit/4009f26e13fa7a19e7c38d7306a17cbb1af917e3 Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M regression/jvm/ParameterPassingTest.java M regression/run-suite.sh Log Message: ----------- regression: make ParameterPassingTest more thorough This makes it harder to pass ParameterPassingTest in order to catch bugs related to register parameter passing and stack cleanup. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: ecffa00f847a9212cd038aba290859c6698cd5a0 http://github.com/penberg/jato/commit/ecffa00f847a9212cd038aba290859c6698cd5a0 Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/insn-selector.brg Log Message: ----------- x86-64: don't alter the first argument's register in invokevirtual() Altering the first argument's register's contents was okay on x86-32, but on x86-64 we use the very same register to pass the object reference. Therefore, we allocate a different register and do not modify the original. x86-32 should optimize this behavior by doing copy propagation (not currently implemented). Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 332c90991327a4729b9603c7124c2a22d9e16f5a http://github.com/penberg/jato/commit/332c90991327a4729b9603c7124c2a22d9e16f5a Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/insn-selector.brg Log Message: ----------- x86-64: use offsetof() instead of sizeof() in EXPR_INSTANCE_FIELD sizeof() doesn't work correctly due to the flexible array contained in struct vm_object. In some cases, GCC may add padding to such a structure in such a way that sizeof() gives different results than offsetof() (which is what we really want). This piece of code exposes the problem on x86-64: struct flex { unsigned long b; char a; unsigned char f[]; }; In this case sizeof(struct flex) != offsetof(struct flex, f). We fix the problem by replacing sizeof() with offsetof(). Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 4d84bbf8e5ec23d05135c7ecff427d5a87098fd6 http://github.com/penberg/jato/commit/4d84bbf8e5ec23d05135c7ecff427d5a87098fd6 Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/insn-selector.brg Log Message: ----------- x86: ifdef EXPR_CONVERSION_FROM_DOUBLE We temporarily avoid problems on x86-64 by removing the definition of EXPR_CONVERSION_FROM_DOUBLE. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 7dd1114291dd73feb9861287ab2881732f940c4d http://github.com/penberg/jato/commit/7dd1114291dd73feb9861287ab2881732f940c4d Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/insn-selector.brg Log Message: ----------- x86-64: add missing declarations to insn-selector This fixes issues related to missing declarations on x86-64, due to changes introduced to the instruction selector. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 3e6587ef9aaae6e82bb63b212113566cbbfc1f91 http://github.com/penberg/jato/commit/3e6587ef9aaae6e82bb63b212113566cbbfc1f91 Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/include/arch/registers_64.h M arch/x86/registers_64.c Log Message: ----------- x86-64: update registers_64.c according to x86-32 changes The previous interfaces from registers_64.c were no longer valid and had to be updated according to x86-32 code. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 8814297dc3be7d74db354d0723a7144000529a1e http://github.com/penberg/jato/commit/8814297dc3be7d74db354d0723a7144000529a1e Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/insn-selector.brg Log Message: ----------- x86: ifdef EXPR_LOOKUPSWITCH_BSEARCH This prevents a few problems from surfacing on x86-64 until EXPR_LOOKUPSWITCH_BSEARCH is properly implemented. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: d3ffc131c8ef4f35b65351d43f2e5baac6f88fe8 http://github.com/penberg/jato/commit/d3ffc131c8ef4f35b65351d43f2e5baac6f88fe8 Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/args.c Log Message: ----------- x86-64: use parse_method_args() to fill args map skip_type() has been removed and we need to use parse_method_args() to parse the method type string. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: f8a44d1d4fd1c34c132d3ca5e55a3bd86c54bf5d http://github.com/penberg/jato/commit/f8a44d1d4fd1c34c132d3ca5e55a3bd86c54bf5d Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/emit-code.c Log Message: ----------- x86-64: add stub for emit_jni_trampoline() This adds a stub for emit_jni_trampoline() until it gets properly implemented on x86-64. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: f3488e3523f1ce37203d9e9126102fd9560b1fe5 http://github.com/penberg/jato/commit/f3488e3523f1ce37203d9e9126102fd9560b1fe5 Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: A arch/mmix/call.c R arch/mmix/include/arch/call.h M arch/x86/Makefile_32 M arch/x86/Makefile_64 A arch/x86/call.c R arch/x86/include/arch/call.h M include/vm/call.h M test/arch-x86/Makefile M test/jit/Makefile M vm/call.c Log Message: ----------- x86: convert native_call() and vm_native_call() to functions x86-64 needs more logic to handle native_call() and vm_native_call(). Therefore we turn these two macros into functions to cater for other arches' needs. [ penb...@cs.helsinki.fi: fix 32-bit breakage ] Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 2bc035b11aa75b9322e31fd5277b09be8ed60915 http://github.com/penberg/jato/commit/2bc035b11aa75b9322e31fd5277b09be8ed60915 Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/call.c Log Message: ----------- x86-64: implement native_call() This implements native_call() on x86-64. Unlike on x86-32, it also needs to handle register arguments. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 04053b0a99214f6fc9be009613e8284c90414f87 http://github.com/penberg/jato/commit/04053b0a99214f6fc9be009613e8284c90414f87 Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/insn-selector.brg Log Message: ----------- x86-64: handle EXPR_ANEWARRAY This implements EXPR_ANEWARRAY handling on x86-64. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: ebda9809f485b5843236b6d9cce1178058c013fc http://github.com/penberg/jato/commit/ebda9809f485b5843236b6d9cce1178058c013fc Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/emit-code.c Log Message: ----------- x86-64: implement INSN_TEST_IMM_MEMDISP This implements emitters for INSN_TEST_IMM_MEMDISP. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 73062842e4842fee99752269d1df60baef93c9e6 http://github.com/penberg/jato/commit/73062842e4842fee99752269d1df60baef93c9e6 Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/emit-code.c Log Message: ----------- x86: move emit_lock() and friends back into non-common code These functions cannot be shared between x86-32 and x86-64 code due to different calling conventions. They generate code that calls functions and, on x86-64, we need to pass arguments in registers. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 0bf913c350920a79da4747c35da07712eef6adc2 http://github.com/penberg/jato/commit/0bf913c350920a79da4747c35da07712eef6adc2 Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/emit-code.c Log Message: ----------- x86-64: move saving and restoring parameter regs into separate functions Other emitters need to save and restore parameter registers, so we split this code from emit_trampoline() into separate functions. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 262c258f1c5fa14ec809696977f702d2c8ff02f5 http://github.com/penberg/jato/commit/262c258f1c5fa14ec809696977f702d2c8ff02f5 Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/emit-code.c Log Message: ----------- x86-64: implement emit_lock() and friends This implements emit_lock() and other closely related functions. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 59439127211331971be7ecc5aaa555528417c366 http://github.com/penberg/jato/commit/59439127211331971be7ecc5aaa555528417c366 Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M jit/statement.c Log Message: ----------- jit: silence x86-64 pointer cast warning in lookupswitch_pair_comp() This silences a warning that surfaces on x86-64 due to casting a pointer to an integer of a different size. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: ea7e32102cc1cf0e73258860367ee7671236500f http://github.com/penberg/jato/commit/ea7e32102cc1cf0e73258860367ee7671236500f Author: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M arch/x86/emit-code.c Log Message: ----------- x86-64: implement emit_exception_test() This implements emit_exception_test() on x86-64. Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> Commit: 03f479e7143121ed6caae6b27a12488f4d96b46c http://github.com/penberg/jato/commit/03f479e7143121ed6caae6b27a12488f4d96b46c Author: Pekka Enberg <penb...@cs.helsinki.fi> Date: 2009-08-15 (Sat, 15 Aug 2009) Changed paths: M Makefile Log Message: ----------- Makefile: Fix LINK pretty printing Signed-off-by: Pekka Enberg <penb...@cs.helsinki.fi> ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel