lightning
[Top][All Lists]
Advanced

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

Re: [Lightning] Working with floating point values and the stack


From: Paolo Bonzini
Subject: Re: [Lightning] Working with floating point values and the stack
Date: Thu, 13 Oct 2005 09:16:54 +0200
User-agent: Mozilla Thunderbird 0.9 (Macintosh/20041103)

Manuel Mohr wrote:

Hello,

I want to write a function plotter using GNU lightning. Due to its
recursive descent parser it makes heavy use of the push and pop
commands.

... which do not work with floating-point arithmetic: FP has suffixes _f and _d while you are using _p. There are no jit_pushr_f etc. opcodes. You should either contribute a patch to add them ;-) or write your own stack using for example JIT_V0 as a stack pointer.

Paolo




reply via email to

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