summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--atomic/solaris_sparc/apr_atomic_sparc.s6
1 files changed, 0 insertions, 6 deletions
diff --git a/atomic/solaris_sparc/apr_atomic_sparc.s b/atomic/solaris_sparc/apr_atomic_sparc.s
index 3f7b794f4..3057b3238 100644
--- a/atomic/solaris_sparc/apr_atomic_sparc.s
+++ b/atomic/solaris_sparc/apr_atomic_sparc.s
@@ -110,12 +110,6 @@ _apr_atomic_sub_sparc_loop:
ENTRY(apr_atomic_casptr_sparc)
cas [%o0], %o2, %o1
- cmp %o1, %o2 ! if o1 == o2 values weren't swapped
- bne,a _apr_atomic_cas_ne
- mov %o2, %o0
- retl
- mov %o2, %o0
-_apr_atomic_cas_ne:
retl
mov %o1, %o0