aboutsummaryrefslogtreecommitdiff
path: root/gdbserver
diff options
context:
space:
mode:
authorNelson Chu <nelson.chu@sifive.com>2020-03-26 18:38:27 +0800
committerNelson Chu <nelson.chu@sifive.com>2022-05-17 13:31:38 +0800
commit035784e3456d540444aaf7d8006f8e98bca79e5a (patch)
tree4d4945ff79977223d15bb8e7a49ede2cb20955ca /gdbserver
parent626d0e40e55c35a4f143b70def498734e8ed3c2a (diff)
downloadgdb-035784e3456d540444aaf7d8006f8e98bca79e5a.zip
gdb-035784e3456d540444aaf7d8006f8e98bca79e5a.tar.gz
gdb-035784e3456d540444aaf7d8006f8e98bca79e5a.tar.bz2
RISC-V: Added half-precision floating-point v1.0 instructions.
bfd/ * elfxx-riscv.c (riscv_implicit_subsets): Added implicit f and zicsr for zfh. (riscv_supported_std_z_ext): Added default v1.0 version for zfh. (riscv_multi_subset_supports): Handle INSN_CLASS_ZFH, INSN_CLASS_D_AND_ZFH and INSN_CLASS_Q_AND_ZFH. gas/ * config/tc-riscv.c (FLT_CHARS): Added "hH". (macro): Expand Pseudo M_FLH and M_FSH. (riscv_pseudo_table): Added .float16 directive. * testsuite/gas/riscv/float16-be.d: New testcase for .float16. * testsuite/gas/riscv/float16-le.d: Likewise. * testsuite/gas/riscv/float16.s: Likewise. * testsuite/gas/riscv/fp-zfh-insns.d: New testcase for zfh. * testsuite/gas/riscv/fp-zfh-insns.s: Likewise. include/ * opcode/riscv-opc.h: Added MASK and MATCH encodings for zfh. * opcode/riscv.h: Added INSN_CLASS and pseudo macros for zfh. opcodes/ * riscv-opc.c (riscv_opcodes): Added zfh instructions.
Diffstat (limited to 'gdbserver')
0 files changed, 0 insertions, 0 deletions