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
6df2817d
Commit
6df2817d
authored
Jun 13, 2016
by
Christoph Mallon
Browse files
Correct handling of float to unsigned long long conversion on AMD64.
This fixes backend/f2ull.c.
parent
61d9699c
Changes
1
Show whitespace changes
Inline
Side-by-side
ir/be/amd64/amd64_bearch.c
View file @
6df2817d
...
...
@@ -290,7 +290,7 @@ static void rewrite_float_unsigned_Conv(ir_node *node)
/* true block: Do some arithmetic to use the signed conversion */
ir_node
*
true_block
=
new_r_Block
(
irg
,
ARRAY_SIZE
(
in_true
),
in_true
);
ir_node
*
true_jmp
=
new_r_Jmp
(
true_block
);
ir_node
*
sub
=
new_r_Sub
(
true_block
,
fp_
const
,
fp_x
);
ir_node
*
sub
=
new_r_Sub
(
true_block
,
fp_
x
,
fp_const
);
ir_node
*
sub_conv
=
new_rd_Conv
(
dbgi
,
true_block
,
sub
,
mode_Ls
);
ir_node
*
sign_bit
=
create_sign_bit_const
(
irg
);
collect_new_start_block_node
(
sign_bit
);
...
...
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