Fix VFP feature check. (#2090)
VFP instructions could only be disassembled if armv8 was set as arch. This is because the predicate fails due to this feature check. This is incorrect as also armv7 can have VFP support.
This commit is contained in:
parent
307453080d
commit
270d16e458
|
@ -392,10 +392,9 @@ bool ARM_getFeatureBits(unsigned int mode, unsigned int feature)
|
|||
feature == ARM_HasV8_4aOps || feature == ARM_HasV8_3aOps)
|
||||
// HasV8MBaselineOps
|
||||
return false;
|
||||
} else {
|
||||
if (feature == ARM_FeatureVFPOnlySP)
|
||||
return false;
|
||||
}
|
||||
if (feature == ARM_FeatureVFPOnlySP)
|
||||
return false;
|
||||
|
||||
if ((mode & CS_MODE_MCLASS) == 0) {
|
||||
if (feature == ARM_FeatureMClass)
|
||||
|
|
Loading…
Reference in New Issue