summaryrefslogtreecommitdiff
path: root/opcodes/loongarch-opc.c
diff options
context:
space:
mode:
authorLulu Cai <cailulu@loongson.cn>2023-10-30 17:07:08 +0800
committerliuzhensong <liuzhensong@loongson.cn>2023-11-10 14:45:09 +0800
commit98712e137edb0bf33acd3bf716a160d16f600c35 (patch)
tree47505172235d950d50018fdabbe77b624740794a /opcodes/loongarch-opc.c
parente0446214a07dd4e6709c63d1eb3d764181264246 (diff)
Add support for ilp32 register alias.
Diffstat (limited to 'opcodes/loongarch-opc.c')
-rw-r--r--opcodes/loongarch-opc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes/loongarch-opc.c b/opcodes/loongarch-opc.c
index 362b6581c76..82b88bdad2a 100644
--- a/opcodes/loongarch-opc.c
+++ b/opcodes/loongarch-opc.c
@@ -41,7 +41,7 @@ const char *const loongarch_r_normal_name[32] =
"$r24", "$r25", "$r26", "$r27", "$r28", "$r29", "$r30", "$r31",
};
-const char *const loongarch_r_lp64_name[32] =
+const char *const loongarch_r_alias[32] =
{
"$zero", "$ra", "$tp", "$sp", "$a0", "$a1", "$a2", "$a3",
"$a4", "$a5", "$a6", "$a7", "$t0", "$t1", "$t2", "$t3",
@@ -49,7 +49,7 @@ const char *const loongarch_r_lp64_name[32] =
"$s1", "$s2", "$s3", "$s4", "$s5", "$s6", "$s7", "$s8",
};
-const char *const loongarch_r_lp64_name_deprecated[32] =
+const char *const loongarch_r_alias_deprecated[32] =
{
"", "", "", "", "$v0", "$v1", "", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "$x", "", "", "", "", "", "", "", "", "", "",
@@ -63,7 +63,7 @@ const char *const loongarch_f_normal_name[32] =
"$f24", "$f25", "$f26", "$f27", "$f28", "$f29", "$f30", "$f31",
};
-const char *const loongarch_f_lp64_name[32] =
+const char *const loongarch_f_alias[32] =
{
"$fa0", "$fa1", "$fa2", "$fa3", "$fa4", "$fa5", "$fa6", "$fa7",
"$ft0", "$ft1", "$ft2", "$ft3", "$ft4", "$ft5", "$ft6", "$ft7",
@@ -71,7 +71,7 @@ const char *const loongarch_f_lp64_name[32] =
"$fs0", "$fs1", "$fs2", "$fs3", "$fs4", "$fs5", "$fs6", "$fs7",
};
-const char *const loongarch_f_lp64_name_deprecated[32] =
+const char *const loongarch_f_alias_deprecated[32] =
{
"$fv0", "$fv1", "", "", "", "", "", "", "", "", "", "", "", "", "", "",
"", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "",