11cb0ef41Sopenharmony_ci// Copyright 2022 the V8 project authors. All rights reserved. 21cb0ef41Sopenharmony_ci// Use of this source code is governed by a BSD-style license that can be 31cb0ef41Sopenharmony_ci// found in the LICENSE file. 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_ci#ifndef V8_CODEGEN_REGISTER_ARCH_H_ 61cb0ef41Sopenharmony_ci#define V8_CODEGEN_REGISTER_ARCH_H_ 71cb0ef41Sopenharmony_ci 81cb0ef41Sopenharmony_ci#include "src/codegen/register-base.h" 91cb0ef41Sopenharmony_ci 101cb0ef41Sopenharmony_ci#if V8_TARGET_ARCH_IA32 111cb0ef41Sopenharmony_ci#include "src/codegen/ia32/register-ia32.h" 121cb0ef41Sopenharmony_ci#elif V8_TARGET_ARCH_X64 131cb0ef41Sopenharmony_ci#include "src/codegen/x64/register-x64.h" 141cb0ef41Sopenharmony_ci#elif V8_TARGET_ARCH_ARM64 151cb0ef41Sopenharmony_ci#include "src/codegen/arm64/register-arm64.h" 161cb0ef41Sopenharmony_ci#elif V8_TARGET_ARCH_ARM 171cb0ef41Sopenharmony_ci#include "src/codegen/arm/register-arm.h" 181cb0ef41Sopenharmony_ci#elif V8_TARGET_ARCH_PPC || V8_TARGET_ARCH_PPC64 191cb0ef41Sopenharmony_ci#include "src/codegen/ppc/register-ppc.h" 201cb0ef41Sopenharmony_ci#elif V8_TARGET_ARCH_MIPS 211cb0ef41Sopenharmony_ci#include "src/codegen/mips/register-mips.h" 221cb0ef41Sopenharmony_ci#elif V8_TARGET_ARCH_MIPS64 231cb0ef41Sopenharmony_ci#include "src/codegen/mips64/register-mips64.h" 241cb0ef41Sopenharmony_ci#elif V8_TARGET_ARCH_LOONG64 251cb0ef41Sopenharmony_ci#include "src/codegen/loong64/register-loong64.h" 261cb0ef41Sopenharmony_ci#elif V8_TARGET_ARCH_S390 271cb0ef41Sopenharmony_ci#include "src/codegen/s390/register-s390.h" 281cb0ef41Sopenharmony_ci#elif V8_TARGET_ARCH_RISCV64 291cb0ef41Sopenharmony_ci#include "src/codegen/riscv64/register-riscv64.h" 301cb0ef41Sopenharmony_ci#else 311cb0ef41Sopenharmony_ci#error Unknown architecture. 321cb0ef41Sopenharmony_ci#endif 331cb0ef41Sopenharmony_ci 341cb0ef41Sopenharmony_ci#endif // V8_CODEGEN_REGISTER_ARCH_H_ 35