From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,3567d4ae1ce1d0a3 X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,3567d4ae1ce1d0a3 X-Google-Attributes: gid102b75,public From: zalman@netcom.com (Zalman Stern) Subject: Re: P6 vs Alpha (was Re: Pro vs. Mips/Alpha) Date: 1996/07/22 Message-ID: #1/1 X-Deja-AN: 169556819 sender: zalman@netcom21.netcom.com references: <4sniad$gbl@vidar.diku.dk> <31EFA203.356B@swcp.com> <4sr0ts$q73@news.iastate.edu> followup-to: comp.sys.dec,comp.arch organization: NETCOM On-line Communication Services (408 261-4700 guest) newsgroups: comp.sys.dec,comp.arch John Hascall (john@iastate.edu) wrote: : The VAX wasn't all that short on registers (unlike x86). The VAX has 16 registers minus 2 or 3 which are used for special purposes. You still have to think about the stack in writing assembly because most VAX calling conventions passes parameters on the stack. Almost every assembly language routine I've written on RISC machines (MIPS, POWER/PowerPC, SPARC, Alpha, etc.) takes its arguments in registers, does its computation in registers, and returns its value in a register. If the routine is big enough that I have to buy a stack frame, the compiler generally does better. (Unless one is writting asm becuase the compiler doesn't do something you need to do. Inline asm and builtin intrinsics usually cover those cases pretty well though.)