> > 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

Reply via email to