[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling Elisp to a native code with a GCC plugin
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: Compiling Elisp to a native code with a GCC plugin |
Date: |
Fri, 17 Sep 2010 17:16:25 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) |
Andreas Schwab <address@hidden> writes:
>>>> Don't the Lisp integers use a bit for the type tag?
>>>
>>> most-positive-fixnum is a variable defined in `data.c'.
>>> Its value is 2305843009213693951
>>
>> And by that you mean "yes" or "no"?
>>
>> (format "%x" most-positive-fixnum)
>> => "1fffffffffffffff"
>>
>> That's at least a few bits less than MAX_INT, isn't it?
>
> $ printf '#include <limits.h>\nINT_MAX\n' | gcc -E -xc - | tail -n1
> 2147483647
You're being rather gnomic. That most-positive-fixnum is a 64-bit
number in your Emacs, but that you have an include file somewhere that
says that INT_MAX is a 32-bit number doesn't really make much sense.
On a 32-bit machine, this is what I get.
(format "%x" most-positive-fixnum)
=> "fffffff"
Instead of posting these snippets, it would make the discussion go much
quicker if you actually said what it is you were trying to convey by
posting these numbers without comment.
--
(domestic pets only, the antidote for overdose, milk.)
address@hidden * Lars Magne Ingebrigtsen
- Re: Compiling Elisp to a native code with a GCC plugin, (continued)
- Re: Compiling Elisp to a native code with a GCC plugin, Eli Zaretskii, 2010/09/17
- Re: Compiling Elisp to a native code with a GCC plugin, Andreas Schwab, 2010/09/17
- Re: Compiling Elisp to a native code with a GCC plugin, Lars Magne Ingebrigtsen, 2010/09/17
- Re: Compiling Elisp to a native code with a GCC plugin, Wojciech Meyer, 2010/09/17
- Re: Compiling Elisp to a native code with a GCC plugin, Andreas Schwab, 2010/09/17
- Re: Compiling Elisp to a native code with a GCC plugin, Lars Magne Ingebrigtsen, 2010/09/17
- Re: Compiling Elisp to a native code with a GCC plugin, Andreas Schwab, 2010/09/17
- Re: Compiling Elisp to a native code with a GCC plugin,
Lars Magne Ingebrigtsen <=
- Re: Compiling Elisp to a native code with a GCC plugin, Andreas Schwab, 2010/09/17
- Re: Compiling Elisp to a native code with a GCC plugin, Lars Magne Ingebrigtsen, 2010/09/17
- Re: Compiling Elisp to a native code with a GCC plugin, Andreas Schwab, 2010/09/17
- Re: Compiling Elisp to a native code with a GCC plugin, Eli Zaretskii, 2010/09/17
- Re: Compiling Elisp to a native code with a GCC plugin, James Cloos, 2010/09/17
- Re: Compiling Elisp to a native code with a GCC plugin, Stephen J. Turnbull, 2010/09/17
- Re: Compiling Elisp to a native code with a GCC plugin, Lars Magne Ingebrigtsen, 2010/09/17
- Re: Compiling Elisp to a native code with a GCC plugin, Helmut Eller, 2010/09/15
- Re: Compiling Elisp to a native code with a GCC plugin, Thomas Lord, 2010/09/15
- Re: Compiling Elisp to a native code with a GCC plugin, Leo, 2010/09/15