Use %xcc for 64-bit comparisons.

This commit is contained in:
nakayama 2008-04-09 12:49:05 +00:00
parent d51db07a71
commit 99adca9efa
6 changed files with 12 additions and 12 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: atomic_add.S,v 1.3 2007/12/22 23:19:40 mrg Exp $ */
/* $NetBSD: atomic_add.S,v 1.4 2008/04/09 12:49:05 nakayama Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@ -63,7 +63,7 @@ ENTRY_NOPROFILE(_atomic_add_64)
1: add %o1, %o2, %o3
casx [%o0], %o2, %o3
cmp %o2, %o3
bne,a,pn %icc, 1b
bne,a,pn %xcc, 1b
mov %o3, %o2
retl
add %o1, %o2, %o0

View File

@ -1,4 +1,4 @@
/* $NetBSD: atomic_and.S,v 1.3 2007/12/22 23:19:40 mrg Exp $ */
/* $NetBSD: atomic_and.S,v 1.4 2008/04/09 12:49:05 nakayama Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@ -63,7 +63,7 @@ ENTRY_NOPROFILE(_atomic_and_64)
1: and %o1, %o2, %o3
casx [%o0], %o2, %o3
cmp %o2, %o3
bne,a,pn %icc, 1b
bne,a,pn %xcc, 1b
mov %o3, %o2
retl
and %o1, %o2, %o0

View File

@ -1,4 +1,4 @@
/* $NetBSD: atomic_dec.S,v 1.4 2007/12/22 23:19:41 mrg Exp $ */
/* $NetBSD: atomic_dec.S,v 1.5 2008/04/09 12:49:05 nakayama Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@ -63,7 +63,7 @@ ENTRY_NOPROFILE(_atomic_dec_64)
1: add %o2, -1, %o3
casx [%o0], %o2, %o3
cmp %o2, %o3
bne,a,pn %icc, 1b
bne,a,pn %xcc, 1b
mov %o3, %o2
retl
add %o2, -1, %o0

View File

@ -1,4 +1,4 @@
/* $NetBSD: atomic_inc.S,v 1.3 2007/12/22 23:19:41 mrg Exp $ */
/* $NetBSD: atomic_inc.S,v 1.4 2008/04/09 12:49:05 nakayama Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@ -63,7 +63,7 @@ ENTRY_NOPROFILE(_atomic_inc_64)
1: add %o2, 1, %o3
casx [%o0], %o2, %o3
cmp %o2, %o3
bne,a,pn %icc, 1b
bne,a,pn %xcc, 1b
mov %o3, %o2
retl
add %o2, 1, %o0

View File

@ -1,4 +1,4 @@
/* $NetBSD: atomic_or.S,v 1.4 2008/02/12 18:35:38 ad Exp $ */
/* $NetBSD: atomic_or.S,v 1.5 2008/04/09 12:49:05 nakayama Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@ -63,7 +63,7 @@ ENTRY_NOPROFILE(_atomic_or_64)
1: or %o1, %o2, %o3
casx [%o0], %o2, %o3
cmp %o2, %o3
bne,a,pn %icc, 1b
bne,a,pn %xcc, 1b
mov %o3, %o2
retl
or %o1, %o2, %o0

View File

@ -1,4 +1,4 @@
/* $NetBSD: atomic_swap.S,v 1.3 2007/12/22 23:19:41 mrg Exp $ */
/* $NetBSD: atomic_swap.S,v 1.4 2008/04/09 12:49:05 nakayama Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@ -58,7 +58,7 @@ ENTRY_NOPROFILE(_atomic_swap_64)
1: mov %o1, %o3
casx [%o0], %o2, %o3
cmp %o2, %o3
bne,a,pn %icc, 1b
bne,a,pn %xcc, 1b
mov %o3, %o2
retl
mov %o3, %o0