riscv-gnu-toolchain
riscv-gnu-toolchain copied to clipboard
GNU toolchain for RISC-V, including GCC. Tweaked for microcontrollers.
> [!NOTE] > - About how to build nuclei riscv toolchain, please refer to #24 , **no technical support provided**. > - **Looking for other tools known issues**, please refer...
info files the gdb says: Remote target using gdb-specific protocol: and it's why there is no debug symbol on demo helloworld project elf

For the following example: ``` static inline long long __RV_MULSR64(long long a, long long b) { long long result; asm volatile("mulsr64 %0, %1, %2" : "=r"(result) : "r"(a), "r"(b)); return...
When using windows toolchain to compile cpp source code, you may face this following issue, this is caused by some folder in `C:\path\to\NucleiStudio\toolchain\gcc\riscv64-unknown-elf\include\c++\14.2.1\riscv64-unknown-elf` is missing. ~~~ Building file: ../application/main.cpp Invoking:...
addibne.c ``` #include #include #include uint32_t test_1[16]; uint16_t test_2[16]; uint16_t test_3[16]; void matrix_mul_matrix_xxx(uint32_t N, uint32_t* C, uint16_t* A, uint16_t* B) { uint32_t i, j, k; for (i = 0; i...
The 2025.02 toolchain exhibits incomplete RVV auto-vectorization suppression—even when explicitly disabling it via the following compiler flags: ``` -fno-tree-vectorize -fno-tree-loop-vectorize -fno-tree-slp-vectorize ```
When compiling the following code using RISC-V RVV extensions with LTO enabled: ``` #include #include typedef float float32_t; int rvv_cfft_f32(void) { size_t avl = 5; const float32_t *px; size_t vl...
https://github.com/gcc-mirror/gcc/commit/e9888795b8bafe37dc65bd638de0533b842c960a A bug in the 2025.02 toolchain may cause incorrect behavior with == (equality) logical comparisons. Root Cause & Fix: The issue is confirmed to be resolved by applying the...
Issue: "cc1.exe: out of memory allocating 2147487743 bytes" (32-bit Toolchain Limitation) When compiling a large number of files, the toolchain fails with the error: cc1.exe: out of memory allocating 2147487743...