30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
|
|
From 689b6f002360f50386eb3bd83a20aff8cf61afb1 Mon Sep 17 00:00:00 2001
|
||
|
|
From: changjiachen <changjiachen@stu.xupt.edu.cn>
|
||
|
|
Date: Thu, 28 Dec 2023 19:58:28 +0800
|
||
|
|
Subject: [PATCH 033/123] LoongArch: opcodes: Add support for tls le relax.
|
||
|
|
|
||
|
|
Add new opcode for tls le relax.
|
||
|
|
|
||
|
|
opcode/ChangeLog:
|
||
|
|
|
||
|
|
* loongarch-opc.c: Add new loongarch opcode.
|
||
|
|
---
|
||
|
|
opcodes/loongarch-opc.c | 1 +
|
||
|
|
1 file changed, 1 insertion(+)
|
||
|
|
|
||
|
|
diff --git a/opcodes/loongarch-opc.c b/opcodes/loongarch-opc.c
|
||
|
|
index a632373f..44b5f612 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 },
|
||
|
|
--
|
||
|
|
2.33.0
|
||
|
|
|