blob: 169d4945136d4ed4fe2c008cd22433e6da7b42d4 [file] [log] [blame]
Heinrich Schuchardt3b4847c2019-11-07 08:05:17 +01001#if 0
2# SPDX SPDX-License-Identifier: GPL-2.0+
3#
4# Constants defining the host architecture in assembler, C, and make files.
5# The values are arbitrary.
6#
7# Copyright 2019 Heinrich Schuchardt <xypron.glpk@gmx.de>
8#endif
9
10#if 0
11export HOST_ARCH_AARCH64=0xaa64
12export HOST_ARCH_ARM=0x00a7
13export HOST_ARCH_RISCV32=0x5032
14export HOST_ARCH_RISCV64=0x5064
15export HOST_ARCH_X86=0x0386
16export HOST_ARCH_X86_64=0x8664
17#endif
18
19#define HOST_ARCH_AARCH64 0xaa64
20#define HOST_ARCH_ARM 0x00a7
21#define HOST_ARCH_RISCV32 0x5032
22#define HOST_ARCH_RISCV64 0x5064
23#define HOST_ARCH_X86 0x0386
24#define HOST_ARCH_X86_64 0x8664