[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Arm VFP

From: Paul Brook
Subject: Re: [Qemu-devel] Arm VFP
Date: Mon, 21 Feb 2005 23:46:15 +0000
User-agent: KMail/1.7.2

> It seems that you like C macros :-) Can you suppress the operations to
> read or write FP registers ? You can add just a few ops to read or write
> to a constant offset in the CPU state.

Done, as attached.

This does result in slightly worse code, requiring an additional constant 
load. It doesn't seem too effect my x86 host too badly, presumably the OOO 
core hides much of the cost of loading the constant.

flds   0x120(%ebp)
fstpl  0x1a8(%ebp)

mov    $ __op_param1,%eax
fldl   0x114(%ebp,%eax,8)
fstpl  0x1a8(%ebp)


Attachment: patch.qemu_vfp
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]