1 2020-06-01 Uroš Bizjak <ubizjak@gmail.com>
3 * config/x86/fenv.c (struct fenv): Add __attribute__ ((gcc_struct)).
5 2020-05-29 H.J. Lu <hjl.tools@gmail.com>
8 * configure: Regenerated.
10 2020-05-15 H.J. Lu <hongjiu.lu@intel.com>
13 * configure: Regenerated.
15 2020-05-14 H.J. Lu <hongjiu.lu@intel.com>
17 * configure: Regenerated.
19 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
21 * config/x86/fenv.c (__math_force_eval): Remove.
22 (__math_force_eval_div): New define.
23 (__atomic_deraiseexcept): Use __math_force_eval_div to use
24 generic division to generate INVALID, DIVZERO and INEXACT
27 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
29 * config/x86/fenv.c (__math_force_eval): New define.
30 (__atomic_feraiseexcept): Use __math_force_eval to evaluate
31 generic division to generate INVALID and DIVZERO exceptions.
33 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
35 * config/x86/fenv.c (__atomic_feraiseexcept) [__SSE_MATH__]:
36 Remove unneeded assignments to volatile memory.
38 2020-04-06 Maciej W. Rozycki <macro@wdc.com>
40 * configure.ac: Add testsuite/libatomic-site-extra.exp to output
42 * configure: Regenerate.
43 * libatomic/testsuite/libatomic-site-extra.exp.in: New file.
44 * testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New
46 * testsuite/Makefile.in: Regenerate.
48 2020-02-22 Jakub Jelinek <jakub@redhat.com>
51 * Makefile.am (M_DEPS): Guard the empty definition with
52 @AMDEP_FALSE@ rather than @AMDEP_TRUE@.
53 * Makefile.in: Regenerated.
55 2020-02-22 Richard Purdie <rpurdie@rpsys.net>
58 * Makefile.am (M_DEPS): Honor -disable-dependency-tracking.
59 * Makefile.in: Regenerated.
61 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
63 * configure.ac: Handle `--with-toolexeclibdir='.
64 * Makefile.in: Regenerate.
65 * aclocal.m4: Regenerate.
66 * configure: Regenerate.
67 * testsuite/Makefile.in: Regenerate.
69 2020-01-01 Jakub Jelinek <jakub@redhat.com>
71 Update copyright years.
73 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
75 * configure: Regenerate.
77 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
79 * configure.tgt: Handle arm*-*-uclinux*.
80 * configure: Regenerate.
82 2019-09-03 Chung-Lin Tang <cltang@codesourcery.com>
85 * acinclude.m4 (LIBAT_CHECK_LINKER_FEATURES): Fix GNU ld --version
86 scanning to conform to the GNU Coding Standards.
87 * configure: Regenerate.
89 2019-06-14 Matt Thomas <matt@3am-software.com>
90 Matthew Green <mrg@eterna.com.au>
91 Nick Hudson <skrll@netbsd.org>
92 Maya Rashish <coypu@sdf.org>
94 * configure.tgt (arm*): Handle NetBSD in the same way as FreeBSD.
96 2019-01-01 Jakub Jelinek <jakub@redhat.com>
98 Update copyright years.
100 2018-10-31 Joseph Myers <joseph@codesourcery.com>
103 * Makefile.am: Include multilib.am.
104 * acinclude.m4: Use AC_LANG_SOURCE.
105 * configure.ac: Remove AC_PREREQ.
106 * testsuite/Makefile.am (RUNTEST): Remove quotes.
107 * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
110 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
112 * config/arm/arm-config.h (__ARM_ARCH__): Remove definitions, use
113 __ARM_ARCH instead. Use __ARM_FEATURE_LDREX to define HAVE_STREX
116 2018-05-23 Florian Weimer <fweimer@redhat.com>
119 x86: Do not assume ELF constructors run before IFUNC resolvers.
120 * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx):
122 (__libat_feat1, __libat_feat1_init): Declare.
123 (FEAT1_REGISTER): Define.
124 (load_feat1): New function.
125 (IFUNC_COND_1): Adjust.
126 * config/x86/init.c (libat_feat1_ecx, libat_feat1_edx)
127 (init_cpuid): Remove definitions.
128 (__libat_feat1): New variable.
129 (__libat_feat1_init): New function.
131 2018-05-02 Tom de Vries <tom@codesourcery.com>
134 * testsuite/lib/libatomic.exp: Include scanltranstree.exp.
136 2018-05-02 Tom de Vries <tom@codesourcery.com>
139 * testsuite/lib/libatomic.exp: Include scanwpaipa.exp.
141 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
143 * configure: Regenerated.
145 2018-04-19 Jakub Jelinek <jakub@redhat.com>
147 * configure: Regenerated.
149 2018-04-18 David Malcolm <dmalcolm@redhat.com>
152 * configure: Regenerate.
154 2018-03-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
156 * config/s390/exch_n.c: New file.
157 * configure.tgt: Add the config directory for s390.
159 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
162 * configure: Regenerate.
164 2018-01-03 Jakub Jelinek <jakub@redhat.com>
166 Update copyright years.
168 2017-12-14 Steve Ellcey <sellcey@cavium.com>
170 * Makefile.am (IFUNC_OPTIONS): Change aarch64
171 option from -march=armv8.1-a to -march=armv8-a+lse.
172 * configure.ac (*aarch64*): Check to see if
173 compiler understands -march=armv8-a+lse option.
174 * configure.tgt (*aarch64*): Only set try_ifunc
175 if compiler understands -march=armv8-a+lse option.
176 * Makefile.in: Regenerate.
177 * testsuite/Makefile.in: Regenerate.
178 * configure: Regenerate.
179 * aclocal.m4: Regenerate.
181 2017-12-04 Steve Ellcey <sellcey@cavium.com>
183 * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
185 * config/linux/aarch64/host-config.h: New file.
186 * configure.ac (IFUNC_RESOLVER_ARGS): Define.
187 (ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
188 * configure.tgt (aarch64): Set ARCH and try_ifunc.
189 (aarch64*-*-linux*) Update config_path.
190 (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
191 * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
192 * Makefile.in: Regenerate.
193 * auto-config.h.in: Regenerate.
194 * configure: Regenerate.
196 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
198 * configure.ac: Set CET_FLAGS, update XCFLAGS.
199 * acinclude.m4: Add cet.m4 and enable.m4.
200 * configure: Regenerate.
201 * Makefile.in: Likewise.
202 * testsuite/Makefile.in: Likewise.
204 2017-10-20 Richard Earnshaw <rearnsha@arm.com>
206 * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
207 -march=armv7-a+fp on Linux/Arm.
208 * Makefile.in: Regenerated.
210 2017-10-02 Martin Sebor <msebor@redhat.com>
213 * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
214 a function pointer rather than void* to avoid GCC 8 warnings.
215 * configure: Regenerate.
216 * libatomic_i.h: Declare ifunc resolvers to return function
217 pointers rather than void*.
219 2017-05-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
221 * testsuite/lib/libatomic.exp: Load scanlang.exp.
223 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
225 * configure.tgt: Add RISC-V tuple.
227 2017-02-01 Richard Henderson <rth@redhat.com>
228 Torvald Riegel <triegel@redhat.com>
230 * acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
231 * auto-config.h.in: Regenerate.
232 * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
233 (atomic_compare_exchange_n): New.
234 * glfree.c (EXACT, LARGER): Change condition and add comments.
236 2017-01-30 Szabolcs Nagy <szabolcs.nagy@arm.com>
239 * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
241 2017-01-21 Jakub Jelinek <jakub@redhat.com>
244 * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
245 of cat to get version from BASE-VER file.
246 * testsuite/Makefile.in: Regenerated.
248 2017-01-17 Jakub Jelinek <jakub@redhat.com>
251 * configure.ac: Add GCC_BASE_VER.
252 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
253 get version from BASE-VER file.
254 * testsuite/Makefile.in: Regenerated.
255 * configure: Regenerated.
256 * Makefile.in: Regenerated.
258 2017-01-01 Jakub Jelinek <jakub@redhat.com>
260 Update copyright years.
262 2016-11-15 Matthias Klose <doko@ubuntu.com>
264 * configure: Regenerate.
266 2016-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
268 * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
269 (*-*-rtems*): New supported target.
270 * config/rtems/host-config.h: New file.
271 * config/rtems/lock.c: Likewise.
273 2016-04-25 H.J. Lu <hongjiu.lu@intel.com>
276 * configure.tgt (XCFLAGS): Revert the last change.
278 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
281 * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
282 32-bit x86 target library on x86-64.
284 2016-01-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
287 * Makefile.am (all-multi): Add dependency.
288 * Makefile.in: Regenerate.
290 2016-01-04 Jakub Jelinek <jakub@redhat.com>
292 Update copyright years.
294 2015-11-18 Joseph Myers <joseph@codesourcery.com>
297 * fence.c, flag.c: New files.
298 * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
299 * Makefile.in: Regenerate.
300 * configure.ac (libtool_VERSION): Change to 3:0:2.
301 * configure: Regenerate.
302 * libatomic.map (LIBATOMIC_1.2): New symbol version.
304 2015-10-09 David Malcolm <dmalcolm@redhat.com>
306 * testsuite/lib/libatomic.exp: Load multiline.exp before
307 prune.exp, using load_gcc_lib.
309 2015-07-14 John Marino <gnugcc@marino.st>
311 * configure.tgt: Add *-*-dragonfly to supported targets.
313 2015-01-21 Andrew Waterman <waterman@cs.berkeley.edu>
315 * fop_n.c (libat_fetch_op): Align address to word boundary.
316 (libat_op_fetch): Likewise.
318 2015-01-16 Ilya Verbin <ilya.verbin@intel.com>
321 * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
322 * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
324 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
326 * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
328 2015-01-05 Jakub Jelinek <jakub@redhat.com>
330 Update copyright years.
332 2014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
334 * testsuite/lib/libatomic.exp: Load target-utils.exp
336 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
339 * configure: Regenerated.
341 2014-11-13 Andrew Waterman <waterman@cs.berkeley.edu>
343 * cas_n.c (libat_compare_exchange): Add missing cast.
345 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
348 * configure: Regenerate.
350 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
352 * configure.tgt: Add cygwin to supported targets.
354 2014-07-18 Uros Bizjak <ubizjak@gmail.com>
356 * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
358 2014-06-17 Kai Tietz <ktietz@redhat.com>
360 * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
361 * configure.ac (ACX_LT_HOST_FLAGS): New.
362 (target_thread_file): New.
363 * configure.tgt (mingw): Add mingw support.
364 * config/mingw/host-config.h: New file.
365 * config/mingw/lock.c: Likewise.
366 * Makefile.in: Regenerated.
367 * configure: Likewise.
368 * aclocal.m4: Likewise.
369 * testsuite/Makefile.in: Likewise.
371 2014-02-20 Richard Henderson <rth@redhat.com>
374 * cas_n.c (libat_compare_exchange): Conditionalize on failure
375 the store back to EPTR.
377 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
379 Update copyright years
381 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
383 * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
384 instructions when __SSE_MATH__ is defined.
386 2013-11-18 Joseph Myers <joseph@codesourcery.com>
388 * testsuite/libatomic.c/atomic-compare-exchange-1.c,
389 testsuite/libatomic.c/atomic-compare-exchange-2.c,
390 testsuite/libatomic.c/atomic-compare-exchange-3.c,
391 testsuite/libatomic.c/atomic-compare-exchange-4.c,
392 testsuite/libatomic.c/atomic-compare-exchange-5.c,
393 testsuite/libatomic.c/atomic-exchange-1.c,
394 testsuite/libatomic.c/atomic-exchange-2.c,
395 testsuite/libatomic.c/atomic-exchange-3.c,
396 testsuite/libatomic.c/atomic-exchange-4.c,
397 testsuite/libatomic.c/atomic-exchange-5.c,
398 testsuite/libatomic.c/atomic-generic.c,
399 testsuite/libatomic.c/atomic-load-1.c,
400 testsuite/libatomic.c/atomic-load-2.c,
401 testsuite/libatomic.c/atomic-load-3.c,
402 testsuite/libatomic.c/atomic-load-4.c,
403 testsuite/libatomic.c/atomic-load-5.c,
404 testsuite/libatomic.c/atomic-op-1.c,
405 testsuite/libatomic.c/atomic-op-2.c,
406 testsuite/libatomic.c/atomic-op-3.c,
407 testsuite/libatomic.c/atomic-op-4.c,
408 testsuite/libatomic.c/atomic-op-5.c,
409 testsuite/libatomic.c/atomic-store-1.c,
410 testsuite/libatomic.c/atomic-store-2.c,
411 testsuite/libatomic.c/atomic-store-3.c,
412 testsuite/libatomic.c/atomic-store-4.c,
413 testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
414 int. Do not require built-in sync support or add target-specific
416 * testsuite/libatomic.c/atomic-exchange-1.c,
417 testsuite/libatomic.c/atomic-exchange-2.c,
418 testsuite/libatomic.c/atomic-exchange-3.c,
419 testsuite/libatomic.c/atomic-exchange-4.c,
420 testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
421 count from expression using value of count.
423 2013-11-10 Uros Bizjak <ubizjak@gmail.com>
425 * config/x86/fenv.c: New file.
427 2013-11-07 Joseph Myers <joseph@codesourcery.com>
430 * libatomic.map (LIBATOMIC_1.1): New symbol version. Include
431 __atomic_feraiseexcept.
432 * configure.ac (libtool_VERSION): Change to 2:0:1.
433 (fenv.h): Test for header.
434 * Makefile.am (libatomic_la_SOURCES): Add fenv.c.
435 * Makefile.in, auto-config.h.in, configure: Regenerate.
437 2013-10-17 Michael Hudson-Doyle <michael.hudson@linaro.org>
439 * libatomic/configure.tgt (aarch64*): Remove code preventing
442 2013-09-20 Alan Modra <amodra@gmail.com>
444 * configure: Regenerate.
446 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com>
448 Update copyright years.
450 2012-12-18 Ian Lance Taylor <iant@google.com>
453 * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
454 (libatomic_convenience_la_SOURCES): Likewise.
455 (libatomic_convenience_la_LIBADD): Likewise.
456 * Makefile.in: Rebuild.
457 * testsuite/Makefile.in: Rebuild.
459 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
461 * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
463 2012-11-21 Matthias Klose <doko@ubuntu.com>
465 * configure.tgt (i[3456]86): Handle -mx32 like -m64.
467 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
469 * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
470 * configure: Regenerate.
472 * configure: Regenerate.
474 2012-10-23 Sofiane Naci <sofiane.naci@arm.com>
476 Mark libatomic unsupported in AArch64.
478 * configure.tgt: Mark libatomic unsupported.
480 2012-09-20 Jakub Jelinek <jakub@redhat.com>
483 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
484 * configure: Regenerate.
485 * Makefile.in: Regenerate.
487 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
489 * configure: Regenerated.
491 2012-05-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
494 * tas_n.c (libat_test_and_set): Correct return. Remove unused variable.
496 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
498 * configure: Regenerated.
500 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
503 * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
504 instead of overriding.
505 * configure: Regenerate.
507 2012-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
509 * Makefile.am (libatomic.map-sun): Handle objects in
511 * aclocal.m4: Regenerate.
512 * Makefile.in: Regenerate.
514 2012-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
516 * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
517 * configure: Regenerate.
519 2012-05-03 Richard Henderson <rth@redhat.com>
521 * configure.ac (AM_MAINTAINER_MODE): New.
522 * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
523 failure in gcc_no_link path.
524 * configure, aclocal.m4, Makefile.in: Rebuild.
526 2012-05-01 Richard Henderson <rth@redhat.com>
530 Copyright (C) 2012-2020 Free Software Foundation, Inc.
532 Copying and distribution of this file, with or without modification,
533 are permitted in any medium without royalty provided the copyright
534 notice and this notice are preserved.