fsqrt

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Jun 8 09:25:24 EST 2013


On Sat, 2013-06-08 at 09:23 +1000, Benjamin Herrenschmidt wrote:
> Ok, thinking out loud... looks like we might be able to just use existing 
> math-emu for that. From what I can tell, all it needs (other than enabling
> the config option), is a call to flush_fp_to_thread(current);
> 
> While talking math-emu... we seem to have some duplication between the
> code on do_mathemu which can be compiled without CONFIG_MATH_EMULATION and
> in this case only just emulates loads/stores/fmr and the code in
> arch/powerpc/kernel/softemu8xx.c.
> 
> Is there any reason we can't just get rid of the latter ?

Or just git completely rid of that "minimal emulation" ...

Cheers,
Ben.




More information about the Linuxppc-dev mailing list