Index: src/arm/assembler-arm.cc |
diff --git a/src/arm/assembler-arm.cc b/src/arm/assembler-arm.cc |
index 0c9165a303b8ffb7290831a7f4375b6fac0a265c..f984fe9fe48189ef1466e80048a25ece687487a8 100644 |
--- a/src/arm/assembler-arm.cc |
+++ b/src/arm/assembler-arm.cc |
@@ -72,9 +72,6 @@ static unsigned CpuFeaturesImpliedByCompiler() { |
#ifdef CAN_USE_NEON |
if (FLAG_enable_neon) answer |= 1u << NEON; |
#endif // CAN_USE_VFP32DREGS |
- if ((answer & (1u << ARMv7)) && FLAG_enable_unaligned_accesses) { |
- answer |= 1u << UNALIGNED_ACCESSES; |
- } |
return answer; |
} |
@@ -104,7 +101,6 @@ void CpuFeatures::ProbeImpl(bool cross_compile) { |
if (FLAG_enable_movw_movt) supported_ |= 1u << MOVW_MOVT_IMMEDIATE_LOADS; |
if (FLAG_enable_32dregs) supported_ |= 1u << VFP32DREGS; |
} |
- if (FLAG_enable_unaligned_accesses) supported_ |= 1u << UNALIGNED_ACCESSES; |
#else // __arm__ |
// Probe for additional features at runtime. |
@@ -124,7 +120,6 @@ void CpuFeatures::ProbeImpl(bool cross_compile) { |
if (FLAG_enable_armv8 && cpu.architecture() >= 8) { |
supported_ |= 1u << ARMv8; |
} |
- if (FLAG_enable_unaligned_accesses) supported_ |= 1u << UNALIGNED_ACCESSES; |
// Use movw/movt for QUALCOMM ARMv7 cores. |
if (FLAG_enable_movw_movt && cpu.implementer() == base::CPU::QUALCOMM) { |
supported_ |= 1u << MOVW_MOVT_IMMEDIATE_LOADS; |
@@ -202,11 +197,10 @@ void CpuFeatures::PrintTarget() { |
void CpuFeatures::PrintFeatures() { |
printf( |
"ARMv8=%d ARMv7=%d VFP3=%d VFP32DREGS=%d NEON=%d SUDIV=%d " |
- "UNALIGNED_ACCESSES=%d MOVW_MOVT_IMMEDIATE_LOADS=%d", |
+ "MOVW_MOVT_IMMEDIATE_LOADS=%d", |
CpuFeatures::IsSupported(ARMv8), CpuFeatures::IsSupported(ARMv7), |
CpuFeatures::IsSupported(VFP3), CpuFeatures::IsSupported(VFP32DREGS), |
CpuFeatures::IsSupported(NEON), CpuFeatures::IsSupported(SUDIV), |
- CpuFeatures::IsSupported(UNALIGNED_ACCESSES), |
CpuFeatures::IsSupported(MOVW_MOVT_IMMEDIATE_LOADS)); |
#ifdef __arm__ |
bool eabi_hardfloat = base::OS::ArmUsingHardFloat(); |