summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/metag/pthread_spin_unlock.S
blob: 9bd95e675ac58660437c6f46fbf721afa91b124b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
!    Copyright (C) 2013 Imagination Technologies Ltd.

!    Licensed under LGPL v2.1 or later, see the file COPYING.LIB in this tarball.

	.text
	.global	_pthread_spin_unlock
	.type	_pthread_spin_unlock,function
_pthread_spin_unlock:
	MOV	D0Re0, #0
	SETD	[D1Ar1], D0Re0
	MOV	PC, D1RtP
        .size   _pthread_spin_unlock,.-_pthread_spin_unlock

        /* The implementation of pthread_spin_init is identical.  */
        .global  _pthread_spin_init
_pthread_spin_init = _pthread_spin_unlock