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
0c157edb
Commit
0c157edb
authored
Jan 09, 2014
by
Christoph Mallon
Browse files
Use ia32_copy_am_attrs().
parent
1cb93250
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_transform.c
View file @
0c157edb
...
...
@@ -5436,11 +5436,7 @@ static void postprocess_fp_call_results(void)
ir_mode
*
mode
=
get_ia32_ls_mode
(
succ
);
ir_node
*
st
=
new_bd_ia32_fst
(
db
,
block
,
base
,
idx
,
mem
,
value
,
mode
);
//ir_node *mem = new_r_Proj(st, mode_M, pn_ia32_fst_M);
set_ia32_am_offs_int
(
st
,
get_ia32_am_offs_int
(
succ
));
if
(
is_ia32_use_frame
(
succ
))
set_ia32_use_frame
(
st
);
set_ia32_frame_ent
(
st
,
get_ia32_frame_ent
(
succ
));
ia32_copy_am_attrs
(
st
,
succ
);
set_irn_pinned
(
st
,
get_irn_pinned
(
succ
));
set_ia32_op_type
(
st
,
ia32_AddrModeD
);
...
...
ir/be/ia32/ia32_x87.c
View file @
0c157edb
...
...
@@ -915,13 +915,8 @@ static int sim_store(x87_state *state, ir_node *n)
ir_node
*
const
vfld
=
new_bd_ia32_fld
(
NULL
,
block
,
get_irn_n
(
n
,
0
),
get_irn_n
(
n
,
1
),
mem
,
mode
);
/* copy all attributes */
set_ia32_frame_ent
(
vfld
,
get_ia32_frame_ent
(
n
));
if
(
is_ia32_use_frame
(
n
))
set_ia32_use_frame
(
vfld
);
ia32_copy_am_attrs
(
vfld
,
n
);
set_ia32_op_type
(
vfld
,
ia32_AddrModeS
);
add_ia32_am_offs_int
(
vfld
,
get_ia32_am_offs_int
(
n
));
set_ia32_am_sc
(
vfld
,
get_ia32_am_sc
(
n
));
set_ia32_ls_mode
(
vfld
,
mode
);
ir_node
*
const
rproj
=
new_r_Proj
(
vfld
,
mode
,
pn_ia32_fld_res
);
ir_node
*
const
mproj
=
new_r_Proj
(
vfld
,
mode_M
,
pn_ia32_fld_M
);
...
...
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