Thanks Christo. Apologies for 4 messages coming in at once. I think there were a few technical glitches with the mailing list. Either way, I have submitted an updated patch to the bug report in question that corrects the stack unwinding for Windows. Any testing would be greatly appreciated (I'm not in a position to rigorously test the code for Linux).
Yeah, I got a little emotional with Thaddy's response (which has since been deleted), partly because he mocked me a bit for even attempting to use assembly language for optimisation. Granted, I tend to do more low-level and mathematical programming than higher-level components, where assembler optimisation can really pay dividends. Plus in a perverted way, I actually enjoy trying to squeeze another microsecond out of running time! Gareth aka. Kit. On Wed 29/11/17 05:19 , Christo christo.cra...@gmail.com sent: > On Sun, 2017-11-26 at 09:29 +0000, J. Gareth Moreton wrote: > > > I'm guessing my code is not correct or causes > problems. I haven't > > had much luck in finding a straight answer > > > regarding proper exception handling with > assembler code (where > > correcting non-volatile registers and > stack > > space are concerned), although I'll keep > trying. I tried asking on > > the forum, but Thaddy gave me a response > > > that is somewhat discouraging. > > > > Thaddy has a somewhat unique perspective of things. As per normal when > > reading things on the internet, try to recognize the difference between > > fact and opinion. Facts are very useful, opinions are sometimes > useful > (if the person has a good overview of the subject matter) but can also > > reflect a person's bias. > > > > > _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel