home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!sgigate!odin!ledzep.asd.sgi.com!krish
- From: krish@ledzep.asd.sgi.com (Krishnan Sridhar)
- Newsgroups: comp.arch
- Subject: Trap Barrier Instructions
- Message-ID: <1992Jul31.200501.10352@odin.corp.sgi.com>
- Date: 31 Jul 92 20:05:01 GMT
- Sender: news@odin.corp.sgi.com (Net News)
- Distribution: usa
- Organization: Silicon Graphics, Inc.
- Lines: 22
- Nntp-Posting-Host: ledzep.asd.sgi.com
-
-
- As I understand it, a trap barrier instruction (as in alpha and
- possibly other architectures I am not aware of) is used
- to force a precise trap/exception to take place, when the basic
- exception handling mechanism itself is defined to be imprecise.
-
- Questions:
-
- (1) Is this correct?
-
- (2) If so, how does it work? (How does putting this
- instruction in the instruction stream enable the CPU
- to preserve the exact state when the exception occured?)
-
- Another related question: For machines which support only imprecise
- exceptions, how do you *fully* recover from that state when you don't know
- what caused it?
-
-
- Thanks in advance!!
-
- - Krishnan
-