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
8120d7a7
Commit
8120d7a7
authored
May 06, 2016
by
Christoph Mallon
Browse files
amd64: Use be_peephole_IncSP_IncSP().
parent
232364e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
NEWS.md
View file @
8120d7a7
...
...
@@ -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)
...
...
ir/be/amd64/amd64_optimize.c
View file @
8120d7a7
...
...
@@ -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
);
}
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