(".set	mips2\n\t" "\t\t\t# spin_lock\n\t"
("\t\t\t# spin_lock\n\t"
__pthread_spin_lock (pthread_spinlock_t *lock){  unsigned int tmp;  asm volatile    (".set	mips2\n\t"     "\t\t\t# spin_lock\n\t"     "1:\n\t"     "ll	%1,%2\n\t"     ".set	push\n\t"     ".set	noreorder\n\t"     "bnez	%1,1b\n\t"     " li	%1,1\n\t"     ".set	pop\n\t"     "sc	%1,%0\n\t"     "beqz	%1,1b"     : "=m" (*lock), "=&r" (tmp)     : "m" (*lock)     : "memory");  return 0;}