summaryrefslogtreecommitdiffhomepage
path: root/ir/be/mips
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2018-05-05 07:18:05 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2018-05-05 07:18:05 +0200
commitb4b79a6cf42c15d9ebb2d3b113c3e8b64e6de02d (patch)
treea22e588ecfc33f0d923e0dc4ece6f813822cfb94 /ir/be/mips
parent7c549923dd25a12cde4316beb69f2c8783ae279d (diff)
mips: Add '$' as architecture-specific register name prefix.
This fixes backend/asm_clobber_prefix.c on mips.
Diffstat (limited to 'ir/be/mips')
-rw-r--r--ir/be/mips/mips_bearch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ir/be/mips/mips_bearch.c b/ir/be/mips/mips_bearch.c
index f47051e..c41c1ed 100644
--- a/ir/be/mips/mips_bearch.c
+++ b/ir/be/mips/mips_bearch.c
@@ -313,6 +313,7 @@ arch_isa_if_t const mips_isa_if = {
.finish = mips_finish,
.generate_code = mips_generate_code,
.lower_for_target = mips_lower_for_target,
+ .register_prefix = '$',
.get_op_estimated_cost = mips_get_op_estimated_cost,
};