|
From: Julian S. <js...@ac...> - 2006-10-30 15:08:37
|
I need to see the IR (internal intermediate representation) created for=20 these blocks. Can you run with =2D-tool=3Dnone --trace-flags=3D10001000 --vex-guest-chase-thresh=3D0 --tra= ce-notbelow=3D0 which will give you many megabytes of log file. Then find and send the presumably 3 blocks which pertain to this function. The blocks in the log have their function name + offset attached so it is easy to find them. Thanks. J On Sunday 29 October 2006 02:05, Rafael Esp=EDndola wrote: > Reducing a function in qt4 to fix a warning about a branch depending > on uninitialised values, I ended up with > -------------------------------- > _ZN18QRasterPaintEngine12updateMatrixERK7QMatrix: > movl 4(%esp), %eax > movl 16(%eax), %ecx > > fldz > fldz > fxch %st(1) > fucompp > fnstsw %ax > sahf > jp .L262 > > andb $128, 8761(%ecx) > > fldz > fldz > fxch %st(1) > fucompp > fnstsw %ax > sahf > jp 1.L262 > > .L262: > ret > --------------------------------------- > > Note that the code does two identical fp compares. Valgrind gives a > warning only on the second "jp". If the "andb" instruction is removed, > the warning disappears. > > Any suggestions on where to look in the code? > > Thanks, > Rafael > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers |