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
1fcb2bcd
Commit
1fcb2bcd
authored
Nov 11, 2011
by
Matthias Braun
Browse files
ia32: set ls_mode on more nodes
parent
2ebc2d3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_transform.c
View file @
1fcb2bcd
...
...
@@ -3176,9 +3176,11 @@ static ir_node *create_doz(ir_node *psi, ir_node *a, ir_node *b)
dbgi
=
get_irn_dbg_info
(
psi
);
sbb
=
new_bd_ia32_Sbb0
(
dbgi
,
block
,
eflags
);
set_ia32_ls_mode
(
sbb
,
mode_Iu
);
notn
=
new_bd_ia32_Not
(
dbgi
,
block
,
sbb
);
new_node
=
new_bd_ia32_And
(
dbgi
,
block
,
noreg_GP
,
noreg_GP
,
nomem
,
new_node
,
notn
);
set_ia32_ls_mode
(
new_node
,
mode_Iu
);
set_ia32_commutative
(
new_node
);
return
new_node
;
}
...
...
@@ -5087,6 +5089,7 @@ static ir_node *gen_ffs(ir_node *node)
/* or */
orn
=
new_bd_ia32_Or
(
dbgi
,
block
,
noreg_GP
,
noreg_GP
,
nomem
,
bsf
,
neg
);
set_ia32_ls_mode
(
orn
,
mode_Iu
);
set_ia32_commutative
(
orn
);
/* add 1 */
...
...
@@ -5142,6 +5145,7 @@ static ir_node *gen_parity(ir_node *node)
ir_node
*
xor2
=
new_bd_ia32_XorHighLow
(
dbgi
,
new_block
,
xor
);
ir_node
*
flags
;
set_ia32_ls_mode
(
xor
,
mode_Iu
);
set_ia32_commutative
(
xor
);
set_irn_mode
(
xor2
,
mode_T
);
...
...
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