File:  [DVB] / dietlibc / parisc / __testandset.S
Revision 1.2: download - view: text, annotated - select for diffs
Mon Jan 28 17:09:41 2002 UTC (22 years, 4 months ago) by olaf
Branches: MAIN
CVS tags: finnland_test_200301, branch_rc14_fieldtest_finnland, branch_rc13_fieldtest_finnland, branch_rc12_fieldtest_finnland, branch_rc10_fieldtest_finnland, RELEASE_finnland_200301_1, RC12_FIELDTEST_FINNLAND, RC10_FIELDTEST_FINNLAND, HEAD
- parisc clone & atomic testandset
- modifications to libpthread to respect the UPgrowing stack of rarisc
  and inverse lock logic
- added compiler option to i386 (this saves 9 byte per C-function)

.level 1.1
.text
.globl __testandset
__testandset:
	ldcw 0(%sr0, %r26), %r28
	ldi 1,%r19
	bv %r0(%r2)
	xor %r28,%r19,%r28

LinuxTV legacy CVS <linuxtv.org/cvs>