Re: [PATCH] readelf.c: wrong branch prediction

2011-05-15 Thread Ulrich Drepper
On Sun, May 15, 2011 at 06:54, Marek Polacek wrote: > I've been playing with the debugpred and noticed, that every time when > running the eu-readelf -r, e.g., src/readelf -r src/readelf, we get: This is just an artifact of how you run the test then. Look at the code, we better always have corre

[PATCH] readelf.c: wrong branch prediction

2011-05-15 Thread Marek Polacek
I've been playing with the debugpred and noticed, that every time when running the eu-readelf -r, e.g., src/readelf -r src/readelf, we get: readelf.c:1845: wrong=148, correct=0 < WARNING If the prediction should be changed, here's a patch. 2011-05-15 Marek Polacek * readelf.