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
8be2120e
Commit
8be2120e
authored
Feb 24, 2011
by
Matthias Braun
Browse files
fix broken bt instruction after ia32 cc rewrite
[r28447]
parent
5da257fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_transform.c
View file @
8be2120e
...
...
@@ -2032,9 +2032,9 @@ static ir_node *get_flags_node_cmp(ir_node *node, ia32_condition_code_t *cc_out)
flags
=
gen_bt
(
cmp
,
ra
,
n
);
/* the bit is copied into the CF flag */
if
(
pnc
&
pn_Cmp_Eq
)
*
cc_out
=
ia32_cc_below
;
/* ==0, so we test for CF=1 */
else
*
cc_out
=
ia32_cc_above_equal
;
/* test for CF=0 */
else
*
cc_out
=
ia32_cc_below
;
/* test for CF=1 */
return
flags
;
}
}
...
...
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