{"slug": "gcc-17-compiler-lands-spacemit-x100-core-targeting", "title": "GCC 17 Compiler Lands SpacemiT X100 Core Targeting", "summary": "GCC 17 has landed support for the SpacemiT X100 RISC-V core, the first widely-available RVA23 profile compliant design, via -mcpu=spacemit-x100 and -mtune=spacemit-x100 targeting. The SpacemiT K3 SoC features eight X100 cores at up to 2.4GHz and eight A100 AI cores, with A100 support expected soon.", "body_md": "# GCC 17 Compiler Lands SpacemiT X100 Core Targeting\n\nThe newest GCC 17 compiler code has landed support for\n\nThe SpacemiT X100 is notable in making up the primary cores of the SpacemiT K3 SoC as the first widely-available RVA23 profile compliant RISC-V design. The K3 features eight X100 cores clocking up to 2.4GHz plus there are the eight ultra-wide parallel AI computing A100 cores.\n\nAlso on the GCC mailing list is\n\nConsidering it was just a few days from the spacemit-x100 patch going from the mailing list to working its way into GCC Git, the spacemit-a100 target will presumably also be upstreamed in short order.\n\nIn case you missed some of the SpacemiT K3 benchmarking thus far, see\n\n*-mcpu=spacemit-x100*and*-mtune=spacemit-x100*targeting for the SpacemiT X100 RISC-V core.The SpacemiT X100 is notable in making up the primary cores of the SpacemiT K3 SoC as the first widely-available RVA23 profile compliant RISC-V design. The K3 features eight X100 cores clocking up to 2.4GHz plus there are the eight ultra-wide parallel AI computing A100 cores.\n\n[This patch](https://github.com/gcc-mirror/gcc/commit/8596c662854b8693e1e9f075b6ccee83bdcf30d7)now upstream in GCC from SpacemiT adds the initial X100 core support.Also on the GCC mailing list is\n\n[a patch](https://gcc.gnu.org/pipermail/gcc-patches/2026-June/722133.html)introducing the \"spacemit-a100\" target for -mcpu/-mtune tuning for the A100 cores too.\"Add the Spacemit-A100 processor to -mcpu/-mtune. The A100 is an in-order, dual-issue core whose microarchitecture is close to the X60, so for now it reuses the Spacemit X60 costs. On the ISA side, the A100 is closest to the X100. The main differences are that it does not implement the H (hypervisor) extension, its vector length is VLEN=1024 (zvl1024b), and it has the xsmtvdotii extension.\"\n\nConsidering it was just a few days from the spacemit-x100 patch going from the mailing list to working its way into GCC Git, the spacemit-a100 target will presumably also be upstreamed in short order.\n\nIn case you missed some of the SpacemiT K3 benchmarking thus far, see", "url": "https://wpnews.pro/news/gcc-17-compiler-lands-spacemit-x100-core-targeting", "canonical_source": "https://www.phoronix.com/news/GCC-17-SpacemiT-X100", "published_at": "2026-06-30 10:10:01+00:00", "updated_at": "2026-06-30 10:24:33.200205+00:00", "lang": "en", "topics": ["machine-learning", "ai-chips", "developer-tools"], "entities": ["GCC", "SpacemiT", "SpacemiT X100", "SpacemiT K3", "SpacemiT A100", "RISC-V", "RVA23"], "alternates": {"html": "https://wpnews.pro/news/gcc-17-compiler-lands-spacemit-x100-core-targeting", "markdown": "https://wpnews.pro/news/gcc-17-compiler-lands-spacemit-x100-core-targeting.md", "text": "https://wpnews.pro/news/gcc-17-compiler-lands-spacemit-x100-core-targeting.txt", "jsonld": "https://wpnews.pro/news/gcc-17-compiler-lands-spacemit-x100-core-targeting.jsonld"}}