Commit b823b786 authored by Christoph Mallon's avatar Christoph Mallon

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.
parent 23f7dafd
Pipeline #9113 passed with stage
in 20 seconds
......@@ -214,7 +214,7 @@ static const ir_settings_arch_dep_t arm_arch_dep = {
.allow_mulhu = false,
.also_use_subs = true,
.maximum_shifts = 1,
.highest_shift_amount = 31,
.highest_shift_amount = 63,
.evaluate = NULL,
.max_bits_for_mulh = ARM_MACHINE_SIZE,
};
......
......@@ -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,
};
......
......@@ -489,7 +489,7 @@ static const ir_settings_arch_dep_t sparc_arch_dep = {
.allow_mulhu = true,
.also_use_subs = true,
.maximum_shifts = 1,
.highest_shift_amount = 31,
.highest_shift_amount = 63,
.evaluate = NULL,
.max_bits_for_mulh = 32,
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment