lightning
[Top][All Lists]
Advanced

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

Re: [Lightning] Re: Updates for x86_64


From: Paulo Cesar Pereira de Andrade
Subject: Re: [Lightning] Re: Updates for x86_64
Date: Tue, 24 Aug 2010 21:05:42 -0300
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100809 Mandriva/3.1.2-3mdv2011.0 (2011.0) Thunderbird/3.1.2

On 24-08-2010 18:09, Paulo Cesar Pereira de Andrade wrote:

  Following the previous patches, and when compiling without
_ASM_SAFETY, I get varargs to work in x86_64 with these extra
patches.

Patch5 is the minimum required patch to get printf to work,
and it is very important in my test cases as the test cases call
printf directly from jit to report errors.

Patch6 extends the features in patch5 to support any number of
integer and float arguments.

  But there is still some issue that patch6 does not properly
correct, and the test case

http://code.google.com/p/exl/source/browse/trunk/check/lightning/args.tst

will if checking any float argument. It will not fail if run
under valgrind, or if I call a function other then printf. Either
way, it corrects

https://code.google.com/p/exl/source/browse/trunk/check/lightning/varargs.tst

that pass 10 doubles, or 10 integers mixed with 10 doubles, and
calls sprintf and sscanf, so it should be some minor issue to
be investigated next.

Please review/comment.

Thanks,
Paulo

Attachment: 0005-Change-jit_finish-to-work-with-varargs-functions-in-.patch
Description: Text document

Attachment: 0006-Implement-support-for-multiple-integer-and-float-arg.patch
Description: Text document


reply via email to

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