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

2011-05-16 Thread Marek Polacek
On 05/16/2011 10:00 AM, Mark Wielaard wrote: > How interesting, I didn't know about --enable-debugpred. At least something good came out of this wrong patch ;) > Like Ulrich said, you probably ran the binary in such a way that > libebl isn't loading the correct backend (in such a case > ebl_reloc

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

2011-05-16 Thread Mark Wielaard
> I've been playing with the debugpred How interesting, I didn't know about --enable-debugpred. That does look super useful. It is implemented through lib/eu-config.h and src/debugpred.h. An explanation of how it works can be found in the appendix to "What Every Programmer Should Know About Memory