From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: d180ab3bd8,ddd5f2f431fd91ca X-Google-Attributes: gidd180ab3bd8,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!87.79.20.105.MISMATCH!news.netcologne.de!ramfeed1.netcologne.de!newsfeed01.sul.t-online.de!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Dennis Grevenstein Newsgroups: comp.sys.dec Subject: Re: OpenVMS Still Only 32-Bit Addresses!? Date: Tue, 15 Feb 2011 00:11:35 +0100 Organization: insane in the mainframe Sender: Dennis Grevenstein Message-ID: References: <743a5365-d7b1-4730-bbe1-37e58643972f@z20g2000yqe.googlegroups.com> <117a13ef-2b0b-4418-ad13-aa5abbcd0cf1@w19g2000yqa.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1297725095 02 n14372 HtGkCud1ARr2Zpu 110214 23:11:35 X-Complaints-To: usenet-abuse@t-online.de X-ID: bRZTqgZfoeUaX2dCix0Jx4T1OfB09KICYNCiZfzBKJV9sRVLwSSk4G User-Agent: tin/1.9.6-20101126 ("Burnside") (UNIX) (Darwin/10.6.0 (i386)) Xref: g2news2.google.com comp.sys.dec:3013 Michael Kraemer wrote: > > And still we are talking just 64bit integers, > not 64bit addressing. The people who like 64bit arithmetics, but don't need all that much memory, seem to be more interested in fp than int, I guess. >> ILP64 means that integers, longs, and pointers are all 64bit. >> >> LP64 means that longs and pointers (but not integers) are 64bit. > > that's what most (all ?) 64bit systems use. I think I remember that the old Cray vector machines used an ILP64 mode where about everything but a char was 64bits. Quite confusing, but it is a freak system after all. > There's no "so on" and no ambiguity. > One just has a problem with the "long" data type, > which on some systems/compilers (e.g. OSF/1) > suddenly become 8 bytes without further notice. > Lots of fun if one used it to describe data on external media. You mean when moving from ULTRIX-MIPS to OSF-Alpha? Maybe the 64bit system was a bit early for its time, but at least it was solid and clean engineering. > This is not restricted to VMS. > Most systems/compilers I know of handle the transition to 64bit > in a backward compatible manner, i.e. they use ILP32 by default, > as it should be, and the resulting binaries would run no matter > whether the underlying kernel is 32 or 64bit. > One has to enable some extra switch to get LP64. I think that is only true for systems that "evolved" into a 64bit environment like HP-UX, Solaris, IRIX, AIX or VMS. One could argue that having a clean 64bit environment has its advantages. With a mixed 32/64bit environment, you also need libraries in both flavors and get a bunch of dependency problems. In many cases this ends up in chaos. Look at MacOS X. Does anyone remember when it was first advertised as 64bit? Now it's getting "more 64bit" for a long time. It's still a common problem with many systems that you don't really know if a certain part is 32 or 64bits. there is more confusion when you mix and match 32/64bits with CPU architectures. Compiling a program for a current CPU generation can often be a performance boost. But now you need all the libraries in a mips3/mips4 flavor (IRIX) or SPARCv8/SPARCv9 (Solaris). Sometimes, I do appreciate the simplicity of OSF/1. Dennis -- Don't suffer from insanity... Enjoy every minute of it.