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
4c496f9b
Commit
4c496f9b
authored
Sep 09, 2008
by
Matthias Braun
Browse files
match immediate for SubSP and AddSP
[r21787]
parent
a328b24d
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_transform.c
View file @
4c496f9b
...
...
@@ -3512,7 +3512,8 @@ static ir_node *gen_be_AddSP(ir_node *node)
ir_node
*
sz
=
get_irn_n
(
node
,
be_pos_AddSP_size
);
ir_node
*
sp
=
get_irn_n
(
node
,
be_pos_AddSP_old_sp
);
return
gen_binop
(
node
,
sp
,
sz
,
new_rd_ia32_SubSP
,
match_am
);
return
gen_binop
(
node
,
sp
,
sz
,
new_rd_ia32_SubSP
,
match_am
|
match_immediate
);
}
/**
...
...
@@ -3523,7 +3524,8 @@ static ir_node *gen_be_SubSP(ir_node *node)
ir_node
*
sz
=
get_irn_n
(
node
,
be_pos_SubSP_size
);
ir_node
*
sp
=
get_irn_n
(
node
,
be_pos_SubSP_old_sp
);
return
gen_binop
(
node
,
sp
,
sz
,
new_rd_ia32_AddSP
,
match_am
);
return
gen_binop
(
node
,
sp
,
sz
,
new_rd_ia32_AddSP
,
match_am
|
match_immediate
);
}
/**
...
...
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