qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] fpu problems with qemu-system-sparc
@ 2006-05-18 16:16 Joerg Platte
  2006-05-18 17:53 ` Blue Swirl
  2006-05-23  6:26 ` Joerg Platte
  0 siblings, 2 replies; 10+ messages in thread
From: Joerg Platte @ 2006-05-18 16:16 UTC (permalink / raw)
  To: qemu-devel

Hi!

I've some problems with qemu-system-sparc and programs using floating point 
instructions. Each time at least two floating point programs are started in 
qemu simultaneously, one or both are killed by the linux kernel with a SIGSEV 
signal (sometimes because of a corrupted stack or invalid register values). 
If I start only one program no error occurs. It looks like it has something 
to do with the disabled-floating-point-unit-trap, which is executed each time 
a process tries to access the fpu while another process has used it before. 
This interrupt calls the linux function do_fpd_trap which then saves the old 
FPU-state and restores the new one. When only one program uses the FPU this 
trap is never executed.

I've checked a lot of the executed instructions in qemu and cannot find any 
problems up to now. Does somebody else has an idea what to check? The test 
program simply adds two float variables (fadds-instruction) in a loop and 
this crashes the program reproducible.

regards,
Jörg

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

end of thread, other threads:[~2006-05-23  6:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-18 16:16 [Qemu-devel] fpu problems with qemu-system-sparc Joerg Platte
2006-05-18 17:53 ` Blue Swirl
2006-05-18 19:50   ` Joerg Platte
2006-05-19 18:14   ` Joerg Platte
2006-05-19 19:14     ` Blue Swirl
2006-05-19 19:38       ` Joerg Platte
2006-05-22 17:51       ` Joerg Platte
2006-05-22 19:12         ` Joerg Platte
2006-05-22 19:31           ` Joerg Platte
2006-05-23  6:26 ` Joerg Platte

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).