This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13781] [x86-64] Assembler messages: "operands invalid" for mov in kopete 0.8beta2
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jan 2004 23:41:42 -0000
- Subject: [Bug c++/13781] [x86-64] Assembler messages: "operands invalid" for mov in kopete 0.8beta2
- References: <20040120230157.13781.badcataz@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-20 23:41 -------
This inline-asm is wrong:
asm volatile("movl %1, %%eax\n\t" "movl %2, %%edx\n\t" "roll $29, %%eax ; roll $3, %%eax\n\t" "rorl
$27, %%eax ; rorl $5, %%eax\n\t" "roll $13, %%eax ; roll $19, %%eax\n\t" "movl %%edx, %0\t" : "=r"
(_qzz_res) : "r" (&_zzq_args[0]), "r" (0) : "eax", "edx", "cc", "memory" );
%1 can be (and is for x86_64 because pointers are 64bit) one of the 64bit registers.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13781