Aucbvax.4103 fa.unix-wizards utzoo!decvax!ucbvax!unix-wizards Tue Sep 29 12:43:22 1981 bug in ldiv >From dave@UCLA-Security Tue Sep 29 12:38:33 1981 While investigating a bug in ldiv, I heard a rumor that a list of ldiv and other bugs was presented at the Jan 81 Usenix meeting. Does anyone have this list of bugs (preferably with fixes)? The par- ticular bug I encountered was in the "clever part" of ldiv, which assumes that the destination registers remain unchanged after a failed divide. This is the case on the 11/45, but not the '23 or the '44. My proposed fix is to simply save the register before the potential failure and then restore it. Any more elegant ideas? --dave-- ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.