-
Nadav Har'El authored
the FPU on a context switch caused by a function call (as opposed to a preemption during interrupt), in practice this makes the "sunflow" benchmark from SpecJVM fail, producing wrong results. This patch saves the FPU on any context switch and makes "sunflow" work correctly, at the price of slower context switches and an unsolved puzzle on why the heck this is needed in the first place :(
Nadav Har'El authoredthe FPU on a context switch caused by a function call (as opposed to a preemption during interrupt), in practice this makes the "sunflow" benchmark from SpecJVM fail, producing wrong results. This patch saves the FPU on any context switch and makes "sunflow" work correctly, at the price of slower context switches and an unsolved puzzle on why the heck this is needed in the first place :(