https://gcc.gnu.org/g:0d753781b949522fa740d8307d30b0f8795d867c

commit 0d753781b949522fa740d8307d30b0f8795d867c
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.
    
    (cherry picked from commit e889235cb004b62f3004408283ce91eb20eb521a)

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");

Reply via email to