diff options
| author | rsc <devnull@localhost> | 2003-12-17 04:34:52 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2003-12-17 04:34:52 +0000 |
| commit | 49588d5d9089589ccda28c41aae90c29d6f72787 (patch) | |
| tree | 48cbc911e34b71977b7b98b4d0b94b27d4454081 /src/libthread/asm-FreeBSD-386.s | |
| parent | 7f11104a5737adf261d10bc1a7b85e740f2eb491 (diff) | |
| download | plan9port-49588d5d9089589ccda28c41aae90c29d6f72787.tar.gz plan9port-49588d5d9089589ccda28c41aae90c29d6f72787.zip | |
Tweaks to various bits.
Until I hear otherwise, Refs aren't used enough to
merit their own assembly. They are now implemented with locks.
Diffstat (limited to 'src/libthread/asm-FreeBSD-386.s')
| -rw-r--r-- | src/libthread/asm-FreeBSD-386.s | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/libthread/asm-FreeBSD-386.s b/src/libthread/asm-FreeBSD-386.s index 074556f9..35e2ab6f 100644 --- a/src/libthread/asm-FreeBSD-386.s +++ b/src/libthread/asm-FreeBSD-386.s @@ -30,20 +30,20 @@ _gotolabel: 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 - +# .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 +# |
