2009/4/15 Arthur Huillet :
> I managed to trigger a segfault in fix_invoke when running the following
> program :
> http://rafb.net/p/fT6n2f27.html
> (duplicated below)
>
>
>
> + public static int getone() {
> + return 1;
> + }
> +
> + public static void testInteger
Hi,
The following java code :
public static void aaa() {
int i = 0;
while (i < 5) {
i = i+1;
}
assertEquals(5, i);
}
is compiled into the following bytecode :
public static void aaa();
Code:
0: iconst_0
1: istore_0
2: goto
On Thu, 2009-04-16 at 11:40 +0200, Arthur HUILLET wrote:
> OP_{SHR, USHR, SHL} now denotes 32bit operations,
> OP_{SHR, USHR, SHL}_64 represent 64bit operations.
>
> This is necessary because we cannot provide "optimised" reg, EXPR_LOCAL
> rules for 64bit shifts easily on x86.
>
> Signed-off-by:
OP_{SHR, USHR, SHL} now denotes 32bit operations,
OP_{SHR, USHR, SHL}_64 represent 64bit operations.
This is necessary because we cannot provide "optimised" reg, EXPR_LOCAL
rules for 64bit shifts easily on x86.
Signed-off-by: Arthur HUILLET
---
arch/x86/insn-selector_32.brg | 15 +
On Thu, 2009-04-16 at 00:57 +0200, Arthur HUILLET wrote:
> this patch adds a LIR tracer. It has only been implemented for x86 so
> I assume you will have to tweak it a bit before merging it upstream.
> It seems to work fine here, so please apply.
Nope, i386 is the only supported architecture for n
On Wed, 2009-04-15 at 18:45 +0200, Arthur HUILLET wrote:
> The unhandled intervals list was browsed with list_for_each_safe, which
> does not work if the immediate successor is modified. This happens when
> splitting intervals and inserting the split child into the list - the
> bug was that the chi
On Wed, 2009-04-15 at 18:42 +0200, Arthur HUILLET wrote:
> Also removed DEF_CALLER_SAVED_REGISTERS in favor of a binary OR of the
> said fixed registers.
> This exposes a bug in the register allocator with long multiplication,
> which is why it is disabled by this patch.
>
> Signed-off-by: Arthur
On Wed, 2009-04-15 at 17:09 +0200, Arthur HUILLET wrote:
> Intervals are now displayed with their start and end positions, and the
> assigned register is selected correctly.
>
> Signed-off-by: Arthur HUILLET
Applied, thanks!
-