This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
i386, asm() and "o" constraint
- From: "Alexander Melkov" <melkov at yandex-team dot ru>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Wed, 24 Sep 2003 23:54:13 +0400
- Subject: i386, asm() and "o" constraint
- Organization: Yandex
Before writing to bugs, I thought it would be appropriate to ask it here:
Does anyone know if that is implemented in latest GCC releases? gcc-3.1.1, just like 2.95.x, says
"warning: asm operand 5 probably doesn't match constraints".
What I actually need is to have an instruction like "adcl %3,4+%1" compiled without useless (both
compiler and assembler) warnings, where %1 is a memory reference, say, "=o" (Sum), where Sum is a
64-bit integer.
Unlike "m", "o" might simply write "0(%ebp)" instead of just "(%ebp)".
Best Regards, Alexander Melkov