From: Jeff Law Date: Wed, 9 Oct 2024 22:21:56 +0000 (-0600) Subject: Revert "RISC-V: Enable builtin __riscv_mul with Zmmul extension." X-Git-Tag: basepoints/gcc-16~5331 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e889235cb004b62f3004408283ce91eb20eb521a;p=thirdparty%2Fgcc.git Revert "RISC-V: Enable builtin __riscv_mul with Zmmul extension." This reverts commit 2990f5802a727cbd717587c3a345fa940193049f. --- diff --git a/gcc/config/riscv/riscv-c.cc b/gcc/config/riscv/riscv-c.cc index 7e9c478e97b..71112d9c66d 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");