|
From: Julian S. <js...@ac...> - 2006-10-24 21:41:39
|
Yes, please submit a bug report. It would also be good to have a C program which reproduced the problem, if you can construct one.=20 J On Tuesday 24 October 2006 21:41, Rafael Esp=EDndola wrote: > Generally when compiling a ((short|1) =3D=3D constant) compression, gcc > generates this code: > > --------------------------------------- > movl (%rdi), %eax > orl $1, %eax > cmpw $43, %ax > je .L17 > --------------------------------------- > > This works correctly on valgrind even if the second half of eax is > undefined (cmpw doesn't use it). > > But if the constant is 0xffff, the generated code is > > ------------------------------------ > movl (%rdi), %eax > orl $1, %eax > incw %ax > je .L17 > ------------------------------------ > > In this case valgrind prints the warning > ------------------------------------ > Conditional jump or move depends on uninitialised value(s) > ------------------------------------ > > But the Z flag doesn't depend on the high part of eax. So the jump > doesn't depend on uninitialized values. > > Should I submit a bug report? Where should I look in the code to try > to fix this? > > 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 |