[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:2 Jan 2005 19:43:43 -0000 
Subject:Re: another fortran-related problem in pop11 
From:Aaron Sloman 
Volume-ID: 

Jeff Best <x@nospam.please> writes:

> Date: Tue, 28 Dec 2004 18:44:48 +0000

> I don't know whether this is relevant or not but amongst the settings
> from the sysdefs.p file for various platforms, (overriding the defaults
> defined in mcdata.p), the machine access setting DOUBLE_ALIGN_BITS has
> the following values:
>
> SPARC/Solaris   64 ( the default comes from mcdata.p)
> x86/Solaris     32
> x86/Linux       8
>
> My limited understanding of this is that these values relate to the
> underlying processor architecture, so I would expect the x86 values to
> be the same in both. It could, of course, be dependent upon the
> compiler's ability to pack and unpack data into words, and hence have
> nothing to do with the CPU.

Since that setting did not seem to be specific to fortran, and as
far as I could tell the problems I found all concerned single float
results from fortran procedures, it did not seem likely to help.

But out of curiosity I changed the value to 32 for linux and rebuilt
everything. One effect was to make the executables and saved images
slightly larger, as expected. Another effect was to prevent the
sim_agent library compiling, although many other things continued
to work as before, including XVed.

So the problem of why external fortran procedures
returning a single precision float do not work in PC linux poplog
remains unsolved for now.

Aaron