1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-08-01 10:06:57 +03:00

* sysdeps/mips/atomicity.h (compare_and_swap): Remove

".set noreorder".
	* sysdeps/unix/sysv/linux/mips/sys/tas.h (_test_and_set):
	Likewise.
This commit is contained in:
Andreas Jaeger
2002-02-08 16:15:43 +00:00
parent 1a70fdb307
commit c899461bec
3 changed files with 9 additions and 8 deletions

View File

@ -45,11 +45,8 @@ _test_and_set (int *p, int v) __THROW
("/* Inline test and set */\n"
"1:\n\t"
"ll %0,%3\n\t"
".set push\n\t"
".set noreorder\n\t"
"move %1,%4\n\t"
"beq %0,%4,2f\n\t"
" move %1,%4\n\t"
".set pop\n\t"
"sc %1,%2\n\t"
"beqz %1,1b\n"
"2:\n\t"