Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Moving VAX into 21 century :-)



On 2019-09-01 00:01, Mouse wrote:
>>>> I can't remember.  Does CALL really align the stack?
>>> Yes, and yes.  The alignment (2 bits) is part of the generated stack
>>> frame.
>> And, sorry for asking instead of trying to read the documentation,
>> this alignment is not done in general for the stack?
> 
> Right; it is not.  The VAX is about as misalignment-tolerating as
> architectures get; there are extremely few pieces of it where anything
> needs any alignment at all.  You can `align' your stack to an odd
> address and, in general, all that will happen is you'll pay a bit of a
> speed penalty on some implementations.

But this discussion is about speed, right?
;-)

Anyway, this "bit of a speed penalty" is implementation dependent,
so it could be a lot.


Home | Main Index | Thread Index | Old Index