Re: Use branch prediction from .gcda files

2024-11-21 Thread Kamil Belter via Gcc
On Tue, Nov 19, 2024 at 12:58 PM Richard Biener wrote: > > On Tue, Nov 19, 2024 at 11:56 AM Kamil Belter via Gcc wrote: > > > > Hello, > > > > I would like to set branch prediction based on .gcda files (I know I > > could have it automatically with -fprofi

Use branch prediction from .gcda files

2024-11-19 Thread Kamil Belter via Gcc
Hello, I would like to set branch prediction based on .gcda files (I know I could have it automatically with -fprofile-use, but with my specific use case I can't do it). I've tried to use gcov-dump but I can't find any spec how to interpret this output. I've also tried to use -fprofile-use with