On Fri, Aug 17, 2012 at 10:29:24AM +0200, Laurent Desnogues wrote: > On Thursday, August 16, 2012, Oi Khote <oikh...@hotmail.com> wrote: > > So how exactly does VFP is being emulated. > > QEMU uses a library for FP computations, based on the softfloat package.
I thought QEMU emulates VFP itself, something like float VFP_helper(float a, float b) { ... } But I am wrong, it acutally does this, right? float64 VFP_HELPER(sqrt, d)(float64 a, CPUARMState *env) { return float64_sqrt(a, &env->vfp.fp_status); } And float64_sqrt is implemented in fpu/* . Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj