summaryrefslogtreecommitdiffhomepage
path: root/ir/be/mips
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2017-03-17 12:54:53 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2017-03-17 13:05:11 +0100
commitb823b786349f331ac9c4e81a263f81d21ae34420 (patch)
tree482dd69b84418a720144dec442ccbc1f2c4a5381 /ir/be/mips
parent23f7dafddfafbe3f8df9abf518344ae61aad342d (diff)
arm, mips, sparc: Set 'highest_shift_amount' to 63.
All these backends can deal with 64 bit shifts by amounts >= 32, because after 64 bit lowering they are just normal shifts with amount < 32.
Diffstat (limited to 'ir/be/mips')
-rw-r--r--ir/be/mips/mips_bearch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/mips/mips_bearch.c b/ir/be/mips/mips_bearch.c
index 978f4b0..d4f4c67 100644
--- a/ir/be/mips/mips_bearch.c
+++ b/ir/be/mips/mips_bearch.c
@@ -37,7 +37,7 @@ static ir_settings_arch_dep_t const mips_arch_dep = {
.allow_mulhu = true,
.also_use_subs = true,
.maximum_shifts = 4,
- .highest_shift_amount = MIPS_MACHINE_SIZE - 1,
+ .highest_shift_amount = 63,
.evaluate = NULL,
.max_bits_for_mulh = MIPS_MACHINE_SIZE,
};