gcc/gcc/testsuite/g++.dg
Kirill Yukhin bf2eaa3f2d ChangeLog entry:
* doc/invoke.texi: Document -mrtm option.
	  * common/config/i386/i386-common.c (OPTION_MASK_ISA_RTM_SET):
	  New.
	  (OPTION_MASK_ISA_RTM_UNSET): Ditto.
	  (ix86_handle_option): Handle OPT_mrtm.
	  * config.gcc (i[34567]86-*-*): Add rtmintrin.h and
	  xtestintrin.h.
	  (x86_64-*-*): Ditto.
	  * i386-builtin-types.def (INT_FTYPE_VOID): New.
	  * config/i386/i386-c.c (ix86_target_macros_internal): Define
	  __RTM__ if needed.
	  (ix86_target_string): Define -mrtm option.
	  (PTA_RTM): New.
	  (ix86_option_override_internal): Extend "corei7-avx" with
	  RTM option. Handle new option.
	  (ix86_valid_target_attribute_inner_p): Add OPT_mrtm.
	  (ix86_builtins): Add IX86_BUILTIN_XBEGIN, IX86_BUILTIN_XEND,
	  IX86_BUILTIN_XTEST.
	  (bdesc_special_args): Ditto.
	  (ix86_init_mmx_sse_builtins): Add IX86_BUILTIN_XABORT.
	  (ix86_expand_special_args_builtin): Handle new built-in type.
	  (ix86_expand_builtin): Handle XABORT instruction.
	  * config/i386/i386.h (TARGET_RTM): New.
	  * config/i386/i386.md (UNSPECV_XBEGIN): New.
	  (UNSPECV_XEND): Ditto.
	  (UNSPECV_XABORT): Ditto.
	  (UNSPECV_XTEST): Ditto.
	  (xbegin): Ditto.
	  (xbegin_1): Ditto.
	  (xend): Ditto.
	  (xabort): Ditto
	  (xtest): Ditto.
	  (xtest_1): Ditto.
	  * config/i386/i386.opt (mrtm): New.
	  * config/i386/immintrin.h: Include rtmintrin.h and
	  xtestintrin.h.
	  * config/i386/rtmintrin.h: New header.
	  * config/i386/xtestintrin.h: Ditto.

testsuite/ChangeLog entry:
    * gcc.target/i386/rtm-xabort-1.c: New.
    * gcc.target/i386/rtm-xbegin-1.c: Ditto.
    * gcc.target/i386/rtm-xend-1.c: Ditto.
    * gcc.target/i386/rtm-xtest-1.c: Ditto.
    * gcc.target/i386/sse-12.c: Test RTM intrinsics.
    * gcc.target/i386/sse-13.c: Ditto.
    * gcc.target/i386/sse-14.c: Ditto.
    * gcc.target/i386/sse-22.c: Ditto.
    * gcc.target/i386/sse-23.c: Ditto.
    * g++.dg/other/i386-2.C: Ditto.
    * g++.dg/other/i386-3.C: Ditto.

From-SVN: r185218
2012-03-12 09:59:25 +00:00
..
abi re PR c++/51854 (ICE in mangle.c with literal of complex floating type) 2012-01-16 16:32:14 -05:00
bprob
charset Run most tests in both C++98 and C++11 modes. 2011-11-09 12:53:53 -05:00
compat
conversion re PR c++/51379 ([C++0x] [DR 799] reinterpret_cast is not particularly useful) 2012-01-01 20:21:36 +00:00
cpp
cpp0x re PR c++/52521 ([C++11] user defined literals and order of declaration) 2012-03-07 15:20:00 -05:00
debug re PR debug/52260 (ICE in clone_tree_hash, at dwarf2out.c:7424) 2012-02-16 09:47:24 +01:00
dfp Run most tests in both C++98 and C++11 modes. 2011-11-09 12:53:53 -05:00
diagnostic PR c++/51427 - Better diagnostic when union/struct tags conflicts 2011-12-06 11:06:49 +01:00
eh memopt-6.c: Cleanup tmedge tree dump. 2011-11-17 00:09:17 +01:00
expr
ext re PR c++/51930 (Explicitly instantiated template gets hidden visibility) 2012-03-05 13:08:56 -05:00
gcov PR debug/49951 - jumpy stepping at end of scope in C++ 2011-12-20 14:36:04 +01:00
gomp re PR c++/51669 (ICE verify-gimple with openmp) 2012-01-03 08:49:48 +01:00
graphite Run most tests in both C++98 and C++11 modes. 2011-11-09 12:53:53 -05:00
guality
inherit re PR c++/51812 (Virtual public inheritance and thunks leads to "undefined reference" in header files.) 2012-01-24 08:37:38 -05:00
init re PR c++/51461 ([c++0x] [4.7 Regression] ICE with invalid initialization of static data member) 2011-12-16 17:34:49 -05:00
ipa re PR middle-end/51929 (ICE: verify_cgraph_node failed with -O2 -fno-guess-branch-probability -fipa-cp-clone) 2012-02-16 08:25:58 +01:00
lookup Revert "PR c++/51641 - Lookup finds enclosing class member instead of template parameter" 2012-01-30 15:54:39 +01:00
lto re PR lto/52400 (lto1: ICE with extern on static linkage) 2012-02-28 09:13:40 +00:00
opt re PR tree-optimization/52429 (ICE in separate_decls_in_region_debug, at tree-parloops.c:914 with -ftree-parallelize-loops) 2012-02-29 18:43:56 +01:00
other ChangeLog entry: 2012-03-12 09:59:25 +00:00
overload re PR c++/39055 ([DR 1443][4.4/4.5/4.6/4.7 regression] questionable default parameter of a member function accepted) 2012-02-14 03:39:51 -05:00
parse re PR c++/51223 (ICE with invalid function parameter) 2012-01-24 10:39:03 +00:00
pch re PR testsuite/51919 (g++.dg/pch/mangle1.* test FAILs without LTO) 2012-01-20 16:53:29 -05:00
plugin
rtti re PR c++/29273 (error on dynamic_cast<T>(array)) 2012-01-03 15:29:42 +00:00
simulate-thread Run most tests in both C++98 and C++11 modes. 2011-11-09 12:53:53 -05:00
special
tc1
template re PR c++/52126 (compilation error) 2012-02-17 08:49:35 +01:00
tls Run most tests in both C++98 and C++11 modes. 2011-11-09 12:53:53 -05:00
tm target-supports.exp (check_effective_target_fgnu_tm): New proc. 2012-02-14 22:06:56 +00:00
torture devirt2.C: Add rule for *-*-mingw* target. 2012-02-22 20:38:30 +01:00
tree-prof re PR tree-optimization/51719 (ICE: verify_gimple failed: LHS in noreturn call with -fpartial-inlining -fprofile-use and exceptions) 2012-01-03 10:09:41 +01:00
tree-ssa re PR tree-optimization/50622 (ICE: verify_gimple failed for std::complex<double>) 2011-12-02 13:53:03 +01:00
vect re PR tree-optimization/51485 (ICE in vectorizable_assignment) 2011-12-11 22:01:00 +01:00
warn re PR c++/50012 (C++ front end misses -Wsign-compare warnings when extraneous parentheses are present) 2012-01-14 00:22:14 +00:00
20090107-1.C
20090121-1.C
README
cdce3.C cdce3.C: Use dg-additional-options. 2011-11-28 23:05:46 +01:00
constexpr-null1.C
dg.exp Run most tests in both C++98 and C++11 modes. 2011-11-09 12:53:53 -05:00
func-args-1.C
pr37742.C
pr44328.C
pr44486.C
pr45038.C
pr45049-1.C
pr45049-2.C
pr45056.C
pr45112.C
pr45310.C
pr45330.C
pr45788.C
pr46065.C
pr46852.C
pr46868.C
pr46890.C
pr47053.C
pr47589.C
pr48484.C
pr48633.C
pr48660.C
pr48772.C
pr50672.C
pr50763-3.C
pr50763-4.C re PR tree-optimization/50763 (ICE: verify_gimple failed: missing PHI def with -ftree-tail-merge) 2011-11-04 10:56:39 +00:00
prof-robust-1.C
pubtypes.C
uninit-pred-1_a.C
uninit-pred-1_b.C
uninit-pred-2_a.C
uninit-pred-2_b.C
uninit-pred-3_a.C
uninit-pred-3_b.C
uninit-pred-loop-1_a.cc
uninit-pred-loop-1_b.cc
uninit-pred-loop-1_c.cc
uninit-pred-loop_1.cc

README

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Subdirectories:

abi	 Tests for ABI compatibility -- mangling, object layout, etc.
bprob	 Tests for functionality of profile-directed block ordering.
charset	 Tests for input character set translation.
compat	 Tests for binary compatibility (consistency, not ABI conformance).
conversion Tests for correct type conversions.
cpp	 Tests for the preprocessor.
debug	 Tests for debugging options.
eh	 Tests for exception handling.
expr     Tests for expressions.
ext	 Tests for GNU language extensions.
gcov	 Tests for GCOV (code coverage) support.
inherit	 Tests for inheritance -- virtual functions, multiple inheritance, etc.
init	 Tests for initialization semantics, constructors/destructors, etc.
lookup	 Tests for lookup semantics, namespaces, using, etc.
lto	 Tests for Link Time Optimization.
opt	 Tests for fixes of bugs with particular optimizations.
overload Tests for overload resolution and conversions.
parse	 Tests for parsing.
pch	 Tests for precompiled headers.
plugin   Tests for plugin support.
rtti	 Tests for run-time type identification (typeid, dynamic_cast, etc.)
template Tests for templates.
tc1	 Tests for Technical Corrigendum 1 conformance.
tls	 Tests for support of thread-local data.
tree-ssa Tests for Tree SSA optimizations.
warn	 Tests for compiler warnings.

other	 Tests that don't fit into one of the other categories.

special	 Tests that need custom expect code to run them; see special/ecos.exp
	 for an example.


Copyright (C) 2001, 2002, 2003, 2004 Free Software Foundation, Inc.

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.