[Top][All Lists]

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

Re: [Lightning] Porting GNU Smalltalk to lightning 2

From: Holger Hans Peter Freyther
Subject: Re: [Lightning] Porting GNU Smalltalk to lightning 2
Date: Tue, 18 Nov 2014 09:15:27 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Mon, Nov 17, 2014 at 12:19:33PM -0200, Paulo César Pereira de Andrade wrote:

>   Please try it. If a test fails, please try running it manually with
> something like:
> $ (cd check; ./lightning -mcpu=4 the-test.tst)
> that should force it to generate code that should work on any
> armv5 board (I only tested lightning on armv5te or newer, but
> have been only testing in armv7 for more than one year).

It is armv5te. When do you decide to use thumb instruction and
when not? I saw the code that reads /proc/cpuinfo to determine

> > This is for lightning itself?
> For GNU Smalltalk. The first patch just made it work for make check
> (and that is why I suggested adding tests for 64 bit integers), the
> second patch just used the multiplication and division by constant
> by moving the constant to a register and using the code for "dynamic"
> value.

yes, but is that a limitation of GNU lightning or smalltalk? We
have a lot more registers on AMD64 so the move of a constant to
a register shouldn't hurt that much here?

reply via email to

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