[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] How does ARM VFP is emulated?
From: |
Wei-Ren Chen |
Subject: |
Re: [Qemu-devel] How does ARM VFP is emulated? |
Date: |
Fri, 17 Aug 2012 19:27:19 +0800 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Aug 17, 2012 at 10:29:24AM +0200, Laurent Desnogues wrote:
> On Thursday, August 16, 2012, Oi Khote <address@hidden> 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