* sysdeps/mips/pspinlock.c (__pthread_spin_lock): Don't set mips2.
* sysdeps/mips/pt-machine.h (testandset): Likewise.
(__compare_and_swap): Likewise.
- Patches by "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>.
+ Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
2000-11-20 Jakub Jelinek <jakub@redhat.com>
long int ret, temp;
__asm__ __volatile__
- (".set mips2\n\t"
- "/* Inline spinlock test & set */\n\t"
+ ("/* Inline spinlock test & set */\n\t"
"1:\n\t"
"ll %0,%3\n\t"
".set push\n\t"
long int ret;
__asm__ __volatile__
- (".set mips2\n\t"
- "/* Inline compare & swap */\n\t"
+ ("/* Inline compare & swap */\n\t"
"1:\n\t"
"ll %0,%4\n\t"
".set push\n"