|
From: Dan K. <da...@ke...> - 2003-09-05 15:16:29
|
Wolfgang Rohdewald wrote: > I found the offending code. This is some 20 year old assembly > doing speed optimized BCD arithmetic (written for an 80286). > Since I have the same code in C (much slower), I am now using > the C code for valgrind, problem solved. > > This was the assembly code: > > adj2: > addl $0x7,0x8(%ebp) > addl $0x7,0xc(%ebp) > pushl %ds <=================== > popl %es <=================== > ret The push ds, pop es sequence is extremely common, or at least was, back in the day. Valgrind really should support it. - Dan -- Dan Kegel http://www.kegel.com http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045 |