Date: Sat, 15 Jun 2013 09:04:10 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r251784 - head/lib/libcompiler_rt Message-ID: <201306150904.r5F94AHa002122@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ed Date: Sat Jun 15 09:04:10 2013 New Revision: 251784 URL: http://svnweb.freebsd.org/changeset/base/251784 Log: Let ARM use the custom tailored atomic intrinsics. Deleted: head/lib/libcompiler_rt/__sync_fetch_and_add_4.c head/lib/libcompiler_rt/__sync_fetch_and_and_4.c head/lib/libcompiler_rt/__sync_fetch_and_op_n.h head/lib/libcompiler_rt/__sync_fetch_and_or_4.c head/lib/libcompiler_rt/__sync_fetch_and_sub_4.c head/lib/libcompiler_rt/__sync_fetch_and_xor_4.c head/lib/libcompiler_rt/__sync_lock_test_and_set_4.c head/lib/libcompiler_rt/__sync_synchronize.c head/lib/libcompiler_rt/__sync_val_compare_and_swap_4.c head/lib/libcompiler_rt/__sync_val_compare_and_swap_n.h Modified: head/lib/libcompiler_rt/Makefile Modified: head/lib/libcompiler_rt/Makefile ============================================================================== --- head/lib/libcompiler_rt/Makefile Sat Jun 15 08:23:53 2013 (r251783) +++ head/lib/libcompiler_rt/Makefile Sat Jun 15 09:04:10 2013 (r251784) @@ -158,14 +158,9 @@ SRCF+= divsi3 \ # FreeBSD-specific atomic intrinsics. .if ${MACHINE_CPUARCH} == "arm" -SRCF+= __sync_fetch_and_add_4 \ - __sync_fetch_and_and_4 \ - __sync_fetch_and_or_4 \ - __sync_fetch_and_sub_4 \ - __sync_fetch_and_xor_4 \ - __sync_lock_test_and_set_4 \ - __sync_synchronize \ - __sync_val_compare_and_swap_4 +.PATH: ${.CURDIR}/../../sys/arm/arm + +SRCF+= stdatomic .elif ${MACHINE_CPUARCH} == "mips" .PATH: ${.CURDIR}/../../sys/mips/mips
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306150904.r5F94AHa002122>