From owner-freebsd-questions@FreeBSD.ORG Mon Dec 5 09:42:18 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 396F816A41F; Mon, 5 Dec 2005 09:42:18 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0119243D53; Mon, 5 Dec 2005 09:42:10 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id DFBC41A3C1C; Mon, 5 Dec 2005 01:42:04 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 2AD7052B65; Mon, 5 Dec 2005 04:42:04 -0500 (EST) Date: Mon, 5 Dec 2005 04:42:04 -0500 From: Kris Kennaway To: David O'Brien Message-ID: <20051205094203.GA37131@xor.obsecurity.org> References: <20051204184826.D1077@ganymede.hub.org> <20051205030253.GC62285@dragon.NUXI.org> <7ab0fd580512042313k15a93166i@mail.gmail.com> <20051205091040.GB68024@dragon.NUXI.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline In-Reply-To: <20051205091040.GB68024@dragon.NUXI.org> User-Agent: Mutt/1.4.2.1i Cc: "Guillaume R." , freebsd-questions@freebsd.org Subject: Re: A stupid 64bit question ... but ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 09:42:18 -0000 --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 : > > > 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--