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:
@ -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"
|
||||
|
Reference in New Issue
Block a user