diff options
| author | rsc <devnull@localhost> | 2004-12-25 21:56:33 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2004-12-25 21:56:33 +0000 |
| commit | 1544f90960275dc9211bde30329c3258e0e1bf38 (patch) | |
| tree | f55e7a73c03aaa24daa7cc2ad02822b921c477f9 /src/libthread/asm-OpenBSD-386.s | |
| parent | 7788fd54094693384ef5c92c475656dba8819feb (diff) | |
| download | plan9port-1544f90960275dc9211bde30329c3258e0e1bf38.tar.gz plan9port-1544f90960275dc9211bde30329c3258e0e1bf38.zip | |
New thread library
Diffstat (limited to 'src/libthread/asm-OpenBSD-386.s')
| -rw-r--r-- | src/libthread/asm-OpenBSD-386.s | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/src/libthread/asm-OpenBSD-386.s b/src/libthread/asm-OpenBSD-386.s deleted file mode 100644 index 35e2ab6f..00000000 --- a/src/libthread/asm-OpenBSD-386.s +++ /dev/null @@ -1,49 +0,0 @@ -.globl _setlabel -.type _setlabel,@function - -_setlabel: - movl 4(%esp), %eax - movl 0(%esp), %edx - movl %edx, 0(%eax) - movl %ebx, 4(%eax) - movl %esp, 8(%eax) - movl %ebp, 12(%eax) - movl %esi, 16(%eax) - movl %edi, 20(%eax) - xorl %eax, %eax - ret - -.globl _gotolabel -.type _gotolabel,@function - -_gotolabel: - movl 4(%esp), %edx - movl 0(%edx), %ecx - movl 4(%edx), %ebx - movl 8(%edx), %esp - movl 12(%edx), %ebp - movl 16(%edx), %esi - movl 20(%edx), %edi - xorl %eax, %eax - incl %eax - movl %ecx, 0(%esp) - ret - - -# .globl _xinc -# _xinc: -# movl 4(%esp), %eax -# lock incl 0(%eax) -# ret -# -# .globl _xdec -# _xdec: -# movl 4(%esp), %eax -# lock decl 0(%eax) -# jz iszero -# movl $1, %eax -# ret -# iszero: -# movl $0, %eax -# ret -# |
