[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.2.0 (work2) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 14 Jan 2010 17:34:51 -0200
> BTW, I'd love to know which architectures this comment further
> down in luaconf.h is referring to:
>
> /* on several machines, coercion from unsigned to double is too slow,
> so avoid that if possible */
As far as I know, Pentium does not have an istruction for such
conversion. So, it zero-extends the unsigned int to a 64-bit integer
and reads it with 'fildll'. (Maybe that is not "too slow", but some
tests suggested the conditional was faster.)
-- Roberto