Commit 8835c90c authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Handle scaling factor 12 for const-float Muxes.

This fixes backend/mux_long_double.c.
parent 228e331c
......@@ -3491,6 +3491,9 @@ static ir_node *gen_Mux(ir_node *node)
&new_mode);
unsigned log_scale;
switch (get_type_size(get_type_for_mode(new_mode))) {
case 12:
new_node = create_lea(dbgi, new_block, new_node, new_node, 1, 0);
/* FALLTHROUGH */
case 4:
log_scale = 2;
break;
......
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