forked from revyos/binutils-gdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch support RVV 0.7 instruction and compatible with RVV 1.0, Distinguish two different vector version with the input version number, like --with-arch=rv64gcv0p7 will get RVV0.7 enable, rv64gcv1p0 get RVV 1.0. Notice that there are many instruction use the same assembly names, the disassembler may not generate correct disassembly in result when you both enable two different version vector extensions. bfd/ChangeLog: * elfxx-riscv.c (check_rvv_verison_1p0): New func. (check_rvv_verison_0p7): Ditto. (riscv_parse_check_conflicts): Split diff versions. (riscv_multi_subset_supports): New checks. (riscv_multi_subset_supports_ext): New missing logs. gas/ChangeLog: * config/tc-riscv.c (my_getVsetvliExpression): RVV 0.7 case. include/ChangeLog: * opcode/riscv-opc.h : RVV 0.7 opcodes. * opcode/riscv.h (enum riscv_insn_class): New instrunction class. (riscv_vlen): New vsetvli args. (riscv_vediv): Ditto. opcodes/ChangeLog: * riscv-opc.c: Merge RVV 0.7 and 1.0 instruction definations.
- Loading branch information
Showing
5 changed files
with
1,247 additions
and
295 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.