Skip to contentSkip to conversation

832x: MATH_EMUL

DISCUSSION Heiko Schocher 4 participants 5 messages Aug 21, 2009

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
#1 lore raw
Quoted 7 lines · Heiko Schocher

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

#2 lore raw

Hi Kumar,

Quoted 12 lines · Heiko Schocher
Quoted 8 lines

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: [email protected]

#3 lore raw
In reply to Kumar Gala
Quoted 9 lines · Kumar Gala
Quoted 5 lines · Heiko Schocher

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:   [email protected]
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

#4 lore raw

Hello Geert,

Quoted 11 lines · Geert Uytterhoeven
Quoted 8 lines · Kumar Gala
Quoted 5 lines · Heiko Schocher

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

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