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
486b710d
Commit
486b710d
authored
Mar 12, 2013
by
Matthias Braun
Browse files
fix sparc after oparity changes
parent
9a1ec0a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/sparc/sparc_transform.c
View file @
486b710d
...
...
@@ -521,8 +521,11 @@ static ir_node *gen_Add(ir_node *node)
static
ir_node
*
gen_AddCC_t
(
ir_node
*
node
)
{
return
gen_helper_binop
(
node
,
MATCH_COMMUTATIVE
|
MATCH_MODE_NEUTRAL
,
new_bd_sparc_AddCC_reg
,
new_bd_sparc_AddCC_imm
);
ir_node
*
left
=
get_irn_n
(
node
,
n_sparc_AddCC_t_left
);
ir_node
*
right
=
get_irn_n
(
node
,
n_sparc_AddCC_t_right
);
return
gen_helper_binop_args
(
node
,
left
,
right
,
MATCH_COMMUTATIVE
|
MATCH_MODE_NEUTRAL
,
new_bd_sparc_AddCC_reg
,
new_bd_sparc_AddCC_imm
);
}
static
ir_node
*
gen_Proj_AddCC_t
(
ir_node
*
node
)
...
...
@@ -568,8 +571,10 @@ static ir_node *gen_Sub(ir_node *node)
static
ir_node
*
gen_SubCC_t
(
ir_node
*
node
)
{
return
gen_helper_binop
(
node
,
MATCH_MODE_NEUTRAL
,
new_bd_sparc_SubCC_reg
,
new_bd_sparc_SubCC_imm
);
ir_node
*
left
=
get_irn_n
(
node
,
n_sparc_SubCC_t_left
);
ir_node
*
right
=
get_irn_n
(
node
,
n_sparc_SubCC_t_right
);
return
gen_helper_binop_args
(
node
,
left
,
right
,
MATCH_MODE_NEUTRAL
,
new_bd_sparc_SubCC_reg
,
new_bd_sparc_SubCC_imm
);
}
static
ir_node
*
gen_Proj_SubCC_t
(
ir_node
*
node
)
...
...
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