Alexis Draussin


Processors main architecture instruction set

2026-01-06


A brief and non-exhaustive compilation of common processors' ISA; most of them are RISC-based except for the older ones which are more CISC-based.

This collection is mostly base on the GNU/Linux architectures' support (see kernel arch), with an additional AVR mention (just not enough juiced for a full OS).

TOC

alpha - DEC (Digital Equipment Corporation)

Initially Alpha AXP - RISC - 64 bit. Wiki link.

arc - ARC International (Argonaut RISC Core)

RISC - 32 and 64 bit. Wiki link.

arm and arm64 - ARM (Advanced RISC Machine; prev. Acorn RISC Machine)

RISC - 32 and 64 bit. Wiki link.

Naming conventions

Architectures - All RISC

avr - Atmel

RISC - 8 or 32 bit. Wiki link.

csky - C-SKY

Chinese CPU ISA designed for embedded Linux with a Buildroot support. Github link.

hexagon - Qualcomm

Known as QDSP6 (Qualcomm Digital Signal Processing, 6th gen.) - VLIW - 32 and 64 bit. Wiki link.

loongarch - Loongson Technology

RISC - 32 and 64 bit. Doc. link.

m68k - Motorola

Known as the Motorola 68000 series, 680x0, m68000 or 68k - CISC - 32 bit. Wiki link.

microblaze - Xilinx

Designed for the PS part of FPGA chips (AXI support) - RISC - 32 or 64 bit. Wiki link.

mips - MIPS Technologies (Microprocessor without Interlocked Pipelined Stages)

RISC - 32 or 64 bit.

nios2 - Altera

Designed for the PS part of FPGA chips (Avalon support) - RISC - 32 bit.

openrisc - open-source

Currently one version: OR1k - RISC - 32 or 64 bit. Wiki link.

parisc - Hewlett-Packard (HP)

Known as PA-RISC (Precision Architecture RISC), HP/PA or HPPA (Hewlett Packard Precision Architecture) - RISC - 32 or 64 bit.

powerpc - IBM (International Business Machines)

Derived from Power ISA, known as the IBM RS64 family - RISC - 64 bit.

riscv - open-source (Berkeley)

Not yet implemented in real hardware - RISC - 32, 64 or 128 bit. Wiki link.

s390 - IBM (International Business Machines)

Known as the IBM System/390 family, 5th gen. of the System/360 ISA - CISC - 32 bit. Wiki link.

sh - Hitachi

Known as SuperH or SH - RISC - 32 bit. Wiki link.

sparc - Sun Microsystems

SPARC (Scalable Processor ARChitecture) - RISC - 64 bit. Wiki link.

x86 - Intel, AMD

Known as 80x86, 8086, IA (Intel Architecture) or x86abi family.

xtensa - Espressif Systems

Known for the ESP32 series (XTensa LX6) - post-RISC - 32 bit. Doc. link

C detection function example

/* Get current architecture, detects nearly every architecture. */
const char *getBuild(void)
{
#if defined(__x86_64__) || defined(_M_X64)
        return "x86_64";
#elif defined(i386) || defined(__i386__) || defined(__i386) || defined(_M_IX86)
        return "x86_32";
#elif defined(__ARM_ARCH_2__)
        return "ARMv2";
#elif defined(__ARM_ARCH_3__) || defined(__ARM_ARCH_3M__)
        return "ARMv3";
#elif defined(__ARM_ARCH_4T__) || defined(__TARGET_ARM_4T)
        return "ARMv4T";
#elif defined(__ARM_ARCH_5__) || defined(__ARM_ARCH_5E__)
        return "ARMv5"
#elif defined(__ARM_ARCH_6T2__) || defined(__ARM_ARCH_6T2__)
        return "ARMv6T2";
#elif defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__)
        return "ARMv6";
#elif defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7S__)
        return "ARMv7";
#elif defined(__ARM_ARCH_7A__) || defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7S__)
        return "ARMv7A";
#elif defined(__ARM_ARCH_7R__) || defined(__ARM_ARCH_7M__) || defined(__ARM_ARCH_7S__)
        return "ARMv7R";
#elif defined(__ARM_ARCH_7M__)
        return "ARMv7M";
#elif defined(__ARM_ARCH_7S__)
        return "ARMv7S";
#elif defined(__aarch64__) || defined(_M_ARM64)
        return "ARM64";
#elif defined(mips) || defined(__mips__) || defined(__mips)
        return "MIPS";
#elif defined(__sh__)
        return "SUPERH";
#elif defined(__powerpc) || defined(__powerpc__) || defined(__powerpc64__) || defined(__POWERPC__) || defined(__ppc__) || defined(__PPC__) || defined(_ARCH_PPC)
        return "POWERPC";
#elif defined(__PPC64__) || defined(__ppc64__) || defined(_ARCH_PPC64)
        return "POWERPC64";
#elif defined(__sparc__) || defined(__sparc)
        return "SPARC";
#elif defined(__m68k__)
        return "M68K";
#elif defined(__riscv) || defined(__riscv32) || defined(__riscv_) || defined(_riscv)
        return "RISCV"
#else
        return "UNKNOWN";
#endif
}