Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Switch FPU emulator trap to BREAK instruction
@ 2010-02-05  8:05 Muthu Kumaran
  2010-02-05 17:36 ` David Daney
  0 siblings, 1 reply; 3+ messages in thread
From: Muthu Kumaran @ 2010-02-05  8:05 UTC (permalink / raw)
  To: linux-mips

I am using 2.6.18 linux version on MIPS32 core. One of the application
is using intensive floating point operations. This hardware doesn't
have FPU and also the application is not compiled for software
floating point support.
Hence, it is using the floating point emulation.

While running that application, On a timer interrupt there is a normal
integer div instruction which gives wrong result in the HI register.

However, when I applied the following patch, this problem disappeared.

http://kerneltrap.org/mailarchive/git-commits-head/2008/10/30/3873324

When I looked into the patch, handling of invalid instruction
exception is moved from trap to break.
There is no other behavioural change in this patch. I really don't
understand the need for this patch, May I ask someone to explain the
background information behind this patch? Is this for any known issue?

Thanks.
I am new to both Linux and also MIPS core.

-- 
http://testbed.aws.cit.ie/panneer

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

end of thread, other threads:[~2010-02-05 20:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-05  8:05 Switch FPU emulator trap to BREAK instruction Muthu Kumaran
2010-02-05 17:36 ` David Daney
2010-02-05 20:29   ` Muthu Kumaran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox