Date: Mon, 5 Dec 2005 04:42:04 -0500 From: Kris Kennaway <kris@obsecurity.org> To: David O'Brien <obrien@freebsd.org> Cc: "Guillaume R." <raimondeau@gmail.com>, freebsd-questions@freebsd.org Subject: Re: A stupid 64bit question ... but ... Message-ID: <20051205094203.GA37131@xor.obsecurity.org> In-Reply-To: <20051205091040.GB68024@dragon.NUXI.org> References: <20051204184826.D1077@ganymede.hub.org> <20051205030253.GC62285@dragon.NUXI.org> <7ab0fd580512042313k15a93166i@mail.gmail.com> <20051205091040.GB68024@dragon.NUXI.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--PEIAKu/WMn1b1Hv9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 05, 2005 at 01:10:40AM -0800, David O'Brien wrote: > On Mon, Dec 05, 2005 at 08:13:50AM +0100, Guillaume R. wrote: > > 2005/12/5, David O'Brien <obrien@freebsd.org>: > > > On Sun, Dec 04, 2005 at 06:50:55PM -0400, Marc G. Fournier wrote: > > > > > > > > I recently bought a new Intel Xeon server, and when I put it togeth= er, I > > > > didn't realize that the newer Xeon's were 64bit ... now, I've just = built > > > > perl 5.8.7, and its reporting: > > > > > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > # perl -v > > > > This is perl, v5.8.7 built for i386-freebsd-64int > > > .. > > > > I realize that this may be a stupid question, but am I correct in = that > > > > *this* is a 64bit machine, and I should be enabling the AMD64 stuff= on > > > > her? > > > > > > Perl won't be reporting a 64-bit capable machine, when running a 32-b= it > > > OS. Look in /var/run/dmesg for 'AMD Features' to report 'LM' (long > > > mode). > >=20 > > Lo > > So why there is a 64int? We can suppose that perl has seen that Marc's = proc > > is a 64 one no? > > I asked that cause I got a 64bits (amd) which run on a 32 bits mode an= d I > > got oftenly such "i386-freebsd-64amd" > > ++ >=20 > I'm not a perl expert - but maybe ints in perl actually are 64-bit. Just > because an x86 has only 32-bit wide regs, doesn't mean it cannot do > 64-bit math. :-) The '64int' may stand for 'intel', just as the '64amd' stands for amd :-) Kris --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDlAtrWry0BWjoQKURAjzyAKDMXvZgWyh8faGzMErJfT98m8EHigCfdFNj k+gqogmqzdLTPhqoEaja/cY= =jg1Z -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051205094203.GA37131>