[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::alpha_callstd

Title:ALPHA Calling Standard
Notice:Digital Restricted and Confidential
Moderator:BEGIN::MDAVISR
Created:Thu Jun 29 1989
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:113
Total number of notes:847

111.0. "Alignment of global extended floating?" by FLYBA::BRENDER (Ron Brender) Tue Feb 18 1997 14:22

Should global extended floating data be required to be octaword, rather than
just quadword, aligned? See notes 109.25, .29, .32, and .33 as well as
.35 for prior discussion.

T.RTitleUserPersonal
Name
DateLines
111.1Any supporters for octaword alignment?FLYBA::BRENDERRon BrenderTue Feb 18 1997 20:296
Now that the dust has settled to establish quadword as the required alignment
for global variables, is there anyone who wants to argue that extended
precision (16-byte, 128-bit) global variables (both scalars and complex)
ought to have a required alignment of octaword (16-byte, 128-bit)?

If no one speaks out in favor, I'll just let this issue quietly die...
111.2Discussion, but not arguing in favorWIBBIN::NOYCEPulling weeds, pickin' stonesWed Feb 19 1997 13:265
This would be of interest if we thought future hardware might include
load/store octaword instructions.  Presumably those would work best if
the target address is octa aligned.  The calling standard does already
specify octaword alignment in some other places -- stack, linkage pairs
(VMS), homed argument lists (Unix & NT -- follows from stack rule).
111.3DECC::OUELLETTEWed Feb 19 1997 16:481
The stack on NT is Quad aligned right?
111.4Yes, butWIBBIN::NOYCEPulling weeds, pickin' stonesWed Feb 19 1997 17:297
It's also octaword aligned.

Every fixed-size allocation is rounded up to a multiple of 16.

Every dynamic allocation is (dynamically) rounded up to a multiple of 16
(or the new stack pointer is rounded down to a multiple of 16, which is
equivalent).