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
80cebecb
Commit
80cebecb
authored
Oct 08, 2008
by
Christoph Mallon
Browse files
Make it a bit more clear, what's going on in ia32_emit_x87_binop().
[r22597]
parent
5c27399e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_emitter.c
View file @
80cebecb
...
...
@@ -446,12 +446,14 @@ void ia32_emit_x87_binop(const ir_node *node)
{
const
ia32_x87_attr_t
*
x87_attr
=
get_ia32_x87_attr_const
(
node
);
const
arch_register_t
*
in1
=
x87_attr
->
x87
[
0
];
const
arch_register_t
*
in
2
=
x87_attr
->
x87
[
1
];
const
arch_register_t
*
in
=
x87_attr
->
x87
[
1
];
const
arch_register_t
*
out
=
x87_attr
->
x87
[
2
];
const
arch_register_t
*
in
;
in
=
out
?
((
out
==
in2
)
?
in1
:
in2
)
:
in2
;
out
=
out
?
out
:
in1
;
if
(
out
==
NULL
)
{
out
=
in1
;
}
else
if
(
out
==
in
)
{
in
=
in1
;
}
be_emit_char
(
'%'
);
be_emit_string
(
arch_register_get_name
(
in
));
...
...
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