]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Add implication for M extension.
authorTsung Chun Lin <tclin914@gmail.com>
Tue, 8 Oct 2024 23:40:59 +0000 (17:40 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Tue, 8 Oct 2024 23:40:59 +0000 (17:40 -0600)
That M implies Zmmul.

gcc/ChangeLog:

* common/config/riscv/riscv-common.cc: M implies Zmmul.

gcc/common/config/riscv/riscv-common.cc

index 2adebe0b6f29321b1a07883789bc8dc98f0ceb8c..60595a3e3561869c0c77404717f2aad21ced43e0 100644 (file)
@@ -75,6 +75,8 @@ struct riscv_implied_info_t
 /* Implied ISA info, must end with NULL sentinel.  */
 static const riscv_implied_info_t riscv_implied_info[] =
 {
+  {"m", "zmmul"},
+
   {"d", "f"},
   {"f", "zicsr"},
   {"d", "zicsr"},