Port-vax archive

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

Re: Moving VAX into 21 century :-)



> On Aug 27, 2019, at 3:01 PM, Johnny Billquist <bqt%update.uu.se@localhost> wrote:
> 
> True. Passing parameters in registers are definitely an option. Will require saving and restoring registers at call. And it might be messy in how to deal with different types of parameters. So it would increase complexity in possibly several ways. But should enable faster execution.

VAX has the same[*] number of registers as the 32-bit ARM architecture, so following it's model seems like it could work out fine (first 4 args go in R0-R3, results in R0[..R3, depending on data type being returned]).

[*] ...modulo the banked registers, but VAX has other ways to deal with the function those serve on ARM.

-- thorpej



Home | Main Index | Thread Index | Old Index