home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.arch
- Path: sparky!uunet!email!mips.complang.tuwien.ac.at!anton
- From: anton@mips.complang.tuwien.ac.at (Anton Martin Ertl)
- Subject: Re: trapping speculative ops (LONG)
- Message-ID: <1992Sep8.091112.25367@email.tuwien.ac.at>
- Sender: news@email.tuwien.ac.at
- Nntp-Posting-Host: mips.complang.tuwien.ac.at
- Organization: Institut fuer Computersprachen, Technische Universitaet Wien
- References: <CLIFFC.92Aug28085924@antigone.rice.edu> <1992Aug31.224611.5196@odin.diku.dk>
- Date: Tue, 8 Sep 1992 09:11:12 GMT
- Lines: 45
-
- Andi Krall have written a tech report on this problem. Our solution is
- slightly different from the one discussed here. The trap bit is
- checked explicitely (by a branch instruction). This seems to waste
- instruction bandwidth, but we assumed a high-degree superscalar
- processor, where the problem is not the number of instructions, but
- their low parallelism. This approach has the advantage that the
- compiler can move more than the roots of a dependence DAG above a
- branch.
-
- @TechReport{ertl&krall92exceptions,
- author = "M. Anton Ertl and Andreas Krall",
- title = "Exception Handling vs.\ Speculative Execution",
- institution = "Institut f{\"u}r Computersprachen, Technische
- Universit{\"a}t Wien",
- year = "1992",
- type = "Bericht",
- number = "TR 1851-1992-10",
- abstract = "Superscalar processors, which execute basic blocks
- sequentially, cannot use much instruction level
- parallelism. Speculative execution has been proposed
- to execute basic blocks in parallel. Previous
- approaches for speculative execution rely heavily
- either on hardware or on software. A pure hardware
- approach is expensive. A pure software approach like
- restricted percolation suffers from low performance,
- because exception-generating instructions cannot be
- executed speculatively. General percolation solves
- this problem by ignoring exceptions. This behaviour
- is clearly unacceptable, as many applications rely on
- the correct handling of exceptions. We propose
- delayed exceptions, a combination of hardware and
- compiler extensions that can provide correct
- exception handling in compiler-based speculative
- execution. Exception-generating instructions are
- split into a trap-noting version that can be moved
- around freely, and a trap-check that calls
- compiler-generated fix-up code on an exception.
- Delayed exceptions can also be used to solve the
- imprecise exception problem."
- }
-
- - anton
- --
- M. Anton Ertl Some things have to be seen to be believed
- anton@mips.complang.tuwien.ac.at Most things have to be believed to be seen
-