1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Remove atomic_*_{32,64} since they are now inline. If you haven't rebuilt

modules since atomic.h was updated, now is the time.
This commit is contained in:
Doug Rabson 2000-09-22 08:30:59 +00:00
parent 5e90bdab10
commit 8a90ed65a6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66228

View File

@ -149,84 +149,3 @@ LEAF(atomic_subtract_16, 2)
RET
1: br 0b
END(atomic_subtract_16)
LEAF(atomic_set_32, 2)
0: ldl_l t0, 0(a0)
bis t0, a1, t0
stl_c t0, 0(a0)
beq t0, 1f
mb
RET
1: br 0b
END(atomic_set_32)
LEAF(atomic_clear_32, 2)
0: ldl_l t0, 0(a0)
bic t0, a1, t0
stl_c t0, 0(a0)
beq t0, 1f
mb
RET
1: br 0b
END(atomic_clear_32)
LEAF(atomic_add_32, 2)
0: ldl_l t0, 0(a0)
addl t0, a1, t0
stl_c t0, 0(a0)
beq t0, 1f
mb
RET
1: br 0b
END(atomic_add_32)
LEAF(atomic_subtract_32, 2)
0: ldl_l t0, 0(a0)
subl t0, a1, t0
stl_c t0, 0(a0)
beq t0, 1f
mb
RET
1: br 0b
END(atomic_subtract_32)
LEAF(atomic_set_64, 2)
0: ldq_l t0, 0(a0)
bis t0, a1, t0
stq_c t0, 0(a0)
beq t0, 1f
mb
RET
1: br 0b
END(atomic_set_64)
LEAF(atomic_clear_64, 2)
0: ldq_l t0, 0(a0)
bic t0, a1, t0
stq_c t0, 0(a0)
beq t0, 1f
mb
RET
1: br 0b
END(atomic_clear_64)
LEAF(atomic_add_64, 2)
0: ldq_l t0, 0(a0)
addq t0, a1, t0
stq_c t0, 0(a0)
beq t0, 1f
mb
RET
1: br 0b
END(atomic_add_64)
LEAF(atomic_subtract_64, 2)
0: ldq_l t0, 0(a0)
subq t0, a1, t0
stq_c t0, 0(a0)
beq t0, 1f
mb
RET
1: br 0b
END(atomic_subtract_64)