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
162fe0bb
Commit
162fe0bb
authored
Apr 08, 2014
by
Matthias Braun
Browse files
ia32: do not force 32/64 stackends if not necessary
This should fix 400.perlbench which was using a 16bit stackent here.
parent
bb6cf069
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_transform.c
View file @
162fe0bb
...
...
@@ -3662,7 +3662,8 @@ static ir_node *gen_x87_gp_to_fp(ir_node *node)
ir_node
*
fild
=
new_bd_ia32_fild
(
dbgi
,
new_block
,
addr
->
base
,
addr
->
index
,
addr
->
mem
);
ir_node
*
new_node
=
new_r_Proj
(
fild
,
mode_fp
,
pn_ia32_fild_res
);
if
(
addr
->
use_frame
&&
addr
->
entity
==
NULL
)
if
(
addr
->
use_frame
&&
addr
->
entity
==
NULL
&&
get_mode_arithmetic
(
am
.
ls_mode
)
!=
irma_twos_complement
)
force_int_stackent
(
fild
,
am
.
ls_mode
);
set_am_attributes
(
fild
,
&
am
);
...
...
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