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


Keyword substitution: kv
Default branch: MAIN


Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Oct 29 08:04:18 2023 UTC (13 months, 1 week ago) by skrll
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, HEAD
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Jul 31 16:10:26 2023 UTC (16 months ago) by martin
Branches: 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
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Mar 30 15:03:35 2023 UTC (20 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +3 -2 lines
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 (4 years, 7 months ago) by martin
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.13.16.1: +1 -1 lines
Sync with HEAD

Revision 1.13.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 21:41:05 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1 lines
Sync with HEAD

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Feb 28 02:35:37 2019 UTC (5 years, 9 months ago) by isaki
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, netbsd-9-4-RELEASE, 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
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Wed Nov 12 19:20:06 2014 UTC (10 years ago) by snj
Branches: 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
Diff to: previous 1.12: preferred, colored; next MAIN 1.13: preferred, colored
Changes since revision 1.12: +5 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 14 07:25:05 2014 UTC (10 years, 1 month ago) by martin
Branches: 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-3-RELEASE, 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
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +5 -2 lines
Provide C++ 2011 <atomic> support functions for hppa and arm.

Revision 1.8.12.1: download - view: text, markup, annotated - select for diffs
Tue Aug 19 23:45:12 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +20 -6 lines
Rebase to HEAD as of a few days ago.

Revision 1.8.6.1: download - view: text, markup, annotated - select for diffs
Thu May 22 11:26:28 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +20 -6 lines
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 - view: text, markup, annotated - select for diffs
Sat Feb 22 10:23:24 2014 UTC (10 years, 9 months ago) by skrll
Branches: 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
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +11 -1 lines
Add the missing __sync_* ops to libc

Revision 1.11: download - view: text, markup, annotated - select for diffs
Sat Feb 22 08:24:27 2014 UTC (10 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
Another layout change

Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Feb 22 08:21:03 2014 UTC (10 years, 9 months ago) by skrll
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +8 -5 lines
Layout changes - no functional change.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Jan 29 11:03:04 2014 UTC (10 years, 10 months ago) by skrll
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -2 lines
Provide _atomic_cas_8_up and _atomic_cas_16_up functions

Revision 1.8: download - view: text, markup, annotated - select for diffs
Mon Jan 17 07:29:17 2011 UTC (13 years, 10 months ago) by skrll
Branches: 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
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +9 -5 lines
Tweak layout - no functional change.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Jan 6 13:23:31 2009 UTC (15 years, 11 months ago) by mjf
Branches: 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
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +2 -2 lines
The .if conditional crosses a line boundary, so add a backslash.

This fixes the kernel build for hppa.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Jan 4 17:54:29 2009 UTC (15 years, 11 months ago) by pooka
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +3 -2 lines
allow inclusion of atomic ops in librump

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Sep 29 08:43:00 2008 UTC (16 years, 2 months ago) by ad
Branches: 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
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3 lines
Allow atomic ops to be built as part of libpthread.

Revision 1.3.6.1: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:54:18 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +3 -1 lines
Sync with wrstuden-revivesa-base-2.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Mon Aug 11 21:54:51 2008 UTC (16 years, 3 months ago) by skrll
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +3 -1 lines
Provide assembly _atomic_cas_up() as the compiler cannot be trusted to
generate fully restartable code sequences.

Revision 1.1.4.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 00:12:41 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.1.4.2: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.2: +8 -2 lines
sync with HEAD

Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Feb 11 14:21:12 2008 UTC (16 years, 9 months ago) by ad
Branches: 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
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +5 -1 lines
Only build atomic ops for libkern/libc.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Feb 10 18:45:40 2008 UTC (16 years, 9 months ago) by ad
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -3 lines
Enable the atomic ops in userspace.

Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:20:52 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.1: +10 -0 lines
sync with HEAD

Revision 1.1.4.1
Thu Nov 29 16:14:56 2007 UTC (17 years ago) by matt
Branches: matt-armv6
FILE REMOVED
Changes since revision 1.1: +0 -10 lines
file Makefile.inc was added on branch matt-armv6 on 2008-01-09 01:20:52 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Nov 29 16:14:56 2007 UTC (17 years ago) by ad
Branches: 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.

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>