Commit 28059fba authored by Matthias Braun's avatar Matthias Braun
Browse files

amd64: No need to emit x87 copies

parent d27c519f
......@@ -843,6 +843,8 @@ static void emit_be_Copy(const ir_node *irn)
amd64_emitf(irn, "mov %^S0, %^D0");
} else if (cls == &amd64_reg_classes[CLASS_amd64_xmm]) {
amd64_emitf(irn, "movapd %^S0, %^D0");
} else if (cls == &amd64_reg_classes[CLASS_amd64_x87]) {
/* nothing to do */
} else {
panic("move not supported for this register class");
}
......
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