This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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) ); }
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |