aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-util.c
diff options
context:
space:
mode:
authorChristoph Müllner <christoph.muellner@vrull.eu>2022-11-07 13:46:20 +0100
committerNelson Chu <nelson@rivosinc.com>2022-11-09 10:46:07 +0800
commita8d181c0fdae61f788d0332e3d9c0cff4b80eaa5 (patch)
treed70eba660f01201cbdc2241537d984b82a1e392c /libctf/ctf-util.c
parent1db13039a7c410e89f00e379fe874d8532385e41 (diff)
downloadgdb-a8d181c0fdae61f788d0332e3d9c0cff4b80eaa5.zip
gdb-a8d181c0fdae61f788d0332e3d9c0cff4b80eaa5.tar.gz
gdb-a8d181c0fdae61f788d0332e3d9c0cff4b80eaa5.tar.bz2
RISC-V: xtheadfmemidx: Use fp register in mnemonics
Although the encoding for scalar and fp registers is identical, we should follow common pratice and use fp register names when referencing fp registers. The xtheadmemidx extension consists of indirect load/store instructions which all load to or store from fp registers. Let's use fp register names in this case and adjust the test cases accordingly. gas/ * testsuite/gas/riscv/x-thead-fmemidx-fail.l: Updated since rd need to be float register. * testsuite/gas/riscv/x-thead-fmemidx-fail.s: Likewise. * testsuite/gas/riscv/x-thead-fmemidx.d: Likewise. * testsuite/gas/riscv/x-thead-fmemidx.s: Likewise. opcodes/ * riscv-opc.c (riscv_opcodes): Updated since rd need to be float register. Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Diffstat (limited to 'libctf/ctf-util.c')
0 files changed, 0 insertions, 0 deletions