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
47f49131
Commit
47f49131
authored
Dec 10, 2013
by
yb9976
Browse files
Added missing case in emit_ia32_Minus64.
This fixes backend/minus64.c.
parent
f7ed6b0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_emitter.c
View file @
47f49131
...
...
@@ -1279,8 +1279,16 @@ static void emit_ia32_Minus64(const ir_node *node)
if
(
out_lo
==
in_lo
)
{
if
(
out_hi
!=
in_hi
)
{
/* a -> a, b -> d */
goto
zero_neg
;
if
(
in_lo
==
in_hi
)
{
/* a -> a, a -> d */
emit_neg
(
node
,
out_lo
);
emit_mov
(
node
,
out_lo
,
out_hi
);
emit_sbb0
(
node
,
out_hi
);
return
;
}
else
{
/* a -> a, b -> d */
goto
zero_neg
;
}
}
else
{
/* a -> a, b -> b */
goto
normal_neg
;
...
...
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