Commit 893a9141 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Remove handling for 32bit as smaller mode in emit_ia32_Conv_I2I(), because it is not sensible.

[r20789]
parent 3619ae08
...@@ -1504,16 +1504,10 @@ static void emit_ia32_Conv_I2I(const ir_node *node) ...@@ -1504,16 +1504,10 @@ static void emit_ia32_Conv_I2I(const ir_node *node)
const arch_register_t *in_reg, *out_reg; const arch_register_t *in_reg, *out_reg;
assert(!mode_is_float(smaller_mode)); assert(!mode_is_float(smaller_mode));
assert(smaller_bits == 8 || smaller_bits == 16 || smaller_bits == 32); assert(smaller_bits == 8 || smaller_bits == 16);
signed_mode = mode_is_signed(smaller_mode); signed_mode = mode_is_signed(smaller_mode);
if(smaller_bits == 32) { sign_suffix = signed_mode ? "s" : "z";
// this should not happen as it's no convert
assert(0);
sign_suffix = "";
} else {
sign_suffix = signed_mode ? "s" : "z";
}
out_reg = get_out_reg(node, 0); out_reg = get_out_reg(node, 0);
......
Supports Markdown
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