aboutsummaryrefslogtreecommitdiff
path: root/gdb/annotate.h
diff options
context:
space:
mode:
authorNelson Chu <nelson.chu@sifive.com>2020-03-26 18:38:27 +0800
committerNelson Chu <nelson.chu@sifive.com>2021-10-28 08:50:29 +0800
commitb0643c17a2f89eacb65f5789f757a4fe6c61adbe (patch)
tree2699e6a369a9bc313e3c8704dc45c7b34e8cd89c /gdb/annotate.h
parent144cceb058e59977fd225122e4a3e8312f297c10 (diff)
downloadgdb-b0643c17a2f89eacb65f5789f757a4fe6c61adbe.zip
gdb-b0643c17a2f89eacb65f5789f757a4fe6c61adbe.tar.gz
gdb-b0643c17a2f89eacb65f5789f757a4fe6c61adbe.tar.bz2
RISC-V/zfh: Add half-precision floating-point v0.1 instructions.
This patch is porting from the following riscv github, https://github.com/riscv/riscv-binutils-gdb/commits/rvv-1.0.x-zfh And here is the draft zfh spec, https://github.com/riscv/riscv-isa-manual/tree/zfh bfd/ * elfxx-riscv.c (riscv_supported_std_z_ext): Added zfh. (riscv_implicit_subset): Add implicit f and zicsr for zfh. gas/ * config/tc-riscv.c (riscv_extended_subset_supports): Handle INSN_CLASS*_ZFH. (extended_macro): Handle M_FLH and M_FSH. * testsuite/gas/riscv/extended/extended.exp: Updated. * testsuite/gas/riscv/extended/fp-zfh-insns.d: New testcase. * testsuite/gas/riscv/extended/fp-zfh-insns.s: Likewise. include/ * opcode/riscv-opc-extended.h: Added zfh encoding macros and DECLARE_INSN. * opcode/riscv.h (enum riscv_extended_insn_class): Added INSN_CLASS*_ZFH. (enum M_FLH, M_FSH): Added. opcodes/ * riscv-opc.c (riscv_draft_opcodes): Added zfh instructions.
Diffstat (limited to 'gdb/annotate.h')
0 files changed, 0 insertions, 0 deletions