Remove excemption for i386 (PR lib/48601) - missing aliases will be
added to the C code.
This commit is contained in:
parent
d44a8024fa
commit
1f8b8a77e6
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: all_sync_ops_linkable.c,v 1.3 2014/02/18 10:27:46 martin Exp $ */
|
||||
/* $NetBSD: all_sync_ops_linkable.c,v 1.4 2014/02/21 10:26:25 martin Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2014 The NetBSD Foundation, Inc.
|
||||
|
@ -124,17 +124,8 @@ main(int argc, char **argv)
|
|||
__sync_lock_test_and_set_2(&u16, 5);
|
||||
__sync_lock_test_and_set_4(&u32, 5);
|
||||
#ifdef __HAVE_ATOMIC64_OPS
|
||||
|
||||
/*
|
||||
* See PR lib/48601:
|
||||
* some architectures do not implement this, allow them to build
|
||||
* anyway.
|
||||
*/
|
||||
#if !defined(__i386__)
|
||||
__sync_lock_test_and_set_8(&u64, 5);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
#ifndef __clang__
|
||||
__sync_nand_and_fetch(&u8, 5);
|
||||
__sync_nand_and_fetch_1(&u8, 5);
|
||||
|
|
Loading…
Reference in New Issue