Commit 19af34b2 authored by Matthias Braun's avatar Matthias Braun
Browse files

amd64: loop needs two_complement modes

parent 3f9156da
......@@ -855,7 +855,7 @@ static ir_node *gen_shift_binop(ir_node *node, ir_node *op1, ir_node *op2,
* 5/6 bits anyway */
while (is_Conv(op2) && get_irn_n_edges(op2) == 1) {
ir_node *const op = get_Conv_op(op2);
if (mode_is_float(get_irn_mode(op)))
if (get_mode_arithmetic(get_irn_mode(op)) != irma_twos_complement)
break;
op2 = op;
}
......
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