Fix problematic cases of wrapping
[gcc.git] / libatomic / ChangeLog
1 2020-05-06 Uroš Bizjak <ubizjak@gmail.com>
2
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
7 exceptions.
8
9 2020-05-01 Uroš Bizjak <ubizjak@gmail.com>
10
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.
14
15 2020-04-19 Uroš Bizjak <ubizjak@gmail.com>
16
17 * config/x86/fenv.c (__atomic_feraiseexcept) [__SSE_MATH__]:
18 Remove unneeded assignments to volatile memory.
19
20 2020-04-06 Maciej W. Rozycki <macro@wdc.com>
21
22 * configure.ac: Add testsuite/libatomic-site-extra.exp to output
23 files.
24 * configure: Regenerate.
25 * libatomic/testsuite/libatomic-site-extra.exp.in: New file.
26 * testsuite/Makefile.am (EXTRA_DEJAGNU_SITE_CONFIG): New
27 variable.
28 * testsuite/Makefile.in: Regenerate.
29
30 2020-02-22 Jakub Jelinek <jakub@redhat.com>
31
32 PR other/55930
33 * Makefile.am (M_DEPS): Guard the empty definition with
34 @AMDEP_FALSE@ rather than @AMDEP_TRUE@.
35 * Makefile.in: Regenerated.
36
37 2020-02-22 Richard Purdie <rpurdie@rpsys.net>
38
39 PR other/55930
40 * Makefile.am (M_DEPS): Honor -disable-dependency-tracking.
41 * Makefile.in: Regenerated.
42
43 2020-01-24 Maciej W. Rozycki <macro@wdc.com>
44
45 * configure.ac: Handle `--with-toolexeclibdir='.
46 * Makefile.in: Regenerate.
47 * aclocal.m4: Regenerate.
48 * configure: Regenerate.
49 * testsuite/Makefile.in: Regenerate.
50
51 2020-01-01 Jakub Jelinek <jakub@redhat.com>
52
53 Update copyright years.
54
55 2019-09-27 Maciej W. Rozycki <macro@wdc.com>
56
57 * configure: Regenerate.
58
59 2019-09-10 Christophe Lyon <christophe.lyon@st.com>
60
61 * configure.tgt: Handle arm*-*-uclinux*.
62 * configure: Regenerate.
63
64 2019-09-03 Chung-Lin Tang <cltang@codesourcery.com>
65
66 PR other/79543
67 * acinclude.m4 (LIBAT_CHECK_LINKER_FEATURES): Fix GNU ld --version
68 scanning to conform to the GNU Coding Standards.
69 * configure: Regenerate.
70
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>
75
76 * configure.tgt (arm*): Handle NetBSD in the same way as FreeBSD.
77
78 2019-01-01 Jakub Jelinek <jakub@redhat.com>
79
80 Update copyright years.
81
82 2018-10-31 Joseph Myers <joseph@codesourcery.com>
83
84 PR bootstrap/82856
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:
90 Regenerate.
91
92 2018-06-21 Christophe Lyon <christophe.lyon@linaro.org>
93
94 * config/arm/arm-config.h (__ARM_ARCH__): Remove definitions, use
95 __ARM_ARCH instead. Use __ARM_FEATURE_LDREX to define HAVE_STREX
96 and HAVE_STREXBHD
97
98 2018-05-23 Florian Weimer <fweimer@redhat.com>
99
100 PR libgcc/60790
101 x86: Do not assume ELF constructors run before IFUNC resolvers.
102 * config/x86/host-config.h (libat_feat1_ecx, libat_feat1_edx):
103 Remove declarations.
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.
112
113 2018-05-02 Tom de Vries <tom@codesourcery.com>
114
115 PR testsuite/85106
116 * testsuite/lib/libatomic.exp: Include scanltranstree.exp.
117
118 2018-05-02 Tom de Vries <tom@codesourcery.com>
119
120 PR testsuite/85106
121 * testsuite/lib/libatomic.exp: Include scanwpaipa.exp.
122
123 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
124
125 * configure: Regenerated.
126
127 2018-04-19 Jakub Jelinek <jakub@redhat.com>
128
129 * configure: Regenerated.
130
131 2018-04-18 David Malcolm <dmalcolm@redhat.com>
132
133 PR jit/85384
134 * configure: Regenerate.
135
136 2018-03-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
137
138 * config/s390/exch_n.c: New file.
139 * configure.tgt: Add the config directory for s390.
140
141 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
142
143 PR target/84148
144 * configure: Regenerate.
145
146 2018-01-03 Jakub Jelinek <jakub@redhat.com>
147
148 Update copyright years.
149
150 2017-12-14 Steve Ellcey <sellcey@cavium.com>
151
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.
162
163 2017-12-04 Steve Ellcey <sellcey@cavium.com>
164
165 * Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
166 libatomic_la_LIBADD.
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.
177
178 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
179
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.
185
186 2017-10-20 Richard Earnshaw <rearnsha@arm.com>
187
188 * Makefile.am: (IFUNC_OPTIONS): Set the architecture to
189 -march=armv7-a+fp on Linux/Arm.
190 * Makefile.in: Regenerated.
191
192 2017-10-02 Martin Sebor <msebor@redhat.com>
193
194 PR c/81854
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*.
200
201 2017-05-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
202
203 * testsuite/lib/libatomic.exp: Load scanlang.exp.
204
205 2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
206
207 * configure.tgt: Add RISC-V tuple.
208
209 2017-02-01 Richard Henderson <rth@redhat.com>
210 Torvald Riegel <triegel@redhat.com>
211
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.
217
218 2017-01-30 Szabolcs Nagy <szabolcs.nagy@arm.com>
219
220 PR target/78945
221 * config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
222
223 2017-01-21 Jakub Jelinek <jakub@redhat.com>
224
225 PR other/79046
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.
229
230 2017-01-17 Jakub Jelinek <jakub@redhat.com>
231
232 PR other/79046
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.
239
240 2017-01-01 Jakub Jelinek <jakub@redhat.com>
241
242 Update copyright years.
243
244 2016-11-15 Matthias Klose <doko@ubuntu.com>
245
246 * configure: Regenerate.
247
248 2016-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
249
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.
254
255 2016-04-25 H.J. Lu <hongjiu.lu@intel.com>
256
257 PR target/70454
258 * configure.tgt (XCFLAGS): Revert the last change.
259
260 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
261
262 PR target/70454
263 * configure.tgt (XCFLAGS): Don't add -march=i486 to compile
264 32-bit x86 target library on x86-64.
265
266 2016-01-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
267
268 PR other/67627
269 * Makefile.am (all-multi): Add dependency.
270 * Makefile.in: Regenerate.
271
272 2016-01-04 Jakub Jelinek <jakub@redhat.com>
273
274 Update copyright years.
275
276 2015-11-18 Joseph Myers <joseph@codesourcery.com>
277
278 PR c/65083
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.
285
286 2015-10-09 David Malcolm <dmalcolm@redhat.com>
287
288 * testsuite/lib/libatomic.exp: Load multiline.exp before
289 prune.exp, using load_gcc_lib.
290
291 2015-07-14 John Marino <gnugcc@marino.st>
292
293 * configure.tgt: Add *-*-dragonfly to supported targets.
294
295 2015-01-21 Andrew Waterman <waterman@cs.berkeley.edu>
296
297 * fop_n.c (libat_fetch_op): Align address to word boundary.
298 (libat_op_fetch): Likewise.
299
300 2015-01-16 Ilya Verbin <ilya.verbin@intel.com>
301
302 PR testsuite/64605
303 * testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
304 * testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
305
306 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
307
308 * configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
309
310 2015-01-05 Jakub Jelinek <jakub@redhat.com>
311
312 Update copyright years.
313
314 2014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
315
316 * testsuite/lib/libatomic.exp: Load target-utils.exp
317
318 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
319
320 PR bootstrap/63784
321 * configure: Regenerated.
322
323 2014-11-13 Andrew Waterman <waterman@cs.berkeley.edu>
324
325 * cas_n.c (libat_compare_exchange): Add missing cast.
326
327 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
328
329 PR target/63610
330 * configure: Regenerate.
331
332 2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
333
334 * configure.tgt: Add cygwin to supported targets.
335
336 2014-07-18 Uros Bizjak <ubizjak@gmail.com>
337
338 * configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
339
340 2014-06-17 Kai Tietz <ktietz@redhat.com>
341
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.
352
353 2014-02-20 Richard Henderson <rth@redhat.com>
354
355 PR c++/60272
356 * cas_n.c (libat_compare_exchange): Conditionalize on failure
357 the store back to EPTR.
358
359 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
360
361 Update copyright years
362
363 2013-12-09 Uros Bizjak <ubizjak@gmail.com>
364
365 * config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
366 instructions when __SSE_MATH__ is defined.
367
368 2013-11-18 Joseph Myers <joseph@codesourcery.com>
369
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
397 options.
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.
404
405 2013-11-10 Uros Bizjak <ubizjak@gmail.com>
406
407 * config/x86/fenv.c: New file.
408
409 2013-11-07 Joseph Myers <joseph@codesourcery.com>
410
411 * fenv.c: New file.
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.
418
419 2013-10-17 Michael Hudson-Doyle <michael.hudson@linaro.org>
420
421 * libatomic/configure.tgt (aarch64*): Remove code preventing
422 build.
423
424 2013-09-20 Alan Modra <amodra@gmail.com>
425
426 * configure: Regenerate.
427
428 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com>
429
430 Update copyright years.
431
432 2012-12-18 Ian Lance Taylor <iant@google.com>
433
434 PR go/55201
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.
440
441 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
442
443 * config/arm/arm-config.h (__ARM_ARCH_8A__): New.
444
445 2012-11-21 Matthias Klose <doko@ubuntu.com>
446
447 * configure.tgt (i[3456]86): Handle -mx32 like -m64.
448
449 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
450
451 * acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
452 * configure: Regenerate.
453
454 * configure: Regenerate.
455
456 2012-10-23 Sofiane Naci <sofiane.naci@arm.com>
457
458 Mark libatomic unsupported in AArch64.
459
460 * configure.tgt: Mark libatomic unsupported.
461
462 2012-09-20 Jakub Jelinek <jakub@redhat.com>
463
464 PR other/43620
465 * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
466 * configure: Regenerate.
467 * Makefile.in: Regenerate.
468
469 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
470
471 * configure: Regenerated.
472
473 2012-05-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
474
475 PR other/53231
476 * tas_n.c (libat_test_and_set): Correct return. Remove unused variable.
477
478 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
479
480 * configure: Regenerated.
481
482 2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
483
484 PR other/53284
485 * acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
486 instead of overriding.
487 * configure: Regenerate.
488
489 2012-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
490
491 * Makefile.am (libatomic.map-sun): Handle objects in
492 libatomic_la_LIBADD.
493 * aclocal.m4: Regenerate.
494 * Makefile.in: Regenerate.
495
496 2012-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
497
498 * configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
499 * configure: Regenerate.
500
501 2012-05-03 Richard Henderson <rth@redhat.com>
502
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.
507
508 2012-05-01 Richard Henderson <rth@redhat.com>
509
510 * Initial commit.
511 \f
512 Copyright (C) 2012-2020 Free Software Foundation, Inc.
513
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.