Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(205)

Unified Diff: src/globals.h

Issue 2223433002: [arm] Simplify run-time CPU selection. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: cl format Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/flag-definitions.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index ea0aac998f89aa304b13990ca22a05f5e36d8a5f..619bbf7b1ea83a33b9605b4a11f5348a82276fdb 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -732,13 +732,12 @@ enum CpuFeature {
POPCNT,
ATOM,
// ARM
- VFP3,
- ARMv7,
- ARMv8,
- SUDIV,
+ // - Standard configurations. The baseline is ARMv6+VFPv2.
+ ARMv7, // ARMv7-A + VFPv3-D32 + NEON
+ ARMv7_SUDIV, // ARMv7-A + VFPv4-D32 + NEON + SUDIV
+ ARMv8, // ARMv8-A (+ all of the above)
+ // - Additional tuning flags.
MOVW_MOVT_IMMEDIATE_LOADS,
- VFP32DREGS,
- NEON,
// MIPS, MIPS64
FPU,
FP64FPU,
@@ -758,7 +757,13 @@ enum CpuFeature {
// PPC/S390
UNALIGNED_ACCESSES,
- NUMBER_OF_CPU_FEATURES
+ NUMBER_OF_CPU_FEATURES,
+
+ // ARM feature aliases (based on the standard configurations above).
+ VFP3 = ARMv7,
+ NEON = ARMv7,
+ VFP32DREGS = ARMv7,
+ SUDIV = ARMv7_SUDIV
};
// Defines hints about receiver values based on structural knowledge.
« no previous file with comments | « src/flag-definitions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698