https://gcc.gnu.org/g:e889235cb004b62f3004408283ce91eb20eb521a
commit r15-4222-ge889235cb004b62f3004408283ce91eb20eb521a Author: Jeff Law <j...@ventanamicro.com> Date: Wed Oct 9 16:21:56 2024 -0600 Revert "RISC-V: Enable builtin __riscv_mul with Zmmul extension." This reverts commit 2990f5802a727cbd717587c3a345fa940193049f. Diff: --- gcc/config/riscv/riscv-c.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/riscv/riscv-c.cc b/gcc/config/riscv/riscv-c.cc index 7e9c478e97bb..71112d9c66d7 100644 --- a/gcc/config/riscv/riscv-c.cc +++ b/gcc/config/riscv/riscv-c.cc @@ -123,7 +123,7 @@ riscv_cpu_cpp_builtins (cpp_reader *pfile) if (TARGET_ATOMIC) builtin_define ("__riscv_atomic"); - if (TARGET_ZMMUL) + if (TARGET_MUL) builtin_define ("__riscv_mul"); if (TARGET_DIV) builtin_define ("__riscv_div");