Mail Archives: djgpp/1999/09/09/23:50:54
I've disassembled the executable, and it seems the compiler issues a locked
'xaddl' instruction. I couldn't find opcode 'c1' in my 386 reference manual,
so this may be a 486++ instruction? (I can't find anything but Intel's 386
manual online, sigh)
2052: f0 0f c1 02 lock xaddl %eax,(%edx)
> Confirmed with DJGPP ports of egcs-1.1.2 and gcc-2.95.1 (I don't more
> gcc-2.95 installed, but that doesn't matter). 2 possible cures:
> - currently use option '-march=i386' on 386, it should help
I tried that already, to no avail.. Tried again, and the compiler outputs the
same 'xaddl' at a slighty different location (other parts of the code are
different)
> - in future: I must rebuild gcc-2.95.1 for target i386-pc-msdosdjgpp
Hmm. How come that in thousands of lines of code, the compiler only fails in
a global string definition..
Thanks!
Rob Kramer
robk AT cyberway DOT com DOT sg
- Raw text -