inline asm problem
Hans-Peter Nilsson
hp@bitrange.com
Mon Mar 18 04:32:00 GMT 2002
More information about the Binutils mailing list
Mon Mar 18 04:32:00 GMT 2002
- Previous message (by thread): inline asm problem
- Next message (by thread): inline asm problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 18 Mar 2002, Ian Lance Taylor wrote:
> why not just do this:
> __asm__ __volatile__ ("pmaddwd %0, %%mm1" : : "m" (filt_cos + 8));
But don't forget to cast to char * so you're not surprised by
address arithmetic on the short-sized items (often two bytes):
__asm__ __volatile__ ("pmaddwd %0, %%mm1" : : "m" ((char *) filt_cos + 8));
or just say filt_cos + 4.
brgds, H-P
- Previous message (by thread): inline asm problem
- Next message (by thread): inline asm problem
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list