Using riscv64 gcc13 compile prompt error unknown arch
Refer to the definition in the latest gcc and fix it to __riscv_xlen
The macro definition of riscv also exists in riscv32, so riscv_xlen is used as the CPU bit width judgment
from: https://github.com/gcc-mirror/gcc/blob/master/gcc/config/riscv/riscv.h
loongarch64: Delete useless macro judgments
Macro definitions in loongarch64 environment in gcc and clang
Using riscv64 gcc13 compile prompt error unknown arch Refer to the definition in the latest gcc and fix it to __riscv_xlen The macro definition of riscv also exists in riscv32, so riscv_xlen is used as the CPU bit width judgment from: https://github.com/gcc-mirror/gcc/blob/master/gcc/config/riscv/riscv.h
loongarch64: Delete useless macro judgments
Macro definitions in loongarch64 environment in gcc and clang
Macro definitions in riscv64 environment in gcc and clang