summaryrefslogtreecommitdiffstats
path: root/libitm/testsuite
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright years in libitm/rsandifo2014-01-022-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206298 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-20 Iain Sandoe <iain@codesourcery.com>mrs2013-06-203-8/+14
| | | | | | | | | | | | Cesar Philippidis <cesar@codesourcery.com> * testsuite/lib/libitm.exp: Reorder lib loads into dependency order. Do not load_gcc_lib gcc-dg.exp and add a comment as to why. * testsuite/libitm.c/c.exp: load_gcc_lib gcc-dg.exp. * testsuite/libitm.c++/c++.exp: load_gcc_lib gcc-dg.exp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200252 138bc75d-0d04-0410-961f-82ee72b054a4
* Update copyright in libitm.rsandifo2013-02-032-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195697 138bc75d-0d04-0410-961f-82ee72b054a4
* Detect assembler support for RTMrth2012-10-311-36/+3
| | | | | | | | | * acinclude.m4 (LIBITM_CHECK_AS_RTM): New. * configure.ac: Use it. * config.h.in, configure: Rebuild. * testsuite/Makefile.in: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193017 138bc75d-0d04-0410-961f-82ee72b054a4
* lib{gomp,itm}/testsuite: load missing fortran-modules.expaldot2012-03-161-0/+1
| | | | | | | | | | | | | | | | libgomp/ChangeLog 2012-03-16 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> * testsuite/lib/libgomp.exp: load fortran-modules.exp libitm/ChangeLog 2012-03-16 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> * testsuite/lib/libitm.exp: load fortran-modules.exp git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185460 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/ebotcazou2012-02-131-1/+0
| | | | | | | | | | | | | | | | | * gcc.c (LINK_COMMAND_SPEC): Deal with -fgnu-tm. (GTM_SELF_SPECS): Define if not already defined. (driver_self_specs): Add GTM_SELF_SPECS. * config/darwin.h (LINK_COMMAND_SPEC_A): Deal with -fgnu-tm. (GTM_SELF_SPECS): Define. * config/i386/cygwin.h (GTM_SELF_SPECS): Likewise. * config/i386/mingw32.h (GTM_SELF_SPECS): Likewise. libitm/ * configure.ac (link_itm): Fix comment. * configure: Regenerate. * testsuite/lib/libitm.exp: Do not pass -litm for the link. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184174 138bc75d-0d04-0410-961f-82ee72b054a4
* Link C++ tests with -shared-libgcc (PR libitm/51822)ro2012-01-311-3/+7
| | | | | | | | | PR libstdc++/51296 * testsuite/libitm.c++/c++.exp (lang_link_flags): Add -shared-libgcc. Correct libgomp references. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183754 138bc75d-0d04-0410-961f-82ee72b054a4
* Clear hardware capabilities on libitm.so with Sun ldro2012-01-231-0/+1
| | | | | | | | | | | | | * clearcap.map: New file. * acinclude.m4 (LIBITM_CHECK_LINKER_HWCAP): New test. * configure.ac: Call it. Clear HWCAP_LDFLAGS if defaulting to -mavx. * Makefile.am (AM_LDFLAGS): Add $(HWCAP_LDFLAGS) * configure: Regenerate. * Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183430 138bc75d-0d04-0410-961f-82ee72b054a4
* Skip static_ctor.C test (PR libitm/51173)ro2012-01-171-1/+1
| | | | | | | | PR libitm/51173 * testsuite/libitm.c++/static_ctor.C: Skip test, note PR, remove include, exclude options. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183253 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Filter out undo writes that overlap with the libitm stack.torvald2012-01-131-0/+23
| | | | | | | | | | | | | | PR libitm/51855 * config/generic/tls.h (GTM::mask_stack_top): New. (GTM::mask_stack_bottom): Declare. * config/generic/tls.c (GTM::mask_stack_bottom): New. * local.cc (gtm_undolog::rollback): Filter out any updates that overlap the libitm stack. Add current transaction as parameter. * libitm_i.h (GTM::gtm_undolog::rollback): Adapt. * beginend.cc (GTM::gtm_thread::rollback): Adapt. * testsuite/libitm.c/stackundo.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183172 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/51171aldyh2012-01-051-2/+2
| | | | | | | | | * testsuite/libitm.c/reentrant.c: Remove xfail. (thread): Pass x to pure(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182911 138bc75d-0d04-0410-961f-82ee72b054a4
* config:iains2011-11-221-4/+6
| | | | | | | | | | | | | | | | | | | | * weakref.m4: New file. libitm: * configure.ac: Use GCC_CHECK_ELF_STYLE_WEAKREF. * alloc_cpp.cc: Generate dummy functions if we don't HAVE_ELF_STYLE_WEAKREF. * eh_cpp.cc: Likewise. * configure: Regenerate. * aclocal.m4: Likewise. * config.h.in: Likewise. * Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181618 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm:iains2011-11-222-0/+12
| | | | | | | | | * testsuite/libitm.c/memcpy-1.c: Allow for MAP_ANON spelling. * testsuite/libitm.c/memset-1.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181611 138bc75d-0d04-0410-961f-82ee72b054a4
* Check ia32 instead of ilp32.hjl2011-11-141-1/+1
| | | | | | | | | 2011-11-14 H.J. Lu <hongjiu.lu@intel.com> * testsuite/lib/libitm.exp: Check ia32 instead of ilp32. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181360 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm port to Tru64 UNIXro2011-11-105-0/+9
| | | | | | | | | | | | | | * config/alpha/sjlj.S (_ITM_beginTransaction) [!__ELF__]: Don't use .hidden. (.note.GNU-stack): Only use if __linux__. * alloc_cpp.cc [!__osf__] (_ZnaXRKSt9nothrow_t): Dummy function. * testsuite/libitm.c/notx.c: Use dg-options "-pthread". * testsuite/libitm.c/reentrant.c: Likewise. * testsuite/libitm.c/simple-2.c: Likewise. * testsuite/libitm.c/txrelease.c: Likewise. * testsuite/libitm.c++/static_ctor.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181262 138bc75d-0d04-0410-961f-82ee72b054a4
* libitm: Remove unused code.rth2011-11-091-3/+1
| | | | | | In particular, unused code that's presenting portability problems. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181241 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge from transactional-memory branch.aldyh2011-11-0822-0/+1540
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181154 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud