[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] asm parameter substitution
From: |
Daniel Glöckner |
Subject: |
[Tinycc-devel] asm parameter substitution |
Date: |
Mon, 11 Apr 2005 00:29:11 +0200 |
User-agent: |
Mutt/1.4.2.1i |
Writing an ARM inline assembler, I have some problems to make the code
do what it should do in subst_asm_operand and asm_gen_code using just
the information provided by their parameters.
Even the x86 inline assembler doesn't do it properly, as the following
example shows:
int f(int *x)
{
asm("xorl %0,%0":"=r"(*x));
}
Both functions should be given the ASMOperand and the SValue for each
parameter.
Daniel
pgpRU2fjQa9DT.pgp
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Tinycc-devel] asm parameter substitution,
Daniel Glöckner <=