mirror of
https://github.com/google/cpu_features.git
synced 2025-07-01 13:21:13 +02:00
Revert "Different approach for -1 & true compliance"
This reverts commit 58a232c560
.
This commit is contained in:
@ -127,7 +127,7 @@ static void FixErrors(ArmInfo* const info,
|
||||
// slightly updated.
|
||||
if (info->architecture >= 7 &&
|
||||
proc_cpu_info_data->hardware_reports_goldfish) {
|
||||
info->features.idiva = TRUE;
|
||||
info->features.idiva = true;
|
||||
}
|
||||
break;
|
||||
case 0x511004D0:
|
||||
@ -138,16 +138,15 @@ static void FixErrors(ArmInfo* const info,
|
||||
case 0x510006F3:
|
||||
// The Nexus 4 (Qualcomm Krait) kernel configuration forgets to report
|
||||
// IDIV support.
|
||||
info->features.idiva = TRUE;
|
||||
info->features.idivt = TRUE;
|
||||
info->features.idiva = true;
|
||||
info->features.idivt = true;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
// Propagate cpu features.
|
||||
if (info->features.vfpv4) info->features.vfpv3 = TRUE;
|
||||
if (info->features.neon) info->features.vfpv3 = TRUE;
|
||||
if (info->features.vfpv3) info->features.vfp = TRUE;
|
||||
if (info->features.vfpv4) info->features.vfpv3 = true;
|
||||
if (info->features.neon) info->features.vfpv3 = true;
|
||||
if (info->features.vfpv3) info->features.vfp = true;
|
||||
}
|
||||
|
||||
static void FillProcCpuInfoData(ArmInfo* const info,
|
||||
|
Reference in New Issue
Block a user