From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f8a1,c95fd329226ae099 X-Google-Attributes: gid10f8a1,public X-Google-Thread: 102b75,b29bd286830e0ed8 X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,c95fd329226ae099 X-Google-Attributes: gid1164f8,public From: Reid Tatge Subject: Re: DEC RIP Date: 1998/02/12 Message-ID: #1/1 X-Deja-AN: 324448930 References: <34D02C2C.131E@EasyInternet.net> <6btivi$hna@news.or.intel.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: Texas Instruments, Houston Newsgroups: comp.arch,comp.sys.dec,vmsnet.alpha > But you can do this anyway, with something like the Alpha > architecture, provided you have enough registers to store the > intermediate results of both branches. You just go ahead and > compute both sides of the branch, and at the point where you > know that your original condition will have been resolved, you > ditch one half or the other. That could be with a conditional > move if only one value is involved, or a branch. I'm afraid > that I don't see how predication helps at all, really. Part of the answer you stated yourself: "provided you have enough registers...". When software pipelining a loop, for example, register pressure can build up *quickly*, so full predication helps by allowing reuse of temp registers in mutually exclusive paths. The other possibly minor point is that a conditional move takes additional time and code space. (Note I said minor). I don't know if this is an issue for a superscalar, OOO machine like Alpha. On a statically scheduled VLIW, extra moves can increase the recurrance bound of a loop, leading to loop schedules at less than optimal II's. Finally, depending on how the predication works, it can eliminate concerns about exceptions and pipeline stalls on not-taken paths. -Reid