dotgnu-libjit
[Top][All Lists]
Advanced

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

[Dotgnu-libjit] Possible Libjit bug


From: Simone Campanoni
Subject: [Dotgnu-libjit] Possible Libjit bug
Date: Wed, 29 Sep 2010 15:28:37 -0400
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8

Hi all,
    I would like to show a possible bug of Libjit I have found in the
attached examples.
I am using Libjit from the git repository and the Intel x86 back-end.

The program libjittest_correct.c and libjittest_incorrect.c should have
the same behavior and they should return zero as output.
If you try to compile them, you will find an incorrect execution of
libjittest_incorrect.c (it will return 1 instead of 0).

My guess is that the error is within the usage of global registers of
x86 back-end.

I hope you will find this useful to improve the Libjit library.

Thanks for your work,
Simone Campanoni

Attachment: libjittest_correct.c
Description: Text Data

Attachment: libjittest_incorrect.c
Description: Text Data


reply via email to

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