1 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
3 * config/x86/fenv.c (__math_force_eval): Remove.
4 (__math_force_eval_div): New define.
5 (__atomic_deraiseexcept): Use __math_force_eval_div to use
6 generic division to generate INVALID, DIVZERO and INEXACT
9 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
11 * config/x86/fenv.c (__math_force_eval): New define.
12 (__atomic_feraiseexcept): Use __math_force_eval to evaluate
13 generic division to generate INVALID and DIVZERO exceptions.
15 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
17 * config/x86/fenv.c (__atomic_feraiseexcept) [__SSE_MATH__]:
18 Remove unneeded assignments to volatile memory.
20 2020-04-06 Maciej W. Rozycki <macro@wdc.com>
22 * configure.ac: Add testsuite/libatomic-site-extra.exp to output
24 * configure: Regenerate.
25 * libatomic/testsuite/libatomic-site-extra.exp.in: New file.
26 * testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New
28 * testsuite/Makefile.in: Regenerate.
30 2020-02-22 Jakub Jelinek <jakub@redhat.com>
33 * Makefile.am (M_DEPS): Guard the empty definition with
34 @AMDEP_FALSE@ rather than @AMDEP_TRUE@.
35 * Makefile.in: Regenerated.
37 2020-02-22 Richard Purdie <rpurdie@rpsys.net>
40 * Makefile.am (M_DEPS): Honor -disable-dependency-tracking.
41 * Makefile.in: Regenerated.
43 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
45 * configure.ac: Handle `--with-toolexeclibdir='.
46 * Makefile.in: Regenerate.
47 * aclocal.m4: Regenerate.
48 * configure: Regenerate.
49 * testsuite/Makefile.in: Regenerate.
51 2020-01-01 Jakub Jelinek <jakub@redhat.com>
53 Update copyright years.
55 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
57 * configure: Regenerate.
59 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
61 * configure.tgt: Handle arm*-*-uclinux*.
62 * configure: Regenerate.
64 2019-09-03 Chung-Lin Tang <cltang@codesourcery.com>
67 * acinclude.m4 (LIBAT_CHECK_LINKER_FEATURES): Fix GNU ld --version
68 scanning to conform to the GNU Coding Standards.
69 * configure: Regenerate.
71 2019-06-14 Matt Thomas <matt@3am-software.com>
72 Matthew Green <mrg@eterna.com.au>
73 Nick Hudson <skrll@netbsd.org>
74 Maya Rashish <coypu@sdf.org>
76 * configure.tgt (arm*): Handle NetBSD in the same way as FreeBSD.
78 2019-01-01 Jakub Jelinek <jakub@redhat.com>
80 Update copyright years.
82 2018-10-31 Joseph Myers <joseph@codesourcery.com>
85 * Makefile.am: Include multilib.am.
86 * acinclude.m4: Use AC_LANG_SOURCE.
87 * configure.ac: Remove AC_PREREQ.
88 * testsuite/Makefile.am (RUNTEST): Remove quotes.
89 * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in:
92 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
94 * config/arm/arm-config.h (__ARM_ARCH__): Remove definitions, use
95 __ARM_ARCH instead. Use __ARM_FEATURE_LDREX to define HAVE_STREX
98 2018-05-23 Florian Weimer <fweimer@redhat.com>
101 x86: Do not assume ELF constructors run before IFUNC resolvers.
102 * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx):
104 (__libat_feat1, __libat_feat1_init): Declare.
105 (FEAT1_REGISTER): Define.
106 (load_feat1): New function.
107 (IFUNC_COND_1): Adjust.
108 * config/x86/init.c (libat_feat1_ecx, libat_feat1_edx)
109 (init_cpuid): Remove definitions.
110 (__libat_feat1): New variable.
111 (__libat_feat1_init): New function.
113 2018-05-02 Tom de Vries <tom@codesourcery.com>
116 * testsuite/lib/libatomic.exp: Include scanltranstree.exp.
118 2018-05-02 Tom de Vries <tom@codesourcery.com>
121 * testsuite/lib/libatomic.exp: Include scanwpaipa.exp.
123 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
125 * configure: Regenerated.
127 2018-04-19 Jakub Jelinek <jakub@redhat.com>
129 * configure: Regenerated.
131 2018-04-18 David Malcolm <dmalcolm@redhat.com>
134 * configure: Regenerate.
136 2018-03-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
138 * config/s390/exch_n.c: New file.
139 * configure.tgt: Add the config directory for s390.
141 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
144 * configure: Regenerate.
146 2018-01-03 Jakub Jelinek <jakub@redhat.com>
148 Update copyright years.
150 2017-12-14 Steve Ellcey <sellcey@cavium.com>
152 * Makefile.am (IFUNC_OPTIONS): Change aarch64
153 option from -march=armv8.1-a to -march=armv8-a+lse.
154 * configure.ac (*aarch64*): Check to see if
155 compiler understands -march=armv8-a+lse option.
156 * configure.tgt (*aarch64*): Only set try_ifunc
157 if compiler understands -march=armv8-a+lse option.
158 * Makefile.in: Regenerate.
159 * testsuite/Makefile.in: Regenerate.
160 * configure: Regenerate.
161 * aclocal.m4: Regenerate.
163 2017-12-04 Steve Ellcey <sellcey@cavium.com>
165 * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
167 * config/linux/aarch64/host-config.h: New file.
168 * configure.ac (IFUNC_RESOLVER_ARGS): Define.
169 (ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
170 * configure.tgt (aarch64): Set ARCH and try_ifunc.
171 (aarch64*-*-linux*) Update config_path.
172 (aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
173 * libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
174 * Makefile.in: Regenerate.
175 * auto-config.h.in: Regenerate.
176 * configure: Regenerate.
178 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
180 * configure.ac: Set CET_FLAGS, update XCFLAGS.
181 * acinclude.m4: Add cet.m4 and enable.m4.
182 * configure: Regenerate.
183 * Makefile.in: Likewise.
184 * testsuite/Makefile.in: Likewise.
186 2017-10-20 Richard Earnshaw <rearnsha@arm.com>
188 * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
189 -march=armv7-a+fp on Linux/Arm.
190 * Makefile.in: Regenerated.
192 2017-10-02 Martin Sebor <msebor@redhat.com>
195 * acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
196 a function pointer rather than void* to avoid GCC 8 warnings.
197 * configure: Regenerate.
198 * libatomic_i.h: Declare ifunc resolvers to return function
199 pointers rather than void*.
201 2017-05-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
203 * testsuite/lib/libatomic.exp: Load scanlang.exp.
205 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
207 * configure.tgt: Add RISC-V tuple.
209 2017-02-01 Richard Henderson <rth@redhat.com>
210 Torvald Riegel <triegel@redhat.com>
212 * acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
213 * auto-config.h.in: Regenerate.
214 * config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
215 (atomic_compare_exchange_n): New.
216 * glfree.c (EXACT, LARGER): Change condition and add comments.
218 2017-01-30 Szabolcs Nagy <szabolcs.nagy@arm.com>
221 * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
223 2017-01-21 Jakub Jelinek <jakub@redhat.com>
226 * testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
227 of cat to get version from BASE-VER file.
228 * testsuite/Makefile.in: Regenerated.
230 2017-01-17 Jakub Jelinek <jakub@redhat.com>
233 * configure.ac: Add GCC_BASE_VER.
234 * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
235 get version from BASE-VER file.
236 * testsuite/Makefile.in: Regenerated.
237 * configure: Regenerated.
238 * Makefile.in: Regenerated.
240 2017-01-01 Jakub Jelinek <jakub@redhat.com>
242 Update copyright years.
244 2016-11-15 Matthias Klose <doko@ubuntu.com>
246 * configure: Regenerate.
248 2016-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
250 * configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
251 (*-*-rtems*): New supported target.
252 * config/rtems/host-config.h: New file.
253 * config/rtems/lock.c: Likewise.
255 2016-04-25 H.J. Lu <hongjiu.lu@intel.com>
258 * configure.tgt (XCFLAGS): Revert the last change.
260 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
263 * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
264 32-bit x86 target library on x86-64.
266 2016-01-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
269 * Makefile.am (all-multi): Add dependency.
270 * Makefile.in: Regenerate.
272 2016-01-04 Jakub Jelinek <jakub@redhat.com>
274 Update copyright years.
276 2015-11-18 Joseph Myers <joseph@codesourcery.com>
279 * fence.c, flag.c: New files.
280 * Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
281 * Makefile.in: Regenerate.
282 * configure.ac (libtool_VERSION): Change to 3:0:2.
283 * configure: Regenerate.
284 * libatomic.map (LIBATOMIC_1.2): New symbol version.
286 2015-10-09 David Malcolm <dmalcolm@redhat.com>
288 * testsuite/lib/libatomic.exp: Load multiline.exp before
289 prune.exp, using load_gcc_lib.
291 2015-07-14 John Marino <gnugcc@marino.st>
293 * configure.tgt: Add *-*-dragonfly to supported targets.
295 2015-01-21 Andrew Waterman <waterman@cs.berkeley.edu>
297 * fop_n.c (libat_fetch_op): Align address to word boundary.
298 (libat_op_fetch): Likewise.
300 2015-01-16 Ilya Verbin <ilya.verbin@intel.com>
303 * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
304 * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
306 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
308 * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
310 2015-01-05 Jakub Jelinek <jakub@redhat.com>
312 Update copyright years.
314 2014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
316 * testsuite/lib/libatomic.exp: Load target-utils.exp
318 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
321 * configure: Regenerated.
323 2014-11-13 Andrew Waterman <waterman@cs.berkeley.edu>
325 * cas_n.c (libat_compare_exchange): Add missing cast.
327 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
330 * configure: Regenerate.
332 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
334 * configure.tgt: Add cygwin to supported targets.
336 2014-07-18 Uros Bizjak <ubizjak@gmail.com>
338 * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
340 2014-06-17 Kai Tietz <ktietz@redhat.com>
342 * Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
343 * configure.ac (ACX_LT_HOST_FLAGS): New.
344 (target_thread_file): New.
345 * configure.tgt (mingw): Add mingw support.
346 * config/mingw/host-config.h: New file.
347 * config/mingw/lock.c: Likewise.
348 * Makefile.in: Regenerated.
349 * configure: Likewise.
350 * aclocal.m4: Likewise.
351 * testsuite/Makefile.in: Likewise.
353 2014-02-20 Richard Henderson <rth@redhat.com>
356 * cas_n.c (libat_compare_exchange): Conditionalize on failure
357 the store back to EPTR.
359 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
361 Update copyright years
363 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
365 * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
366 instructions when __SSE_MATH__ is defined.
368 2013-11-18 Joseph Myers <joseph@codesourcery.com>
370 * testsuite/libatomic.c/atomic-compare-exchange-1.c,
371 testsuite/libatomic.c/atomic-compare-exchange-2.c,
372 testsuite/libatomic.c/atomic-compare-exchange-3.c,
373 testsuite/libatomic.c/atomic-compare-exchange-4.c,
374 testsuite/libatomic.c/atomic-compare-exchange-5.c,
375 testsuite/libatomic.c/atomic-exchange-1.c,
376 testsuite/libatomic.c/atomic-exchange-2.c,
377 testsuite/libatomic.c/atomic-exchange-3.c,
378 testsuite/libatomic.c/atomic-exchange-4.c,
379 testsuite/libatomic.c/atomic-exchange-5.c,
380 testsuite/libatomic.c/atomic-generic.c,
381 testsuite/libatomic.c/atomic-load-1.c,
382 testsuite/libatomic.c/atomic-load-2.c,
383 testsuite/libatomic.c/atomic-load-3.c,
384 testsuite/libatomic.c/atomic-load-4.c,
385 testsuite/libatomic.c/atomic-load-5.c,
386 testsuite/libatomic.c/atomic-op-1.c,
387 testsuite/libatomic.c/atomic-op-2.c,
388 testsuite/libatomic.c/atomic-op-3.c,
389 testsuite/libatomic.c/atomic-op-4.c,
390 testsuite/libatomic.c/atomic-op-5.c,
391 testsuite/libatomic.c/atomic-store-1.c,
392 testsuite/libatomic.c/atomic-store-2.c,
393 testsuite/libatomic.c/atomic-store-3.c,
394 testsuite/libatomic.c/atomic-store-4.c,
395 testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
396 int. Do not require built-in sync support or add target-specific
398 * testsuite/libatomic.c/atomic-exchange-1.c,
399 testsuite/libatomic.c/atomic-exchange-2.c,
400 testsuite/libatomic.c/atomic-exchange-3.c,
401 testsuite/libatomic.c/atomic-exchange-4.c,
402 testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
403 count from expression using value of count.
405 2013-11-10 Uros Bizjak <ubizjak@gmail.com>
407 * config/x86/fenv.c: New file.
409 2013-11-07 Joseph Myers <joseph@codesourcery.com>
412 * libatomic.map (LIBATOMIC_1.1): New symbol version. Include
413 __atomic_feraiseexcept.
414 * configure.ac (libtool_VERSION): Change to 2:0:1.
415 (fenv.h): Test for header.
416 * Makefile.am (libatomic_la_SOURCES): Add fenv.c.
417 * Makefile.in, auto-config.h.in, configure: Regenerate.
419 2013-10-17 Michael Hudson-Doyle <michael.hudson@linaro.org>
421 * libatomic/configure.tgt (aarch64*): Remove code preventing
424 2013-09-20 Alan Modra <amodra@gmail.com>
426 * configure: Regenerate.
428 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com>
430 Update copyright years.
432 2012-12-18 Ian Lance Taylor <iant@google.com>
435 * Makefile.am (noinst_LTLIBRARIES): Define new make variable.
436 (libatomic_convenience_la_SOURCES): Likewise.
437 (libatomic_convenience_la_LIBADD): Likewise.
438 * Makefile.in: Rebuild.
439 * testsuite/Makefile.in: Rebuild.
441 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
443 * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
445 2012-11-21 Matthias Klose <doko@ubuntu.com>
447 * configure.tgt (i[3456]86): Handle -mx32 like -m64.
449 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
451 * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
452 * configure: Regenerate.
454 * configure: Regenerate.
456 2012-10-23 Sofiane Naci <sofiane.naci@arm.com>
458 Mark libatomic unsupported in AArch64.
460 * configure.tgt: Mark libatomic unsupported.
462 2012-09-20 Jakub Jelinek <jakub@redhat.com>
465 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
466 * configure: Regenerate.
467 * Makefile.in: Regenerate.
469 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
471 * configure: Regenerated.
473 2012-05-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
476 * tas_n.c (libat_test_and_set): Correct return. Remove unused variable.
478 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
480 * configure: Regenerated.
482 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
485 * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
486 instead of overriding.
487 * configure: Regenerate.
489 2012-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
491 * Makefile.am (libatomic.map-sun): Handle objects in
493 * aclocal.m4: Regenerate.
494 * Makefile.in: Regenerate.
496 2012-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
498 * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
499 * configure: Regenerate.
501 2012-05-03 Richard Henderson <rth@redhat.com>
503 * configure.ac (AM_MAINTAINER_MODE): New.
504 * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
505 failure in gcc_no_link path.
506 * configure, aclocal.m4, Makefile.in: Rebuild.
508 2012-05-01 Richard Henderson <rth@redhat.com>
512 Copyright (C) 2012-2020 Free Software Foundation, Inc.
514 Copying and distribution of this file, with or without modification,
515 are permitted in any medium without royalty provided the copyright
516 notice and this notice are preserved.