From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 1164f8,ddd5f2f431fd91ca X-Google-NewGroupId: yes X-Google-Attributes: gidd180ab3bd8,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Michael Kraemer Newsgroups: comp.sys.dec Subject: Re: OpenVMS Still Only 32-Bit Addresses!? Date: Tue, 15 Feb 2011 03:11:38 +0100 Organization: T-Online 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=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.t-online.com 1297735898 01 n11759 v-JkCPv6oRY9PF 110215 02:11:38 X-Complaints-To: usenet-abuse@t-online.de X-ID: Gl56A8ZrQeiLvLbxMlvGG16KXWzjH6rf54fvG9RwkjXCxagcmPOTYY User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; de-DE; rv:1.3) Gecko/20030616 X-Accept-Language: en-us, en In-Reply-To: Xref: g2news2.google.com comp.sys.dec:3019 Dennis Grevenstein schrieb: > 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. Well, some fun applications such as Mandelbrot explorers can burn a lot of FP power but need almost no RAM. But the regular FP crowd usually treats problems which require a lot of RAM (finite elements, weather forecast, all kinds of simulations working on mesh structures etc.). But at the time the Alpha came along, the limit was not the addressing mode, but the available or affordable RAM. >>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. The new system can still be 64bit, solid and clean, but the compiler should operate in "legacy mode" by default. That's good practice, especially considering that quite a few (most ?) users didn't start with OSF/1 as their first system but switched over from Ultrix or VMS. > >>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. That would be the majority, I guess. > 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. Well, this certainly depends on how the vendor has organized the system's libraries. On AIX you use the native compiler's -q32/-q64 switch to generate a 32bit or 64bit executable, no matter what type of machine you are running on. On HP-UX you simply use +DD64 for 64bit. Linux is the worst case I've encountered so far, it seems you need to run on a 64bit machine to generate 64bit executables, and, to make matters even worse, FP results sometimes are different for 32/64bit executables.