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
00eba9a4
Commit
00eba9a4
authored
Jun 11, 2013
by
Matthias Braun
Browse files
amd64: fix be_IncSP emitter
parent
34484523
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/amd64/amd64_emitter.c
View file @
00eba9a4
...
@@ -570,9 +570,9 @@ static void emit_be_IncSP(const ir_node *node)
...
@@ -570,9 +570,9 @@ static void emit_be_IncSP(const ir_node *node)
return
;
return
;
if
(
offs
>
0
)
{
if
(
offs
>
0
)
{
amd64_emitf
(
node
,
"subq $%d, %D0"
,
offs
);
amd64_emitf
(
node
,
"subq $%d, %
^
D0"
,
offs
);
}
else
{
}
else
{
amd64_emitf
(
node
,
"addq $%d, %D0"
,
-
offs
);
amd64_emitf
(
node
,
"addq $%d, %
^
D0"
,
-
offs
);
}
}
}
}
...
...
Write
Preview
Supports
Markdown
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