dotgnu-libjit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libjit-developers] Patch for long backwards x86 jumps


From: Evin Robertson
Subject: [Libjit-developers] Patch for long backwards x86 jumps
Date: Mon, 11 Oct 2004 19:38:50 -0400
User-agent: Mozilla Thunderbird 0.8 (X11/20040926)

Currently the following program segfaults when run with the x86 jit.  A 
patch is attached which corrects long backwards conditional jumps. 
Patch is against libjit 0.4.

program loop;

Procedure main;
var g :  ShortInt;
begin
    for g := 0 to 10 do begin
       write('.'); write('.'); write('.'); write('.');
       write('.'); write('.'); write('.'); write('.');
       write('.'); write('.'); write('.'); write('.');
       write('.'); write('.'); write('.'); write('.');
       write('.'); write('.'); write('.'); write('.');
       write('.'); write('.'); write('.'); write('.');
       write('.'); write('.'); write('.'); write('.');
    end;
    WriteLn('');
end; { main }

begin
    main
end.

[demime 0.98e removed an attachment of type text/x-patch which had a name of 
jump.patch]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]