From e889235cb004b62f3004408283ce91eb20eb521a Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 9 Oct 2024 16:21:56 -0600 Subject: Revert "RISC-V: Enable builtin __riscv_mul with Zmmul extension." This reverts commit 2990f5802a727cbd717587c3a345fa940193049f. --- gcc/config/riscv/riscv-c.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/config/riscv/riscv-c.cc b/gcc/config/riscv/riscv-c.cc index 7e9c478..71112d9 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"); -- cgit v1.1