diff options
author | Nelson Chu <nelson@rivosinc.com> | 2022-09-16 09:11:52 +0800 |
---|---|---|
committer | Nelson Chu <nelson@rivosinc.com> | 2022-09-16 09:30:57 +0800 |
commit | 8838766ad6cbfbb41e254f008f6536957e54740b (patch) | |
tree | 12a54799034a417fca47ca81c0993d30d104c4cf /bfd/elfxx-riscv.c | |
parent | ca4f92520e1b7ba2d78b3923f4180cd26ad9af71 (diff) | |
download | gdb-8838766ad6cbfbb41e254f008f6536957e54740b.zip gdb-8838766ad6cbfbb41e254f008f6536957e54740b.tar.gz gdb-8838766ad6cbfbb41e254f008f6536957e54740b.tar.bz2 |
RISC-V: Make g imply zmmul extension.
bfd/
* elfxx-riscv.c (riscv_implicit_subset): Moved entry of m after g,
so that g can imply zmmul.
gas/
* testsuite/gas/riscv/attribute-01.d: Updated.
* testsuite/gas/riscv/attribute-02.d: Likewise.
* testsuite/gas/riscv/attribute-03.d: Likewise.
* testsuite/gas/riscv/attribute-04.d: Likewise.
* testsuite/gas/riscv/attribute-05.d: Likewise.
* testsuite/gas/riscv/attribute-10.d: Likewise.
* testsuite/gas/riscv/march-imply-g.d: Likewise.
* testsuite/gas/riscv/march-imply-unsupported.d: Likewise.
Diffstat (limited to 'bfd/elfxx-riscv.c')
-rw-r--r-- | bfd/elfxx-riscv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elfxx-riscv.c b/bfd/elfxx-riscv.c index 8cb3c8d..e03b312 100644 --- a/bfd/elfxx-riscv.c +++ b/bfd/elfxx-riscv.c @@ -1039,7 +1039,6 @@ static struct riscv_implicit_subset riscv_implicit_subsets[] = {"e", "i", check_implicit_always}, {"i", "zicsr", check_implicit_for_i}, {"i", "zifencei", check_implicit_for_i}, - {"m", "zmmul", check_implicit_always}, {"g", "i", check_implicit_always}, {"g", "m", check_implicit_always}, {"g", "a", check_implicit_always}, @@ -1047,6 +1046,7 @@ static struct riscv_implicit_subset riscv_implicit_subsets[] = {"g", "d", check_implicit_always}, {"g", "zicsr", check_implicit_always}, {"g", "zifencei", check_implicit_always}, + {"m", "zmmul", check_implicit_always}, {"q", "d", check_implicit_always}, {"v", "d", check_implicit_always}, {"v", "zve64d", check_implicit_always}, |