On Jul 17, 2005, at 19:15, Stefan wrote:
I have some problems with using inline PowerPC assembly in GCC (4.0.1). Consider the following code:Try using 'b' for the constraint - that selects for an "address base register", as opposed to 'r'void save_fp_register(double* buffer) { asm("stfd F0, 0(%0)" : : "r" (buffer) ); }
that is any of the general registers (including R0)