aboutsummaryrefslogtreecommitdiff
path: root/opcodes/loongarch-opc.c
diff options
context:
space:
mode:
authorchangjiachen <changjiachen@stu.xupt.edu.cn>2023-12-28 19:58:28 +0800
committerliuzhensong <liuzhensong@loongson.cn>2023-12-29 15:11:00 +0800
commitb449f8428b4000f74d2949c9bb384ca8ae0cda60 (patch)
tree605edebbd28bfca3381618521977b44074e58b5e /opcodes/loongarch-opc.c
parent775dead218e12e3fb94481c7a99aa0238d6a9138 (diff)
downloadgdb-b449f8428b4000f74d2949c9bb384ca8ae0cda60.zip
gdb-b449f8428b4000f74d2949c9bb384ca8ae0cda60.tar.gz
gdb-b449f8428b4000f74d2949c9bb384ca8ae0cda60.tar.bz2
LoongArch: opcodes: Add support for tls le relax.
Add new opcode for tls le relax. opcode/ChangeLog: * loongarch-opc.c: Add new loongarch opcode.
Diffstat (limited to 'opcodes/loongarch-opc.c')
-rw-r--r--opcodes/loongarch-opc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/opcodes/loongarch-opc.c b/opcodes/loongarch-opc.c
index a632373..44b5f61 100644
--- a/opcodes/loongarch-opc.c
+++ b/opcodes/loongarch-opc.c
@@ -464,6 +464,7 @@ static struct loongarch_opcode loongarch_fix_opcodes[] =
{ 0x000c0000, 0xfffc0000, "bytepick.d", "r0:5,r5:5,r10:5,u15:3", 0, 0, 0, 0 },
{ 0x00100000, 0xffff8000, "add.w", "r0:5,r5:5,r10:5", 0, 0, 0, 0 },
{ 0x00108000, 0xffff8000, "add.d", "r0:5,r5:5,r10:5", 0, 0, 0, 0 },
+ { 0x00108000, 0xffff8000, "add.d", "r0:5,r5:5,r10:5,t", 0, 0, 0, 0 },
{ 0x00110000, 0xffff8000, "sub.w", "r0:5,r5:5,r10:5", 0, 0, 0, 0 },
{ 0x00118000, 0xffff8000, "sub.d", "r0:5,r5:5,r10:5", 0, 0, 0, 0 },
{ 0x00120000, 0xffff8000, "slt", "r0:5,r5:5,r10:5", 0, 0, 0, 0 },