Flutter Engine
The Flutter Engine
constants_arm64.cc
Go to the documentation of this file.
1// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4
5#include "platform/globals.h" // NOLINT
6
7#if defined(TARGET_ARCH_ARM64)
8
9#include "vm/constants.h" // NOLINT
10
11namespace dart {
12
13const char* const cpu_reg_names[kNumberOfCpuRegisters] = {
14 "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7",
15 "r8", "r9", "r10", "r11", "r12", "r13", "r14", "sp",
16 "tmp", "tmp2", "r18", "r19", "r20", "r21", "nr", "r23",
17 "r24", "r25", "thr", "pp", "mask", "fp", "lr", "csp",
18};
19
20const char* const cpu_reg_abi_names[kNumberOfCpuRegisters] = {
21 "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10",
22 "r11", "r12", "r13", "r14", "r15", "r16", "r17", "r18", "r19", "r20", "r21",
23 "r22", "r23", "r24", "r25", "r26", "r27", "r28", "r29", "r30", "sp",
24};
25
26const char* const fpu_reg_names[kNumberOfFpuRegisters] = {
27 "v0", "v1", "v2", "v3", "v4", "v5", "v6", "v7", "v8", "v9", "v10",
28 "v11", "v12", "v13", "v14", "v15", "v16", "v17", "v18", "v19", "v20", "v21",
29 "v22", "v23", "v24", "v25", "v26", "v27", "v28", "v29", "v30", "v31",
30};
31
33 R0, R1, R2, R3, R4, R5, R6, R7,
34};
35
37 V0, V1, V2, V3, V4, V5, V6, V7,
38};
39
40} // namespace dart
41
42#endif // defined(TARGET_ARCH_ARM64)
static const FpuRegister FpuArgumentRegisters[]
static const Register ArgumentRegisters[]
Definition: dart_vm.cc:33
const char *const fpu_reg_names[kNumberOfFpuRegisters]
@ kNumberOfCpuRegisters
Definition: constants_arm.h:98
const int kNumberOfFpuRegisters
const char *const cpu_reg_names[kNumberOfCpuRegisters]
QRegister FpuRegister
const char *const cpu_reg_abi_names[kNumberOfCpuRegisters]