Commit 8120d7a7 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

amd64: Use be_peephole_IncSP_IncSP().

parent 232364e4
......@@ -20,6 +20,7 @@ libFirm 1.22.1 (2016-01-07)
* Add peephole optimization 'lea (%b), %d' -> 'mov %b, %d' (ia32)
* Add peephole optimization 'testl $0x0000XX00, %eRx' -> 'testb $0xXX, %Rh' (ia32)
* Generate slightly better code to load the floating-point constants `-0.0` and `-1.0` (ia32)
* Reduce number of stack adjustments (amd64)
* Bugfixes
libFirm 1.22.0 (2015-12-31)
......
......@@ -109,10 +109,16 @@ static void peephole_amd64_mov_imm(ir_node *const node)
}
}
static void peephole_be_IncSP(ir_node *const node)
{
be_peephole_IncSP_IncSP(node);
}
void amd64_peephole_optimization(ir_graph *const irg)
{
ir_clear_opcodes_generic_func();
register_peephole_optimization(op_amd64_lea, peephole_amd64_lea);
register_peephole_optimization(op_amd64_mov_imm, peephole_amd64_mov_imm);
register_peephole_optimization(op_be_IncSP, peephole_be_IncSP);
be_peephole_opt(irg);
}
Markdown is supported
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