Re: Floating point exceptions with MPC5200

2009-01-19 Thread Wolfgang Grandegger
Gabriel Paubert wrote: > On Mon, Jan 19, 2009 at 10:33:40AM +0100, Wolfgang Grandegger wrote: >> Hello, >> >> I want to provoke a "floating point exception" by doing a division by 0. >> The expection does come as expected on my x86 PC: >> >> $ ./divby0 >> Floating point exception >> >> but not

Re: Floating point exceptions with MPC5200

2009-01-19 Thread Gabriel Paubert
On Mon, Jan 19, 2009 at 10:33:40AM +0100, Wolfgang Grandegger wrote: > Hello, > > I want to provoke a "floating point exception" by doing a division by 0. > The expection does come as expected on my x86 PC: > > $ ./divby0 > Floating point exception > > but not on my MPC5200 board. Any idea w

Re: Floating point exceptions with MPC5200

2009-01-19 Thread Wolfgang Grandegger
Andreas Schwab wrote: > Wolfgang Grandegger writes: > >> I want to provoke a "floating point exception" by doing a division by 0. > > Division by 0 is undefined, so you cannot expect any kind of outcome. Hm, even not a "floating point exception" signal like on x86? Wolfgang. _

Re: Floating point exceptions with MPC5200

2009-01-19 Thread Andreas Schwab
Wolfgang Grandegger writes: > I want to provoke a "floating point exception" by doing a division by 0. Division by 0 is undefined, so you cannot expect any kind of outcome. Andreas. -- Andreas Schwab, SuSE Labs, sch...@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany