Bug in PPC inline assembly?

David Edelsohn dje@watson.ibm.com
Sun Jul 17 23:19:00 GMT 2005


>>>>> Stefan  writes:

Stefan> I have some problems with using inline PowerPC assembly in GCC (4.0.1). 
Stefan> Consider the following code:

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

	Use constraint "b".

David



More information about the Gcc mailing list