2018-03-09 13:32:22 +01:00
|
|
|
|
2018-03-09 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* config/s390/exch_n.c: New file.
|
|
|
|
|
* configure.tgt: Add the config directory for s390.
|
|
|
|
|
|
2018-02-19 17:25:49 +01:00
|
|
|
|
2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/84148
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2018-01-03 11:03:58 +01:00
|
|
|
|
2018-01-03 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
|
2017-12-14 19:30:38 +01:00
|
|
|
|
2017-12-14 Steve Ellcey <sellcey@cavium.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (IFUNC_OPTIONS): Change aarch64
|
|
|
|
|
option from -march=armv8.1-a to -march=armv8-a+lse.
|
|
|
|
|
* configure.ac (*aarch64*): Check to see if
|
|
|
|
|
compiler understands -march=armv8-a+lse option.
|
|
|
|
|
* configure.tgt (*aarch64*): Only set try_ifunc
|
|
|
|
|
if compiler understands -march=armv8-a+lse option.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* testsuite/Makefile.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
|
|
2017-12-05 01:49:09 +01:00
|
|
|
|
2017-12-04 Steve Ellcey <sellcey@cavium.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (ARCH_AARCH64_LINUX): Add IFUNC_OPTIONS and
|
|
|
|
|
libatomic_la_LIBADD.
|
|
|
|
|
* config/linux/aarch64/host-config.h: New file.
|
|
|
|
|
* configure.ac (IFUNC_RESOLVER_ARGS): Define.
|
|
|
|
|
(ARCH_AARCH64_LINUX): New conditional for IFUNC builds.
|
|
|
|
|
* configure.tgt (aarch64): Set ARCH and try_ifunc.
|
|
|
|
|
(aarch64*-*-linux*) Update config_path.
|
|
|
|
|
(aarch64*-*-linux*) Set IFUNC_RESOLVER_ARGS.
|
|
|
|
|
* libatomic_i.h (GEN_SELECTOR): Add IFUNC_RESOLVER_ARGS argument.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* auto-config.h.in: Regenerate.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2017-11-17 22:18:15 +01:00
|
|
|
|
2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Set CET_FLAGS, update XCFLAGS.
|
|
|
|
|
* acinclude.m4: Add cet.m4 and enable.m4.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* Makefile.in: Likewise.
|
|
|
|
|
* testsuite/Makefile.in: Likewise.
|
|
|
|
|
|
2017-10-20 14:33:39 +02:00
|
|
|
|
2017-10-20 Richard Earnshaw <rearnsha@arm.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: (IFUNC_OPTIONS): Set the architecture to
|
|
|
|
|
-march=armv7-a+fp on Linux/Arm.
|
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
|
2017-10-03 01:57:19 +02:00
|
|
|
|
2017-10-02 Martin Sebor <msebor@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c/81854
|
|
|
|
|
* acinclude.m4 (LIBAT_CHECK_IFUNC): Have ifunc resolver return
|
|
|
|
|
a function pointer rather than void* to avoid GCC 8 warnings.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* libatomic_i.h: Declare ifunc resolvers to return function
|
|
|
|
|
pointers rather than void*.
|
|
|
|
|
|
2017-05-12 11:20:37 +02:00
|
|
|
|
2017-05-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* testsuite/lib/libatomic.exp: Load scanlang.exp.
|
|
|
|
|
|
2017-02-06 22:38:57 +01:00
|
|
|
|
2017-02-06 Palmer Dabbelt <palmer@dabbelt.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Add RISC-V tuple.
|
|
|
|
|
|
2017-02-01 18:21:59 +01:00
|
|
|
|
2017-02-01 Richard Henderson <rth@redhat.com>
|
|
|
|
|
Torvald Riegel <triegel@redhat.com>
|
|
|
|
|
|
|
|
|
|
* acinclude.m4: Add #define FAST_ATOMIC_LDST_*.
|
|
|
|
|
* auto-config.h.in: Regenerate.
|
|
|
|
|
* config/x86/host-config.h (FAST_ATOMIC_LDST_16): Define to 0.
|
|
|
|
|
(atomic_compare_exchange_n): New.
|
|
|
|
|
* glfree.c (EXACT, LARGER): Change condition and add comments.
|
|
|
|
|
|
2017-01-30 12:34:13 +01:00
|
|
|
|
2017-01-30 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
|
|
|
|
|
|
|
|
|
PR target/78945
|
|
|
|
|
* config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.
|
|
|
|
|
|
2017-01-21 09:47:11 +01:00
|
|
|
|
2017-01-21 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR other/79046
|
|
|
|
|
* testsuite/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead
|
|
|
|
|
of cat to get version from BASE-VER file.
|
|
|
|
|
* testsuite/Makefile.in: Regenerated.
|
|
|
|
|
|
2017-01-17 10:38:48 +01:00
|
|
|
|
2017-01-17 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR other/79046
|
|
|
|
|
* configure.ac: Add GCC_BASE_VER.
|
|
|
|
|
* Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to
|
|
|
|
|
get version from BASE-VER file.
|
|
|
|
|
* testsuite/Makefile.in: Regenerated.
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
|
2017-01-01 13:07:43 +01:00
|
|
|
|
2017-01-01 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
|
2016-11-15 17:34:02 +01:00
|
|
|
|
2016-11-15 Matthias Klose <doko@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2016-04-27 09:14:42 +02:00
|
|
|
|
2016-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
|
|
|
|
|
|
|
|
|
|
* configure.tgt (configure_tgt_pre_target_cpu_XCFLAGS): New variable.
|
|
|
|
|
(*-*-rtems*): New supported target.
|
|
|
|
|
* config/rtems/host-config.h: New file.
|
|
|
|
|
* config/rtems/lock.c: Likewise.
|
|
|
|
|
|
2016-04-25 14:41:43 +02:00
|
|
|
|
2016-04-25 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/70454
|
|
|
|
|
* configure.tgt (XCFLAGS): Revert the last change.
|
|
|
|
|
|
2016-04-20 16:41:55 +02:00
|
|
|
|
2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR target/70454
|
|
|
|
|
* configure.tgt (XCFLAGS): Don't add -march=i486 to compile
|
|
|
|
|
32-bit x86 target library on x86-64.
|
|
|
|
|
|
2016-01-06 15:51:35 +01:00
|
|
|
|
2016-01-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
|
|
|
|
|
|
|
|
|
|
PR other/67627
|
|
|
|
|
* Makefile.am (all-multi): Add dependency.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2016-01-04 15:30:50 +01:00
|
|
|
|
2016-01-04 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
|
Add out-of-line versions of some <stdatomic.h> functions (PR c/65083).
PR c/65083 notes that some functions in <stdatomic.h> are normal
functions, not generic functions, and so need to have out-of-line
copies that can be called when macro expansion is suppressed (unlike
the generic functions where DR#419 makes it undefined if you suppress
a macro expansion).
This patch adds such out-of-line definitions in libatomic for those
six functions, at a new LIBATOMIC_1.2 symbol version, as trivial
wrappers to the <stdatomic.h> macros, along with declarations of those
functions in <stdatomic.h>. Tests are added that are based on the
corresponding tests for the macros, but with parentheses around the
function names to force the out-of-line functions to be used.
Bootstrapped with no regressions on x86_64-pc-linux-gnu.
gcc:
* ginclude/stdatomic.h (atomic_thread_fence, atomic_signal_fence)
(atomic_flag_test_and_set, atomic_flag_test_and_set_explicit)
(atomic_flag_clear, atomic_flag_clear_explicit): Declare as
functions before defining as macros.
gcc/testsuite:
* gcc.dg/atomic/stdatomic-fence-2.c,
gcc.dg/atomic/stdatomic-flag-2.c: New tests.
libatomic:
* fence.c, flag.c: New files.
* Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
* Makefile.in: Regenerate.
* configure.ac (libtool_VERSION): Change to 3:0:2.
* configure: Regenerate.
* libatomic.map (LIBATOMIC_1.2): New symbol version.
From-SVN: r230578
2015-11-18 23:13:44 +01:00
|
|
|
|
2015-11-18 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
PR c/65083
|
|
|
|
|
* fence.c, flag.c: New files.
|
|
|
|
|
* Makefile.am (libatomic_la_SOURCES): Add fence.c and flag.c.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
* configure.ac (libtool_VERSION): Change to 3:0:2.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* libatomic.map (LIBATOMIC_1.2): New symbol version.
|
|
|
|
|
|
2015-10-09 15:55:23 +02:00
|
|
|
|
2015-10-09 David Malcolm <dmalcolm@redhat.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/lib/libatomic.exp: Load multiline.exp before
|
|
|
|
|
prune.exp, using load_gcc_lib.
|
|
|
|
|
|
2015-07-14 17:36:51 +02:00
|
|
|
|
2015-07-14 John Marino <gnugcc@marino.st>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Add *-*-dragonfly to supported targets.
|
|
|
|
|
|
2015-01-21 18:17:03 +01:00
|
|
|
|
2015-01-21 Andrew Waterman <waterman@cs.berkeley.edu>
|
|
|
|
|
|
|
|
|
|
* fop_n.c (libat_fetch_op): Align address to word boundary.
|
|
|
|
|
(libat_op_fetch): Likewise.
|
|
|
|
|
|
2015-01-16 12:29:54 +01:00
|
|
|
|
2015-01-16 Ilya Verbin <ilya.verbin@intel.com>
|
|
|
|
|
|
|
|
|
|
PR testsuite/64605
|
|
|
|
|
* testsuite/lib/libatomic.exp: Do not load gcc-dg.exp.
|
|
|
|
|
* testsuite/libatomic.c/c.exp: Load gcc-dg.exp.
|
|
|
|
|
|
2015-01-09 15:06:02 +01:00
|
|
|
|
2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Exclude arm*-*-freebsd* from try_ifunc.
|
|
|
|
|
|
2015-01-05 13:33:28 +01:00
|
|
|
|
2015-01-05 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
|
2014-12-12 13:00:01 +01:00
|
|
|
|
2014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/lib/libatomic.exp: Load target-utils.exp
|
|
|
|
|
|
2014-11-21 17:49:17 +01:00
|
|
|
|
2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR bootstrap/63784
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2014-11-14 07:05:51 +01:00
|
|
|
|
2014-11-13 Andrew Waterman <waterman@cs.berkeley.edu>
|
|
|
|
|
|
|
|
|
|
* cas_n.c (libat_compare_exchange): Add missing cast.
|
|
|
|
|
|
2014-11-11 21:25:18 +01:00
|
|
|
|
2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
|
|
|
|
|
|
|
|
|
|
PR target/63610
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2014-08-19 16:55:37 +02:00
|
|
|
|
2014-08-19 Yaakov Selkowitz <yselkowi@redhat.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Add cygwin to supported targets.
|
|
|
|
|
|
|
|
|
|
2014-07-18 Uros Bizjak <ubizjak@gmail.com>
|
2014-07-18 08:34:20 +02:00
|
|
|
|
|
|
|
|
|
* configure.tgt (alpha*): Add -mfp-trap-mode=sui to XCFLAGS.
|
|
|
|
|
|
2014-06-17 22:43:18 +02:00
|
|
|
|
2014-06-17 Kai Tietz <ktietz@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (libatomic_la_LDFLAGS): Add lt_host_flags.
|
|
|
|
|
* configure.ac (ACX_LT_HOST_FLAGS): New.
|
|
|
|
|
(target_thread_file): New.
|
|
|
|
|
* configure.tgt (mingw): Add mingw support.
|
|
|
|
|
* config/mingw/host-config.h: New file.
|
|
|
|
|
* config/mingw/lock.c: Likewise.
|
|
|
|
|
* Makefile.in: Regenerated.
|
|
|
|
|
* configure: Likewise.
|
|
|
|
|
* aclocal.m4: Likewise.
|
|
|
|
|
* testsuite/Makefile.in: Likewise.
|
|
|
|
|
|
2014-02-20 18:43:53 +01:00
|
|
|
|
2014-02-20 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR c++/60272
|
|
|
|
|
* cas_n.c (libat_compare_exchange): Conditionalize on failure
|
|
|
|
|
the store back to EPTR.
|
|
|
|
|
|
2014-01-02 23:24:30 +01:00
|
|
|
|
2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years
|
|
|
|
|
|
2013-12-09 18:37:43 +01:00
|
|
|
|
2013-12-09 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/x86/fenv.c (__atomic_feraiseexcept): Emit SSE
|
2013-12-09 18:41:40 +01:00
|
|
|
|
instructions when __SSE_MATH__ is defined.
|
2013-12-09 18:37:43 +01:00
|
|
|
|
|
atomic-compare-exchange-1.c, [...]: Declare main as returning int.
* testsuite/libatomic.c/atomic-compare-exchange-1.c,
testsuite/libatomic.c/atomic-compare-exchange-2.c,
testsuite/libatomic.c/atomic-compare-exchange-3.c,
testsuite/libatomic.c/atomic-compare-exchange-4.c,
testsuite/libatomic.c/atomic-compare-exchange-5.c,
testsuite/libatomic.c/atomic-exchange-1.c,
testsuite/libatomic.c/atomic-exchange-2.c,
testsuite/libatomic.c/atomic-exchange-3.c,
testsuite/libatomic.c/atomic-exchange-4.c,
testsuite/libatomic.c/atomic-exchange-5.c,
testsuite/libatomic.c/atomic-generic.c,
testsuite/libatomic.c/atomic-load-1.c,
testsuite/libatomic.c/atomic-load-2.c,
testsuite/libatomic.c/atomic-load-3.c,
testsuite/libatomic.c/atomic-load-4.c,
testsuite/libatomic.c/atomic-load-5.c,
testsuite/libatomic.c/atomic-op-1.c,
testsuite/libatomic.c/atomic-op-2.c,
testsuite/libatomic.c/atomic-op-3.c,
testsuite/libatomic.c/atomic-op-4.c,
testsuite/libatomic.c/atomic-op-5.c,
testsuite/libatomic.c/atomic-store-1.c,
testsuite/libatomic.c/atomic-store-2.c,
testsuite/libatomic.c/atomic-store-3.c,
testsuite/libatomic.c/atomic-store-4.c,
testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
int. Do not require built-in sync support or add target-specific
options.
* testsuite/libatomic.c/atomic-exchange-1.c,
testsuite/libatomic.c/atomic-exchange-2.c,
testsuite/libatomic.c/atomic-exchange-3.c,
testsuite/libatomic.c/atomic-exchange-4.c,
testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
count from expression using value of count.
From-SVN: r204953
2013-11-18 15:50:11 +01:00
|
|
|
|
2013-11-18 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* testsuite/libatomic.c/atomic-compare-exchange-1.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-compare-exchange-2.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-compare-exchange-3.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-compare-exchange-4.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-compare-exchange-5.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-exchange-1.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-exchange-2.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-exchange-3.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-exchange-4.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-exchange-5.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-generic.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-load-1.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-load-2.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-load-3.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-load-4.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-load-5.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-op-1.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-op-2.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-op-3.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-op-4.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-op-5.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-store-1.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-store-2.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-store-3.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-store-4.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-store-5.c: Declare main as returning
|
|
|
|
|
int. Do not require built-in sync support or add target-specific
|
|
|
|
|
options.
|
|
|
|
|
* testsuite/libatomic.c/atomic-exchange-1.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-exchange-2.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-exchange-3.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-exchange-4.c,
|
|
|
|
|
testsuite/libatomic.c/atomic-exchange-5.c: Separate increments of
|
|
|
|
|
count from expression using value of count.
|
|
|
|
|
|
2013-11-10 12:45:42 +01:00
|
|
|
|
2013-11-10 Uros Bizjak <ubizjak@gmail.com>
|
|
|
|
|
|
|
|
|
|
* config/x86/fenv.c: New file.
|
|
|
|
|
|
tree-core.h (enum cv_qualifier): Add TYPE_QUAL_ATOMIC.
gcc:
2013-11-05 Andrew MacLeod <amacleod@redhat.com>
Joseph Myers <joseph@codesourcery.com>
* tree-core.h (enum cv_qualifier): Add TYPE_QUAL_ATOMIC.
(enum tree_index): Add TI_ATOMICQI_TYPE, TI_ATOMICHI_TYPE,
TI_ATOMICSI_TYPE, TI_ATOMICDI_TYPE and TI_ATOMICTI_TYPE.
(struct tree_base): Add atomic_flag field.
* tree.h (TYPE_ATOMIC): New accessor macro.
(TYPE_QUALS, TYPE_QUALS_NO_ADDR_SPACE): Add TYPE_QUAL_ATOMIC.
(TYPE_QUALS_NO_ADDR_SPACE_NO_ATOMIC): New macro.
(atomicQI_type_node, atomicHI_type_node, atomicSI_type_node)
(atomicDI_type_node, atomicTI_type_node): New macros for type
nodes.
* tree.c (set_type_quals): Set TYPE_ATOMIC.
(find_atomic_core_type): New function.
(build_qualified_type): Adjust alignment for qualified types.
(build_atomic_base): New function
(build_common_tree_nodes): Build atomicQI_type_node,
atomicHI_type_node, atomicSI_type_node, atomicDI_type_node and
atomicTI_type_node.
* print-tree.c (print_node): Print atomic qualifier.
* tree-pretty-print.c (dump_generic_node): Print atomic type
attribute.
* target.def (atomic_assign_expand_fenv): New hook.
* doc/tm.texi.in (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New @hook.
* doc/tm.texi: Regenerate.
* targhooks.c (default_atomic_assign_expand_fenv): New function.
* targhooks.h (default_atomic_assign_expand_fenv): Declare.
* sync-builtins.def (__atomic_feraiseexcept): New built-in
function.
* config/i386/i386-builtin-types.def (VOID_FTYPE_PUSHORT): New
function type.
* config/i386/i386.c (enum ix86_builtins): Add
IX86_BUILTIN_FNSTENV, IX86_BUILTIN_FLDENV, IX86_BUILTIN_FNSTSW and
IX86_BUILTIN_FNCLEX.
(bdesc_special_args): Add __builtin_ia32_fnstenv,
__builtin_ia32_fldenv, __builtin_ia32_fnstsw and
__builtin_ia32_fnclex.
(ix86_expand_builtin): Handle the new built-in functions.
(ix86_atomic_assign_expand_fenv): New function.
(TARGET_ATOMIC_ASSIGN_EXPAND_FENV): New macro.
* config/i386/i386.md (UNSPECV_FNSTENV, UNSPECV_FLDENV)
(UNSPECV_FNSTSW, UNSPECV_FNCLEX): New unspecs.
(fnstenv, fldenv, fnstsw, fnclex): New insns.
gcc/c-family:
2013-11-05 Andrew MacLeod <amacleod@redhat.com>
Joseph Myers <joseph@codesourcery.com>
* c-common.h (enum rid): Add RID_ATOMIC.
* c-common.c (c_common_reswords): Add _Atomic.
(sync_resolve_params): Use TYPE_MAIN_VARIANT on pointer argument.
(keyword_is_type_qualifier): Accept RID_ATOMIC.
* c-format.c (check_format_types): Check for extra _Atomic
qualifiers in format argument.
* c-pretty-print.c (pp_c_cv_qualifiers): Handle atomic qualifier.
(pp_c_type_qualifier_list): Mention _Atomic in comment.
gcc/c:
2013-11-05 Joseph Myers <joseph@codesourcery.com>
Andrew MacLeod <amacleod@redhat.com>
* c-aux-info.c (gen_type): Handle atomic qualifier.
* c-decl.c (validate_proto_after_old_defn): Do not remove atomic
qualifiers when compating types.
(shadow_tag_warned): Handle atomic_p in declspecs.
(quals_from_declspecs): Likewise.
(start_decl): Use c_type_promotes_to when promoting argument
types.
(grokdeclarator): Handle _Atomic.
(get_parm_info): Diagnose any qualifier on "void" as only
parameter.
(store_parm_decls_oldstyle): Do not remove atomic qualifiers when
comparing types. Use c_type_promotes_to when promoting argument
types.
(finish_function): Use c_type_promotes_to when promoting argument
types.
(build_null_declspecs): Handle atomic_p in declspecs.
(declspecs_add_qual): Handle RID_ATOMIC.
* c-parser.c (c_token_starts_typename, c_token_is_qualifier)
(c_token_starts_declspecs): Handle RID_ATOMIC.
(c_parser_declspecs): Handle atomic type specifiers and
qualifiers.
(c_parser_typeof_specifier): Remove const and _Atomic qualifiers
from types of expressions with atomic type.
(c_parser_direct_declarator_inner): Use convert_lvalue_to_rvalue.
(c_parser_attribute_any_word): Handle RID_ATOMIC.
(c_parser_initializer, c_parser_initelt, c_parser_initval)
(c_parser_statement_after_labels, c_parser_switch_statement)
(c_parser_for_statement, c_parser_expr_no_commas)
(c_parser_conditional_expression, c_parser_binary_expression)
(c_parser_cast_expression, c_parser_unary_expression)
(c_parser_postfix_expression)
(c_parser_postfix_expression_after_primary, c_parser_expression):
Use convert_lvalue_to_rvalue.
(c_parser_expression_conv, c_parser_expr_list): Document
conversion of lvalues to rvalues. Use convert_lvalue_to_rvalue.
(c_parser_objc_synchronized_statement): Use
convert_lvalue_to_rvalue.
(c_parser_objc_selector): Handle RID_ATOMIC.
(c_parser_objc_receiver, c_parser_array_notation): Use
convert_lvalue_to_rvalue.
* c-tree.h (ctsk_typeof): Adjust comment to mention use for
_Atomic (type-name).
(struct c_declspecs): Add atomic_p field.
(convert_lvalue_to_rvalue): Declare.
* c-typeck.c (c_type_promotes_to): Promote atomic types to
corresponding atomic types.
(qualify_type): Don't add _Atomic qualifiers from second argument.
(comp_target_types): Do not allow _Atomic mismatches.
(type_lists_compatible_p): Do not remove atomic qualifiers when
comparing types.
(really_atomic_lvalue, convert_lvalue_to_rvalue)
(build_atomic_assign): New functions.
(build_unary_op): Use build_atomic_assign for atomic increment and
decrement.
(build_conditional_expr): Do not treat _Atomic void as a qualified
version of void.
(build_modify_expr): Use build_atomic_assign for atomic LHS.
(find_anonymous_field_with_type, convert_to_anonymous_field)
(convert_for_assignment): Do not remove atomic qualifiers when
comparing types.
(digest_init): Do not accept initialization of arrays of atomic
elements by string constants.
(build_asm_expr): Use convert_lvalue_to_rvalue.
(build_binary_op): Do not treat _Atomic void as a qualified
version of void.
gcc/objc:
2013-11-05 Andrew MacLeod <amacleod@redhat.com>
* objc-act.c (objc_push_parm): Handle atomic qualifier.
gcc/testsuite:
2013-11-05 Joseph Myers <joseph@codesourcery.com>
* lib/target-supports.exp
(check_effective_target_fenv_exceptions): New function.
* lib/atomic-dg.exp, gcc.dg/atomic/atomic.exp: New files.
* gcc.dg/atomic/c11-atomic-exec-1.c,
gcc.dg/atomic/c11-atomic-exec-2.c,
gcc.dg/atomic/c11-atomic-exec-3.c,
gcc.dg/atomic/c11-atomic-exec-4.c,
gcc.dg/atomic/c11-atomic-exec-5.c, gcc.dg/c11-atomic-1.c,
gcc.dg/c11-atomic-2.c, gcc.dg/c11-atomic-3.c,
gcc.dg/c90-atomic-1.c, gcc.dg/c99-atomic-1.c: New tests.
libatomic:
2013-11-05 Joseph Myers <joseph@codesourcery.com>
* fenv.c: New file.
* libatomic.map (LIBATOMIC_1.1): New symbol version. Include
__atomic_feraiseexcept.
* configure.ac (libtool_VERSION): Change to 2:0:1.
(fenv.h): Test for header.
* Makefile.am (libatomic_la_SOURCES): Add fenv.c.
* Makefile.in, auto-config.h.in, configure: Regenerate.
From-SVN: r204544
2013-11-07 22:15:25 +01:00
|
|
|
|
2013-11-07 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* fenv.c: New file.
|
|
|
|
|
* libatomic.map (LIBATOMIC_1.1): New symbol version. Include
|
|
|
|
|
__atomic_feraiseexcept.
|
|
|
|
|
* configure.ac (libtool_VERSION): Change to 2:0:1.
|
|
|
|
|
(fenv.h): Test for header.
|
|
|
|
|
* Makefile.am (libatomic_la_SOURCES): Add fenv.c.
|
|
|
|
|
* Makefile.in, auto-config.h.in, configure: Regenerate.
|
|
|
|
|
|
2013-10-17 17:49:27 +02:00
|
|
|
|
2013-10-17 Michael Hudson-Doyle <michael.hudson@linaro.org>
|
|
|
|
|
|
|
|
|
|
* libatomic/configure.tgt (aarch64*): Remove code preventing
|
|
|
|
|
build.
|
|
|
|
|
|
2013-09-20 11:47:52 +02:00
|
|
|
|
2013-09-20 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2013-01-14 19:16:23 +01:00
|
|
|
|
2013-01-14 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
|
2012-12-18 23:04:08 +01:00
|
|
|
|
2012-12-18 Ian Lance Taylor <iant@google.com>
|
|
|
|
|
|
|
|
|
|
PR go/55201
|
|
|
|
|
* Makefile.am (noinst_LTLIBRARIES): Define new make variable.
|
|
|
|
|
(libatomic_convenience_la_SOURCES): Likewise.
|
|
|
|
|
(libatomic_convenience_la_LIBADD): Likewise.
|
|
|
|
|
* Makefile.in: Rebuild.
|
|
|
|
|
* testsuite/Makefile.in: Rebuild.
|
|
|
|
|
|
2012-12-04 16:14:47 +01:00
|
|
|
|
2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com>
|
|
|
|
|
|
|
|
|
|
* config/arm/arm-config.h (__ARM_ARCH_8A__): New.
|
|
|
|
|
|
2012-11-22 01:47:58 +01:00
|
|
|
|
2012-11-21 Matthias Klose <doko@ubuntu.com>
|
|
|
|
|
|
|
|
|
|
* configure.tgt (i[3456]86): Handle -mx32 like -m64.
|
|
|
|
|
|
2012-11-05 00:17:34 +01:00
|
|
|
|
2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
|
|
|
|
|
|
2012-11-05 00:27:03 +01:00
|
|
|
|
* acinclude.m4 (LIBAT_CHECK_IFUNC): Clarify message.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2012-11-05 00:17:34 +01:00
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2012-10-23 19:22:48 +02:00
|
|
|
|
2012-10-23 Sofiane Naci <sofiane.naci@arm.com>
|
|
|
|
|
|
|
|
|
|
Mark libatomic unsupported in AArch64.
|
|
|
|
|
|
|
|
|
|
* configure.tgt: Mark libatomic unsupported.
|
|
|
|
|
|
2012-09-20 16:41:17 +02:00
|
|
|
|
2012-09-20 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR other/43620
|
|
|
|
|
* configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2012-09-15 01:30:29 +02:00
|
|
|
|
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2012-05-23 01:54:32 +02:00
|
|
|
|
2012-05-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
|
|
|
|
|
|
|
|
|
PR other/53231
|
|
|
|
|
* tas_n.c (libat_test_and_set): Correct return. Remove unused variable.
|
|
|
|
|
|
2012-05-17 00:11:18 +02:00
|
|
|
|
2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* configure: Regenerated.
|
|
|
|
|
|
2012-05-10 11:11:05 +02:00
|
|
|
|
2012-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
PR other/53284
|
|
|
|
|
* acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Add -O0 -S to CFLAGS
|
|
|
|
|
instead of overriding.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2012-05-07 18:11:14 +02:00
|
|
|
|
2012-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* Makefile.am (libatomic.map-sun): Handle objects in
|
|
|
|
|
libatomic_la_LIBADD.
|
|
|
|
|
* aclocal.m4: Regenerate.
|
|
|
|
|
* Makefile.in: Regenerate.
|
|
|
|
|
|
2012-05-07 18:10:11 +02:00
|
|
|
|
2012-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
|
|
|
|
|
|
|
|
|
|
* configure.ac: Add $XPCFLAGS to CFLAGS, not $XCFLAGS.
|
|
|
|
|
* configure: Regenerate.
|
|
|
|
|
|
2012-05-03 17:59:43 +02:00
|
|
|
|
2012-05-03 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
2012-05-03 18:30:11 +02:00
|
|
|
|
* configure.ac (AM_MAINTAINER_MODE): New.
|
2012-05-03 17:59:43 +02:00
|
|
|
|
* acinclude.m4 (LIBAT_TEST_ATOMIC_BUILTIN): Handle compilation
|
|
|
|
|
failure in gcc_no_link path.
|
2012-05-03 18:30:11 +02:00
|
|
|
|
* configure, aclocal.m4, Makefile.in: Rebuild.
|
2012-05-03 17:59:43 +02:00
|
|
|
|
|
2012-05-01 17:48:28 +02:00
|
|
|
|
2012-05-01 Richard Henderson <rth@redhat.com>
|
|
|
|
|
|
|
|
|
|
* Initial commit.
|
2016-01-04 15:30:50 +01:00
|
|
|
|
|
2018-01-03 11:03:58 +01:00
|
|
|
|
Copyright (C) 2012-2018 Free Software Foundation, Inc.
|
2016-01-04 15:30:50 +01:00
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|