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
662c639f
Commit
662c639f
authored
Mar 09, 2006
by
Christian Würdig
Browse files
fixed some bugs
parent
9ab25678
Changes
2
Hide whitespace changes
Inline
Side-by-side
ir/be/ia32/ia32_emitter.c
View file @
662c639f
...
...
@@ -787,12 +787,6 @@ void emit_be_IncSP(const ir_node *irn, emit_env_t *emit_env) {
}
}
void
emit_be_AddSP
(
const
ir_node
*
irn
,
emit_env_t
*
emit_env
)
{
FILE
*
F
=
emit_env
->
out
;
lc_efprintf
(
ia32_get_arg_env
(),
F
,
"
\t
add %1D, %1S
\t\t\t
/* %+F (AddSP) */
\n
"
,
irn
,
irn
,
irn
);
}
/***********************************************************************************
* _ __ _
...
...
@@ -829,7 +823,6 @@ static void ia32_register_emitters(void) {
/* benode emitter */
BE_EMIT
(
Call
);
BE_EMIT
(
IncSP
);
// BE_EMIT(AddSP);
/* firm emitter */
EMIT
(
Jmp
);
...
...
ir/be/ia32/ia32_transform.c
View file @
662c639f
...
...
@@ -1292,6 +1292,25 @@ static ir_node *gen_Mux(ia32_transform_env_t *env) {
*
********************************************/
static
ir_node
*
gen_FrameAddr
(
ia32_transform_env_t
*
tenv
)
{
ir_node
*
new_op
=
NULL
;
return
new_op
;
}
static
ir_node
*
gen_FrameLoad
(
ia32_transform_env_t
*
tenv
)
{
ir_node
*
new_op
=
NULL
;
return
new_op
;
}
static
ir_node
*
gen_FrameStore
(
ia32_transform_env_t
*
tenv
)
{
ir_node
*
new_op
=
NULL
;
return
new_op
;
}
/*********************************************************
* _ _ _
...
...
@@ -1412,6 +1431,10 @@ void ia32_transform_node(ir_node *node, void *env) {
OTHER_BIN
(
Max
);
OTHER_BIN
(
Min
);
OTHER_BIN
(
Mulh
);
BE_GEN
(
FrameAddr
);
BE_GEN
(
FrameLoad
);
BE_GEN
(
FrameStore
);
break
;
bad:
fprintf
(
stderr
,
"Not implemented: %s
\n
"
,
get_irn_opname
(
node
));
...
...
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