[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [ARM] Cortex-R4F and VFP3-D16
From: |
Paul Brook |
Subject: |
Re: [Qemu-devel] [ARM] Cortex-R4F and VFP3-D16 |
Date: |
Wed, 27 Feb 2013 20:49:57 +0000 |
User-agent: |
KMail/1.13.7 (Linux/3.7-trunk-amd64; KDE/4.8.4; x86_64; ; ) |
> > Probably what you'll want is to have a separate feature bit for 32
> > dregs which is set by default for vfpv3, and then use that in
> > VFP_DREG rather than the vfpv3 feature bit.
>
> Right, it might be easier than I though. Maybe add a
> ARM_FEATURE_VFP3_D16 and do:
>
> #define VFP_DREG(reg, insn, bigbit, smallbit) do { \
>
> if (arm_feature(env, ARM_FEATURE_VFP3) \
>
> && !arm_feature(env, ARM_FEATURE_VFP3_D16)) { \
There's no need to check both flags.
I've got a patch to implement this as a side-effect of a different feature,
I'll look at pushing it out.
Paul