Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
28059fba
Commit
28059fba
authored
Sep 20, 2015
by
Matthias Braun
Browse files
amd64: No need to emit x87 copies
parent
d27c519f
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/amd64/amd64_emitter.c
View file @
28059fba
...
...
@@ -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"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment