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:

   void save_fp_register(double* buffer)
   {
       asm("stfd F0,  0(%0)" : : "r" (buffer) );
   }

Try using 'b' for the constraint - that selects for an "address base register", as opposed to 'r'
that is any of the general registers (including R0)

Reply via email to