summaryrefslogtreecommitdiffhomepage
path: root/ir/be/riscv/riscv_spec.pl
diff options
context:
space:
mode:
authorJohannes Bucher <johannes.bucher2@student.kit.edu>2019-06-07 17:55:50 +0200
committerJohannes Bucher <johannes.bucher2@student.kit.edu>2019-06-11 16:34:58 +0200
commitdeef39158f6e8bf329ab524766cbc397785baace (patch)
treea6c79f9ba725f328338f52a31ca9b123efeec3d5 /ir/be/riscv/riscv_spec.pl
parent3115f120a9a6e11e2a152af65d6e1e1943d68d33 (diff)
riscv: rename register s0 -> fp
fp is an alternative ABI name for register s0
Diffstat (limited to 'ir/be/riscv/riscv_spec.pl')
-rw-r--r--ir/be/riscv/riscv_spec.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/riscv/riscv_spec.pl b/ir/be/riscv/riscv_spec.pl
index 1a0ff7d..6e1a92b 100644
--- a/ir/be/riscv/riscv_spec.pl
+++ b/ir/be/riscv/riscv_spec.pl
@@ -17,7 +17,7 @@ my $mode_gp = "mode_Iu";
{ name => "t0", encoding => 5 },
{ name => "t1", encoding => 6 },
{ name => "t2", encoding => 7 },
- { name => "s0", encoding => 8 },
+ { name => "fp", encoding => 8 },
{ name => "s1", encoding => 9 },
{ name => "a0", encoding => 10 },
{ name => "a1", encoding => 11 },