The NetBSD Project

CVS log for src/common/lib/libc/arch/hppa/atomic/Makefile.inc

[BACK] Up to [cvs.NetBSD.org] / src / common / lib / libc / arch / hppa / atomic

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.16 / (download) - annotate - [select for diffs], Sun Oct 29 08:04:18 2023 UTC (5 months, 2 weeks ago) by skrll
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored)

Define __HAVE_ATOMIC_CAS_64_UP and provide __sync_val_compare_and_swap_8

The new santizer code in gcc12 needs this.

Revision 1.14.14.1 / (download) - annotate - [select for diffs], Mon Jul 31 16:10:26 2023 UTC (8 months, 1 week ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Pull up following revision(s) (requested by riastradh in ticket #275):

	common/lib/libc/arch/sparc/atomic/Makefile.inc: revision 1.24
	common/lib/libc/arch/m68k/atomic/Makefile.inc: revision 1.16
	common/lib/libc/arch/mips/atomic/Makefile.inc: revision 1.16
	common/lib/libc/arch/hppa/atomic/Makefile.inc: revision 1.15
	common/lib/libc/arch/vax/atomic/Makefile.inc: revision 1.9
	common/lib/libc/atomic/atomic_is_lock_free.c: revision 1.1
	common/lib/libc/arch/sh3/atomic/Makefile.inc: revision 1.9

libc: Define __atomic_is_lock_free.

Limited to architectures where it is actually needed by gcc for any
calls to stdatomic.h atomic_is_lock_free for now.

We should also add it to other architectures too, along with lockful
atomic r/m/w operations for sizes that can't be handled natively, but
that's a lot more work.  It is also necessary for -fno-inline-atomics
but we're missing a lot of other symbols for that too, to be fixed.

For now, this should enable the OpenSSL build to complete on these
architectures again after I reverted a local change.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Mar 30 15:03:35 2023 UTC (12 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored)

libc: Define __atomic_is_lock_free.

Limited to architectures where it is actually needed by gcc for any
calls to stdatomic.h atomic_is_lock_free for now.

We should also add it to other architectures too, along with lockful
atomic r/m/w operations for sizes that can't be handled natively, but
that's a lot more work.  It is also necessary for -fno-inline-atomics
but we're missing a lot of other symbols for that too, to be fixed.
For now, this should enable the OpenSSL build to complete on these
architectures again after I reverted a local change.

XXX pullup-10

Revision 1.13.16.2, Tue Apr 21 18:41:16 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.13.16.1: +1 -1 lines
FILE REMOVED

Sync with HEAD

Revision 1.13.16.1 / (download) - annotate - [select for diffs], Mon Jun 10 21:41:05 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

Sync with HEAD

Revision 1.14 / (download) - annotate - [select for diffs], Thu Feb 28 02:35:37 2019 UTC (5 years, 1 month ago) by isaki
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-10-base, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base, ad-namecache
Branch point for: netbsd-10
Changes since 1.13: +2 -1 lines
Diff to previous 1.13 (colored)

Add missing atomic_and_{8,16}_nv_cas.c for __sync_and_and_fetch_{1,2}.
XXX why is not only atomic_and_* symmetric unlike the others?
    (in common/lib/libc/atomic/)

Revision 1.12.4.1 / (download) - annotate - [select for diffs], Wed Nov 12 19:20:06 2014 UTC (9 years, 5 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.12: +5 -2 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Pull up following revision(s) (requested by martin in ticket #218):
	common/lib/libc/arch/arm/atomic/Makefile.inc: revision 1.24-1.26
	common/lib/libc/arch/hppa/atomic/Makefile.inc: revision 1.13
	common/lib/libc/arch/mips/atomic/Makefile.inc: revision 1.13
	common/lib/libc/arch/sh3/atomic/Makefile.inc: revision 1.7
	common/lib/libc/arch/sparc/atomic/Makefile.inc: revision 1.18
	common/lib/libc/arch/vax/atomic/Makefile.inc: revision 1.7
	common/lib/libc/atomic/atomic_and_16_nv_cas.c: revision 1.2
	common/lib/libc/atomic/atomic_and_8_nv_cas.c: revision 1.2
	common/lib/libc/atomic/atomic_c11_compare_exchange_cas_16.c: revision 1.1-1.2
	common/lib/libc/atomic/atomic_c11_compare_exchange_cas_32.c: revision 1.1-1.2
	common/lib/libc/atomic/atomic_c11_compare_exchange_cas_8.c: revision 1.1-1.2
	common/lib/libc/atomic/atomic_cas_by_cas32.c: revision 1.4
	common/lib/libc/atomic/atomic_op_namespace.h: revision 1.7
Add __sync_val_compare_and_swap_{1,2} aliases for _atomic_cas_{8,16}
--
Provide __atomic_compare_exchange_N (as needed for the C11 2011 <atomic>
ops) via the corresponding CAS.
--
Hook __atomic_compare_exchange_N into vax libc.
--
Provide __sync_and_and_fetch_2 and __sync_and_and_fetch_1 for pre-ARMv6,
they are needed for the C++ 2011 <atomic> stuff.
--
Add C++ 2011 <atomic> support functions.
--
Move the and_{16,8}_nv sources into the right (libc only) block.
--
Provide <atomic> C++ 2011 support functions for mips and sh3.
--
Provide C++ 2011 <atomic> support functions for hppa and arm.
--
Provide prototypes to fix build with clang.

Revision 1.13 / (download) - annotate - [select for diffs], Tue Oct 14 07:25:05 2014 UTC (9 years, 6 months ago) by martin
Branch: MAIN
CVS Tags: tls-maxphys-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi
Changes since 1.12: +5 -2 lines
Diff to previous 1.12 (colored)

Provide C++ 2011 <atomic> support functions for hppa and arm.

Revision 1.8.12.1 / (download) - annotate - [select for diffs], Tue Aug 19 23:45:12 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.8: +20 -6 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.8.6.1 / (download) - annotate - [select for diffs], Thu May 22 11:26:28 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.8: +20 -6 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.12 / (download) - annotate - [select for diffs], Sat Feb 22 10:23:24 2014 UTC (10 years, 1 month ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.11: +11 -1 lines
Diff to previous 1.11 (colored)

Add the missing __sync_* ops to libc

Revision 1.11 / (download) - annotate - [select for diffs], Sat Feb 22 08:24:27 2014 UTC (10 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Another layout change

Revision 1.10 / (download) - annotate - [select for diffs], Sat Feb 22 08:21:03 2014 UTC (10 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.9: +8 -5 lines
Diff to previous 1.9 (colored)

Layout changes - no functional change.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jan 29 11:03:04 2014 UTC (10 years, 2 months ago) by skrll
Branch: MAIN
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

Provide _atomic_cas_8_up and _atomic_cas_16_up functions

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 17 07:29:17 2011 UTC (13 years, 2 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.7: +9 -5 lines
Diff to previous 1.7 (colored)

Tweak layout - no functional change.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jan 6 13:23:31 2009 UTC (15 years, 3 months ago) by mjf
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, rmind-uvmplock-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

The .if conditional crosses a line boundary, so add a backslash.

This fixes the kernel build for hppa.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jan 4 17:54:29 2009 UTC (15 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.5: +3 -2 lines
Diff to previous 1.5 (colored)

allow inclusion of atomic ops in librump

Revision 1.5 / (download) - annotate - [select for diffs], Mon Sep 29 08:43:00 2008 UTC (15 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Allow atomic ops to be built as part of libpthread.

Revision 1.3.6.1 / (download) - annotate - [select for diffs], Thu Sep 18 04:54:18 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 11 21:54:51 2008 UTC (15 years, 8 months ago) by skrll
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored)

Provide assembly _atomic_cas_up() as the compiler cannot be trusted to
generate fully restartable code sequences.

Revision 1.1.4.3 / (download) - annotate - [select for diffs], Sun Mar 23 00:12:41 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.1.4.2: +8 -2 lines
Diff to previous 1.1.4.2 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync with HEAD

Revision 1.3 / (download) - annotate - [select for diffs], Mon Feb 11 14:21:12 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-1, wrstuden-revivesa-base, matt-armv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base
Branch point for: wrstuden-revivesa
Changes since 1.2: +5 -1 lines
Diff to previous 1.2 (colored)

Only build atomic ops for libkern/libc.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Feb 10 18:45:40 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.1: +5 -3 lines
Diff to previous 1.1 (colored)

Enable the atomic ops in userspace.

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:20:52 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.1.4.1: +10 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored)

sync with HEAD

Revision 1.1.4.1, Thu Nov 29 16:14:56 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.1: +0 -10 lines
FILE REMOVED

file Makefile.inc was added on branch matt-armv6 on 2008-01-09 01:20:52 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Thu Nov 29 16:14:56 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, matt-armv6-base, cube-autoconf-base, cube-autoconf
Branch point for: matt-armv6

Atomic ops for hppa.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>