Commit ae0db063 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Consistently use the source AM form for register-register copies.

[r26637]
parent c8b52230
......@@ -2634,8 +2634,8 @@ static void bemit_copy(const ir_node *copy)
panic("NIY");
} else {
assert(arch_register_get_class(in) == &ia32_reg_classes[CLASS_ia32_gp]);
bemit8(0x89);
bemit_modrr(out, in);
bemit8(0x8B);
bemit_modrr(in, out);
}
}
......
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