This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
objdump
- To: gcc at gcc dot gnu dot org
- Subject: objdump
- From: Frank Klemm <pfk at fuchs dot offl dot uni-jena dot de>
- Date: Sun, 2 Sep 2001 15:30:28 +0200
- >Received: (from pfk@localhost)by fuchs.offl.uni-jena.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id PAA24638for gcc@gcc.gnu.org; Sun, 2 Sep 2001 15:30:28 +0200
Objdump disassembles wrongly:
42: 0f af c2 imul %edx,%eax
90: f7 ea imul %edx,%eax
The first instruction is: (eax * edx):31:0 => eax (32*32 => 32)
The second instruction is: eax * edx => tmp (32*32 => 64)
tmp:31:0 => eax
tmp:63:32 => edx
Version of objdump is:
$ objdump --version
GNU objdump 2.9.5
Copyright 1997, 1998, 1999 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
The commonly used syntax for the second is:
imul %edx
--
Frank