Skip to content

Makefile: use gcc optimization flag -fipa-pta#26

Open
ColinIanKing wants to merge 1 commit intollnl:masterfrom
ColinIanKing:optimization-add-gcc-fipa-pta
Open

Makefile: use gcc optimization flag -fipa-pta#26
ColinIanKing wants to merge 1 commit intollnl:masterfrom
ColinIanKing:optimization-add-gcc-fipa-pta

Conversation

@ColinIanKing
Copy link

From gcc 4.2 (March 2009) the compiler has supported the -fipa-pta option that performs interprocedural pointer analysis and interprocedural modification and reference analysis. This is a useful optimization for lulesh and shows performance improvements as detailed below:

Toolchain CPU peformance improvement

g++ 14.2.0 Xeon 8380 0.2%
g++ 14.2.1 i9-12900 1.2%
g++ 13.2.0 i7-6700 1.2%

From gcc 4.2 (March 2009) the compiler has supported the -fipa-pta
option that performs interprocedural pointer analysis and
interprocedural modification and reference analysis. This is a useful
optimization for lulesh and shows performance improvements as detailed
below:

Toolchain	CPU		peformance improvement

g++ 14.2.0	Xeon 8380	0.2%
g++ 14.2.1	i9-12900	1.2%
g++ 13.2.0	i7-6700		1.2%

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant