]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Revert "RISC-V: Enable builtin __riscv_mul with Zmmul extension."
authorJeff Law <jlaw@ventanamicro.com>
Wed, 9 Oct 2024 22:21:56 +0000 (16:21 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Wed, 9 Oct 2024 22:21:56 +0000 (16:21 -0600)
This reverts commit 2990f5802a727cbd717587c3a345fa940193049f.

gcc/config/riscv/riscv-c.cc

index 7e9c478e97bbd58efc74d9264966531e20a3fce5..71112d9c66d769b4192db5877752617a2dc6af5c 100644 (file)
@@ -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");