linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 832x: MATH_EMUL
@ 2009-08-21  6:39 Heiko Schocher
  2009-08-21  6:55 ` Kumar Gala
  0 siblings, 1 reply; 5+ messages in thread
From: Heiko Schocher @ 2009-08-21  6:39 UTC (permalink / raw)
  To: linuxppc-dev

Hello,

I actually porting a mpc8321 based port, and because there is no FPU
on this CPU, I activated MATH_EMUL, as all other mpc832x ports did.

Is there something like a counter, which counts how many times this
Exception occurs?

Thanks.

bye
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 832x: MATH_EMUL
  2009-08-21  6:39 832x: MATH_EMUL Heiko Schocher
@ 2009-08-21  6:55 ` Kumar Gala
  2009-08-21 13:16   ` Detlev Zundel
  2009-08-21 13:45   ` Geert Uytterhoeven
  0 siblings, 2 replies; 5+ messages in thread
From: Kumar Gala @ 2009-08-21  6:55 UTC (permalink / raw)
  To: hs; +Cc: linuxppc-dev


On Aug 21, 2009, at 1:39 AM, Heiko Schocher wrote:

> Hello,
>
> I actually porting a mpc8321 based port, and because there is no FPU
> on this CPU, I activated MATH_EMUL, as all other mpc832x ports did.
>
> Is there something like a counter, which counts how many times this
> Exception occurs?

Geert published some patches that did something like this but there  
isn't upstream as far as I know at this point.

- k

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 832x: MATH_EMUL
  2009-08-21  6:55 ` Kumar Gala
@ 2009-08-21 13:16   ` Detlev Zundel
  2009-08-21 13:45   ` Geert Uytterhoeven
  1 sibling, 0 replies; 5+ messages in thread
From: Detlev Zundel @ 2009-08-21 13:16 UTC (permalink / raw)
  To: linuxppc-dev

Hi Kumar,

> On Aug 21, 2009, at 1:39 AM, Heiko Schocher wrote:
>
>> Hello,
>>
>> I actually porting a mpc8321 based port, and because there is no FPU
>> on this CPU, I activated MATH_EMUL, as all other mpc832x ports did.
>>
>> Is there something like a counter, which counts how many times this
>> Exception occurs?
>
> Geert published some patches that did something like this but there
> isn't upstream as far as I know at this point.

Were there any technical reasons or did it just slip into the cracks?
In my opinion such a counter would be *very* helpful to judge the
performance impact one suffers instead of living in ignorant bliss.

Cheers
  Detlev

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu@denx.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 832x: MATH_EMUL
  2009-08-21  6:55 ` Kumar Gala
  2009-08-21 13:16   ` Detlev Zundel
@ 2009-08-21 13:45   ` Geert Uytterhoeven
  2009-08-21 13:59     ` Heiko Schocher
  1 sibling, 1 reply; 5+ messages in thread
From: Geert Uytterhoeven @ 2009-08-21 13:45 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-dev, hs

On Fri, 21 Aug 2009, Kumar Gala wrote:
> On Aug 21, 2009, at 1:39 AM, Heiko Schocher wrote:
> >I actually porting a mpc8321 based port, and because there is no FPU
> >on this CPU, I activated MATH_EMUL, as all other mpc832x ports did.
> >
> >Is there something like a counter, which counts how many times this
> >Exception occurs?
> 
> Geert published some patches that did something like this but there isn't
> upstream as far as I know at this point.

It's upstream: 80947e7c99c29ce3a78bdc1933b310468455a82f

With kind regards,

Geert Uytterhoeven
Software Architect
Techsoft Centre

Technology and Software Centre Europe
The Corporate Village · Da Vincilaan 7-D1 · B-1935 Zaventem · Belgium

Phone:    +32 (0)2 700 8453
Fax:      +32 (0)2 700 8622
E-mail:   Geert.Uytterhoeven@sonycom.com
Internet: http://www.sony-europe.com/

A division of Sony Europe (Belgium) N.V.
VAT BE 0413.825.160 · RPR Brussels
Fortis · BIC GEBABEBB · IBAN BE41293037680010

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 832x: MATH_EMUL
  2009-08-21 13:45   ` Geert Uytterhoeven
@ 2009-08-21 13:59     ` Heiko Schocher
  0 siblings, 0 replies; 5+ messages in thread
From: Heiko Schocher @ 2009-08-21 13:59 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: linuxppc-dev, Detlev Zundel

Hello Geert,

Geert Uytterhoeven wrote:
> On Fri, 21 Aug 2009, Kumar Gala wrote:
>> On Aug 21, 2009, at 1:39 AM, Heiko Schocher wrote:
>>> I actually porting a mpc8321 based port, and because there is no FPU
>>> on this CPU, I activated MATH_EMUL, as all other mpc832x ports did.
>>>
>>> Is there something like a counter, which counts how many times this
>>> Exception occurs?
>> Geert published some patches that did something like this but there isn't
>> upstream as far as I know at this point.
> 
> It's upstream: 80947e7c99c29ce3a78bdc1933b310468455a82f

Thanks for this info!

bye
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-21 13:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-21  6:39 832x: MATH_EMUL Heiko Schocher
2009-08-21  6:55 ` Kumar Gala
2009-08-21 13:16   ` Detlev Zundel
2009-08-21 13:45   ` Geert Uytterhoeven
2009-08-21 13:59     ` Heiko Schocher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).