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
f8ead9ac
Commit
f8ead9ac
authored
Nov 30, 2012
by
Christoph Mallon
Browse files
ia32: Remove the ia32_x87_attr_t from ia32_asm_attr_t.
It does not provide sufficient information to handle float in asm.
parent
53c715b1
Changes
3
Show whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_new_nodes.c
View file @
f8ead9ac
...
...
@@ -809,9 +809,10 @@ static void init_ia32_asm_attributes(ir_node *res)
#ifndef NDEBUG
ia32_attr_t
*
attr
=
get_ia32_attr
(
res
);
attr
->
attr_type
|=
IA32_ATTR_ia32_asm_attr_t
;
#else
(
void
)
res
;
#endif
ir_graph
*
const
irg
=
get_irn_irg
(
res
);
ia32_request_x87_sim
(
irg
);
/* asm might have fp operands. */
}
static
void
init_ia32_immediate_attributes
(
ir_node
*
res
,
ir_entity
*
symconst
,
...
...
ir/be/ia32/ia32_nodes_attr.h
View file @
f8ead9ac
...
...
@@ -291,7 +291,7 @@ struct ia32_asm_reg_t {
*/
typedef
struct
ia32_asm_attr_t
ia32_asm_attr_t
;
struct
ia32_asm_attr_t
{
ia32_
x87_
attr_t
x87_
attr
;
ia32_attr_t
attr
;
/**< the generic attribute */
ident
*
asm_text
;
const
ia32_asm_reg_t
*
register_map
;
};
...
...
ir/be/ia32/ia32_spec.pl
View file @
f8ead9ac
...
...
@@ -117,7 +117,6 @@ $custom_init_attr_func = \&ia32_custom_init_attr;
%init_attr
=
(
ia32_asm_attr_t
=>
"
\t
init_ia32_attributes(res, irn_flags_, in_reqs, n_res);
\n
"
.
"
\t
init_ia32_x87_attributes(res);
"
.
"
\t
init_ia32_asm_attributes(res);
",
ia32_attr_t
=>
"
\t
init_ia32_attributes(res, irn_flags_, in_reqs, n_res);
",
...
...
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