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
e4f3e5e3
Commit
e4f3e5e3
authored
Apr 10, 2010
by
Michael Beck
Browse files
Renamed ia32 Push0 to PushEax (because this is the generated instruction).
[r27369]
parent
a5d5f207
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_optimize.c
View file @
e4f3e5e3
...
...
@@ -921,12 +921,12 @@ static void peephole_be_IncSP(ir_node *node)
dbgi
=
get_irn_dbg_info
(
node
);
block
=
get_nodes_block
(
node
);
stack
=
be_get_IncSP_pred
(
node
);
stack
=
new_bd_ia32_Push
0
(
dbgi
,
block
,
stack
);
stack
=
new_bd_ia32_Push
Eax
(
dbgi
,
block
,
stack
);
arch_set_irn_register
(
stack
,
esp
);
sched_add_before
(
node
,
stack
);
if
(
offset
==
+
8
)
{
stack
=
new_bd_ia32_Push
0
(
dbgi
,
block
,
stack
);
stack
=
new_bd_ia32_Push
Eax
(
dbgi
,
block
,
stack
);
arch_set_irn_register
(
stack
,
esp
);
sched_add_before
(
node
,
stack
);
}
...
...
ir/be/ia32/ia32_spec.pl
View file @
e4f3e5e3
...
...
@@ -1363,7 +1363,7 @@ Push => {
units
=>
[
"
GP
"
],
},
Push
0
=>
{
Push
Eax
=>
{
state
=>
"
exc_pinned
",
reg_req
=>
{
in
=>
[
"
esp
"
],
out
=>
[
"
esp:I|S
"
]
},
ins
=>
[
"
stack
"
],
...
...
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