Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: jchall@ichips.intel.com (Jonathan C Hall)
Subject: Re: DEC RIP
Date: 1998/02/12	[thread overview]
Message-ID: <6btivi$hna@news.or.intel.com> (raw)
In-Reply-To: 34D02C2C.131E@EasyInternet.net


Andrew Reilly (reilly@zeta.org.au) wrote:
: In article <34E11E9E.5994@easyinternet.net>,
: 	Paul DeMone <PaulDeMone@EasyInternet.net> writes:
: > Andrew Essen wrote:
: > [snip] 
: >> assuming adding full predication was free, it's theoretically superior
: >> since the instruction counts are lower.  but what additional optimizations
: >> does it enable (that are precluded by using only conditional moves)?
: >> it's certainly a neat concept, but not a panacea.
: > 
: > The main benefit of predication is that it allows many conditional branches
: > to be eliminated.  This allows basic blocks (a code segment that is entered
: > from the beginning and exits from the end; this is maximum portion of code
: > that many compiler optimizations can be applied to) to be coalesced into
: > larger basic blocks.  This opens up the code to further optimizations and
: > more efficient scheduling, especially on wide issue machines.
: 
: 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.
:

I am by no means an expert on predication, but I think that I can
answer this.

The method you propose will not work if there are instructions on
the speculative path that could cause traps or exceptions.  I don't
know about Alpha, but on x86, there are many instructions that can
produce exceptions.  This makes it very difficult for the compiler
to insert optimizations involving a conditional move.  

	Jon
 
<snip>
: 
: -- 
: Andrew Reilly: reilly@zeta.org.au                  +61 2 9559 5029 (h)
: 
: "He stares out over the city he has sworn to..stare out over." the Tick

-- 
Jonathan Hall      jchall@ichips.intel.com  
Employed by Intel, but not speaking for them



  parent reply	other threads:[~1998-02-12  5:00 UTC|newest]

Thread overview: 131+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <6aj9it$fv0$1@rocky.jgk.org>
     [not found] ` <zalmanEnF9FE.1K8@netcom.com>
     [not found]   ` <34CEB3E5.7376@EasyInternet.net>
1998-01-28  5:00     ` DEC RIP Rob Young
1998-01-28  5:00       ` Michael E. Austin
1998-01-28  5:00       ` Rob Rodgers
1998-01-28  5:00         ` Jonas Persson
1998-01-28  5:00         ` Greg Lindahl
1998-01-28  5:00           ` Rob Rodgers
1998-01-28  5:00             ` Bill Moyer
1998-01-28  5:00               ` Rob Rodgers
1998-01-28  5:00                 ` jf mezei
1998-01-30  5:00                   ` David Cherkus
1998-01-29  5:00                 ` Douglas H. Borsom
1998-01-29  5:00                   ` Greg Lindahl
1998-01-29  5:00                   ` wetboy
1998-01-29  5:00                     ` Anders Blicher Petersen
1998-02-01  5:00                       ` Bill Moyer
1998-02-01  5:00                         ` jf mezei
1998-02-02  5:00                           ` Douglas H. Borsom
1998-02-02  5:00                         ` Anders Blicher Petersen
1998-02-01  5:00                           ` H.W. Stockman
1998-02-02  5:00                             ` Rob Young
1998-02-02  5:00                             ` Peter Mardahl
1998-02-03  5:00                               ` Sander Vesik
1998-01-28  5:00               ` Greg Lindahl
1998-01-29  5:00               ` mathog
1998-01-29  5:00               ` the count
1998-01-29  5:00           ` Donald Dossa
1998-01-30  5:00             ` Greg Lindahl
1998-01-30  5:00               ` Ulrich Ruede
1998-01-30  5:00                 ` Greg Lindahl
1998-01-30  5:00                   ` H.W. Stockman
1998-02-12  5:00                     ` Paul Jacobs
1998-01-29  5:00         ` wetboy
1998-01-29  5:00           ` Douglas H. Borsom
1998-01-29  5:00           ` Jeffrey J. Potoff
1998-01-30  5:00           ` Greg Lindahl
1998-02-02  5:00           ` wetboy
1998-01-29  5:00       ` Paul DeMone
1998-01-30  5:00         ` Stan Lass
1998-01-31  5:00           ` Paul DeMone
1998-01-31  5:00             ` Stan Lass
1998-02-05  5:00         ` mulp - cluster buster
1998-02-06  5:00           ` Paul DeMone
1998-02-06  5:00             ` brianh
1998-02-06  5:00               ` Bill Moyer
1998-02-07  5:00                 ` Terry Shannon
1998-02-10  5:00                 ` James Dean
1998-02-14  5:00                   ` bgInc. -- Choice is overrated
1998-02-09  5:00               ` Dan P.
1998-02-06  5:00             ` jf mezei
1998-02-09  5:00             ` Burkhard Neidecker-Lutz
1998-02-10  5:00               ` Paul DeMone
1998-02-10  5:00                 ` Andrew Essen
1998-02-10  5:00                   ` Paul DeMone
1998-02-11  5:00                     ` Andrew Reilly
1998-02-12  5:00                       ` Zalman Stern
1998-02-11  5:00                     ` Anil Thomas Maliyekkel
1998-02-11  5:00                 ` Rob Young
1998-02-11  5:00                   ` Paul DeMone
1998-02-11  5:00                     ` Casper H.S. Dik - Network Security Engineer
1998-02-11  5:00                     ` Anil Thomas Maliyekkel
1998-02-11  5:00                     ` Rob Young
1998-02-11  5:00                       ` Zalman Stern
1998-02-12  5:00                         ` brianh
1998-02-12  5:00                           ` Zalman Stern
1998-02-13  5:00                             ` brianh
1998-02-13  5:00                               ` Anders Blicher Petersen
1998-02-14  5:00                                 ` hotlynx
1998-02-13  5:00                               ` James Van Buskirk
1998-02-17  5:00                           ` Dan P. ACT Computers
1998-02-24  5:00                             ` Samuel S. Paik
1998-02-25  5:00                             ` PJ
1998-02-13  5:00                         ` Pete Dickerson
1998-02-13  5:00                           ` Terry Shannon
1998-02-13  5:00                             ` Tubby Zippergate
1998-02-14  5:00                               ` Pete Dickerson
1998-02-14  5:00                               ` bgInc. -- Choice is overrated
1998-02-14  5:00                               ` Terry Shannon
1998-02-13  5:00                             ` Anil Thomas Maliyekkel
1998-02-17  5:00                               ` Dan P. ACT Computers
1998-02-18  5:00                               ` David Cherkus
1998-02-19  5:00                                 ` Anil Thomas Maliyekkel
1998-02-19  5:00                                   ` Terry Shannon
     [not found]                                 ` <Stafford-1902981403210001@199.17.130.55>
1998-02-24  5:00                                   ` Philip J. Lewis
1998-02-24  5:00                           ` mulp - cluster buster
1998-02-25  5:00                             ` Pete Dickerson
1998-02-26  5:00                               ` Paul DeMone
1998-02-11  5:00                       ` Paul DeMone
1998-02-11  5:00                         ` Greg Lindahl
1998-02-11  5:00                           ` Paul DeMone
1998-02-13  5:00                             ` Bernd Paysan
1998-02-14  5:00                               ` Aaron Spink
1998-02-15  5:00                                 ` Craig Burley
1998-02-17  5:00                                 ` Dan P. ACT Computers
1998-02-16  5:00                               ` Anil Thomas Maliyekkel
1998-02-16  5:00                             ` Allen J. Baum
1998-02-16  5:00                               ` Bill
1998-02-17  5:00                                 ` Andy Glew
1998-02-17  5:00                                   ` Paul DeMone
1998-02-17  5:00                                   ` Bill
1998-02-18  5:00                                   ` Allen J. Baum
1998-02-18  5:00                                   ` Zalman Stern
1998-02-18  5:00                                     ` Bernd Paysan
1998-02-19  5:00                                     ` Patrick Logan
1998-02-19  5:00                                   ` bgInc. -- Choice is overrated
1998-02-17  5:00                                 ` Randy Hawley
1998-02-11  5:00             ` Death of the Rats
1998-02-12  5:00         ` Jonathan C Hall [this message]
1998-02-12  5:00           ` Reid Tatge
1998-02-12  5:00             ` Larry Meadows
1998-02-13  5:00           ` Andrew Essen
1998-02-01  5:00 Vampyre
  -- strict thread matches above, loose matches on Subject: below --
1998-02-01  5:00 Vampyre
1998-02-01  5:00 Vampyre
1998-02-01  5:00 Vampyre
1998-02-17  5:00 Anil Thomas Maliyekkel
1998-02-24  5:00 ` mulp - cluster buster
1998-02-25  5:00   ` Anil Thomas Maliyekkel
1998-02-25  5:00     ` Larry Kilgallen
1998-02-25  5:00   ` Doug Siebert
1998-02-25  5:00   ` jf mezei
1998-02-26  5:00     ` Muriel Barstoned
1998-02-25  5:00       ` George Herbert
1998-02-25  5:00         ` Harry
1998-02-26  5:00     ` Ketil Z Malde
1998-02-27  5:00       ` J. Maynard Gelinas
1998-02-27  5:00         ` Roger Binns
1998-02-28  5:00           ` Kevin P. Neal
1998-03-01  5:00     ` Piercarlo Grandi
1998-03-01  5:00       ` H.W. Stockman
1998-03-04  5:00   ` Heikki Kultala
1998-03-04  5:00     ` Joe Buck
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox