From 37e7d24c0cb9fd2d18ab332980c31cf470454d93 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sun, 19 Jan 2020 22:52:04 -0500 Subject: libthread: rm OpenBSD tas implementations OpenBSD is using pthreads now, so no need for tas. --- src/libthread/OpenBSD-power-asm.S | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/libthread/OpenBSD-power-asm.S') diff --git a/src/libthread/OpenBSD-power-asm.S b/src/libthread/OpenBSD-power-asm.S index 03b46e7b..36035eb5 100644 --- a/src/libthread/OpenBSD-power-asm.S +++ b/src/libthread/OpenBSD-power-asm.S @@ -1,18 +1,3 @@ -ENTRY(_tas) - li %r0, 0 - mr %r4, %r3 - lis %r5, 0xcafe - ori %r5, %r5, 0xbabe -1: - lwarx %r3, %r0, %r4 - cmpwi %r3, 0 - bne 2f - stwcx. %r5, %r0, %r4 - bne- 1b -2: - sync - blr - ENTRY(_getmcontext) /* xxx: instruction scheduling */ mflr %r0 mfcr %r5 -- cgit v1.2.3