Re: [fpc-devel] Exception handling differences with Delphi

2011-11-26 Thread Tomas Hajny
On 25 Nov 11, at 23:09, Sergei Gorelkin wrote: > 25.11.2011 21:00, Tomas Hajny пишет: > >> > >> Isn't the fact that it's missing in i386-linux RTL more an omission of the > >> respective platform maintainer rather than a hint that it might be > >> specific to Windows (and specifically to old W

Re: [fpc-devel] Exception handling differences with Delphi

2011-11-25 Thread Sergei Gorelkin
25.11.2011 21:00, Tomas Hajny пишет: Isn't the fact that it's missing in i386-linux RTL more an omission of the respective platform maintainer rather than a hint that it might be specific to Windows (and specifically to old Windows)? Extending my previous comment after digging a bit more: 1)

Re: [fpc-devel] Exception handling differences with Delphi

2011-11-25 Thread Florian Klämpfl
Am 25.11.2011 19:00, schrieb Tomas Hajny: > 2) The AMD docs (referenced from the URL above) explicitly mention the > impacted CPU versions including Athlon64 (and the reference above mentions > that it impacts both the x86 compatibility mode and the x86_64 native > mode). > > 3) The problem is als

Re: [fpc-devel] Exception handling differences with Delphi

2011-11-25 Thread Tomas Hajny
On Fri, November 25, 2011 18:10, Tomas Hajny wrote: > On Fri, November 25, 2011 13:57, Sergei Gorelkin wrote: >> 24.11.2011 21:48, Florian Klämpfl пишет: >>> Am 24.11.2011 14:59, schrieb Sergei Gorelkin: > . > . 5) What is the 'Athlon prefetch bug' we're trying to handle? Should be >>>

Re: [fpc-devel] Exception handling differences with Delphi

2011-11-25 Thread Tomas Hajny
On Fri, November 25, 2011 13:57, Sergei Gorelkin wrote: > 24.11.2011 21:48, Florian Klämpfl пишет: >> Am 24.11.2011 14:59, schrieb Sergei Gorelkin: . . >>> 5) What is the 'Athlon prefetch bug' we're trying to handle? Should be >>> an old thing, since it originates from svn revision 1; googl

Re: [fpc-devel] Exception handling differences with Delphi

2011-11-25 Thread Sergei Gorelkin
24.11.2011 21:48, Florian Klämpfl пишет: Am 24.11.2011 14:59, schrieb Sergei Gorelkin: Hello, There are some differences between FPC and Delphi exception handling (working on SEH support, one would inevitably collect all of them): 1) Delphi uses EZeroDivide for floating-point division by zero,

Re: [fpc-devel] Exception handling differences with Delphi

2011-11-24 Thread Florian Klämpfl
Am 24.11.2011 14:59, schrieb Sergei Gorelkin: > Hello, > > There are some differences between FPC and Delphi exception handling > (working on SEH support, one would inevitably collect all of them): > > 1) Delphi uses EZeroDivide for floating-point division by zero, while > FPC uses EDivByZero (th

Re: [fpc-devel] Exception handling differences with Delphi

2011-11-24 Thread Paul Ishenin
24.11.11 21:59, Sergei Gorelkin пишет: 1) Delphi uses EZeroDivide for floating-point division by zero, while FPC uses EDivByZero (the same exception class is used for integer division by zero). Should it be fixed? 2) Delphi uses EUnderflow for floating-point underflow condition, while FPC uses E

[fpc-devel] Exception handling differences with Delphi

2011-11-24 Thread Sergei Gorelkin
Hello, There are some differences between FPC and Delphi exception handling (working on SEH support, one would inevitably collect all of them): 1) Delphi uses EZeroDivide for floating-point division by zero, while FPC uses EDivByZero (the same exception class is used for integer division by z