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
264d596f
Commit
264d596f
authored
Mar 25, 2011
by
Matthias Braun
Browse files
fix wrong usage of inverted vs negated condition codes
parent
115cfa7b
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_transform.c
View file @
264d596f
...
...
@@ -3036,7 +3036,7 @@ static ir_node *create_CMov(ir_node *node, ir_node *flags, ir_node *new_flags,
match_commutative
|
match_am
|
match_16bit_am
|
match_mode_neutral
);
if
(
am
.
ins_permuted
)
cc
=
ia32_
invert
_condition_code
(
cc
);
cc
=
ia32_
negate
_condition_code
(
cc
);
new_node
=
new_bd_ia32_CMovcc
(
dbgi
,
new_block
,
addr
->
base
,
addr
->
index
,
addr
->
mem
,
am
.
new_op1
,
am
.
new_op2
,
new_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