Commit 662c639f authored by Christian Würdig's avatar Christian Würdig
Browse files

fixed some bugs

parent 9ab25678
......@@ -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, "\tadd %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);
......
......@@ -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));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment