|
From: Wolfgang R. <wol...@ro...> - 2003-09-05 09:19:19
|
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 <=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D popl %es <=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ret =20 fcom: pushl %ebp movl %esp,%ebp pushl %edi pushl %esi pushl %ebx call adj2 The last time I did assembly was on Z80 and 6502 (AppleII), so I won't try to change this. Thank you very much for your valuable help! --=20 mit freundlichen Gr=FCssen with my best greetings Wolfgang Rohdewald dipl. Informatik Ing. ETH Rohdewald Systemberatung Karauschenstieg 4 D 21640 Horneburg Tel.: 04163 826 819 Fax: 04163 826 828 Internet: www.rohdewald.de |