Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!pyramid!amdcad!rpw3 From: rpw3@amdcad.AMD.COM (rpw3) Newsgroups: comp.arch Subject: Re: Arithmetic Traps in 29000 Message-ID: <19193@amdcad.AMD.COM> Date: Thu, 19-Nov-87 01:24:26 EST Article-I.D.: amdcad.19193 Posted: Thu Nov 19 01:24:26 1987 Date-Received: Sat, 21-Nov-87 12:06:12 EST References: <1656@geac.UUCP> <863@winchester.UUCP> Reply-To: rpw3@amdcad.UUCP () Organization: [Consultant] San Mateo, CA Lines: 18 In article <490@neptune.AMD.COM> brian@neptune.AMD.COM (Brian McMinn) writes: +--------------- | Using these instructions, the user can specify the proper form of overflow | checking on an operation by operation basis (even finer granularity than | having a user register keep track of whether to trap on Overflow or Carry). +--------------- And at the risk of belaboring the point, it only costs 7 instructions of kernel "trampoline code" to hand a trap back to a user-mode handler. So the language run-times can do whatever they want with the exception. Rob Warnock Systems Architecture Consultant UUCP: {amdcad,fortune,sun,attmail}!redwood!rpw3 ATTmail: !rpw3 DDD: (415)572-2607 USPS: 627 26th Ave, San Mateo, CA 94403