[Top][All Lists]

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

Re: [Lightning] Floating point branches

From: Mike Spivey
Subject: Re: [Lightning] Floating point branches
Date: Tue, 17 Feb 2009 11:17:30 +0000
User-agent: Thunderbird (X11/20090105)

Paolo Bonzini wrote:
> Mike Spivey wrote:
>> I encountered three problems with floating point branches on i386 with
>> the GIT version of lightning.  The patches shown below seem to work for
>> me, but I haven't made extensive tests.
> Great, thanks.  I attach what I applied.
> Paolo

Sorry, one more correction that you missed in your patch.  In the
jit_fp_btest macro:

diff --git a/lightning/i386/fp-32.h b/lightning/i386/fp-32.h
index 71e5677..b957b69 100644
--- a/lightning/i386/fp-32.h
+++ b/lightning/i386/fp-32.h
@@ -262,7 +262,7 @@ union jit_double_imm {
         ((cmp) ? CMPLir ((cmp), _AL) : 0),                     \
         POPLr(_EAX),                                           \
         res ((d)),                                            \
-       _jit.x.ppc)
+       _jit.x.pc)

 #define jit_nothing_needed(x)

-- Mike

reply via email to

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