[Bug inline-asm/11819] New: rejects-valid: GCC inline assembler rejects valid MMX constraints
bkausbk at web dot de
gcc-bugzilla@gcc.gnu.org
Wed Aug 6 02:25:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11819
Summary: rejects-valid: GCC inline assembler rejects valid MMX
constraints
Product: gcc
Version: 3.3
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: inline-asm
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: bkausbk at web dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: GCC 3.3
GCC host triplet: x86 - Cygwin (Windows XP)
GCC target triplet: x86 - Cygwin
GCC 3.3 rejects valid MMX contraints in inline assembler
Following source should be possible:
unsigned long long int a,b;
asm ("\n"
".intel_syntax noprefix\n"
" pxor %[out], %[out]\n"
" paddb [%out], %[in]\n"
: [out] "=y" (a)
: [in] "y" (b)
);
GCC returns:
mmx.c:2: error: impossible constraint in `asm'
More information about the Gcc-bugs
mailing list