This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13781] [x86-64] Assembler messages: "operands invalid" for mov in kopete 0.8beta2


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]