gcc/gcc/testsuite/g++.dg/other
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
..
PR23205.C Add ports for TILE-Gx and TILEPro. 2012-02-14 10:02:21 +00:00
abstract1.C re PR c++/48969 (ICE with -std=c++0x) 2011-06-07 17:54:07 -04:00
abstract2.C
abstract3.C re PR c++/51431 (ICE with invalid use of abstract class) 2011-12-06 17:12:17 +00:00
access1.C
access2.C
access3.C
anon-struct.C
anon-union.C
anon2.C
anon3.C Run most tests in both C++98 and C++11 modes. 2011-11-09 12:53:53 -05:00
anon4.C
anon5.C * g++.dg/other/anon5.C: Skip on mips-sgi-irix*. 2011-01-21 13:02:39 +00:00
arm-neon-1.C arm-neon-1.C: New test. 2010-06-11 16:55:42 +00:00
array1.C
array2.C
array3.C
array4.C
array5.C
array6.C re PR c++/43036 (c++ compilation hang) 2010-02-16 01:05:09 -05:00
assign1.C
big-struct.C
bitfield1.C
bitfield2.C
bitfield3.C re PR c++/16189 (obfuscated error message for missing semicolon after declaration in C++) 2010-11-20 18:50:00 +00:00
bitfield4.C re PR c++/42217 (ICE with zero-length bit-field) 2009-12-03 09:33:03 +01:00
builtin-unreachable-1.C re PR rtl-optimization/40445 (g++ void f() { __builtin_unreachable(); }) 2009-07-25 20:25:18 +00:00
builtin1.C
canon-31724.C
canon-33194.C
canon-37342.C
classkey1.C
complex1.C
component1.C
const1.C c-typeck.c (readonly_error): Delete. 2010-12-10 14:20:26 +00:00
const2.C
const3.C re PR middle-end/44101 (ICE compiling 25_algorithms/fill/4.cc on Tru64 UNIX V5.1B) 2010-05-21 10:02:07 +00:00
constref1.C
constref2.C
conversion1.C
copy1.C
copy2.C
crash-1.C
crash-2.C
crash-3.C
crash-4.C builtin-stringop-chk-1.c: Change ARM triplet to a more general form. 2010-08-11 02:00:15 +00:00
crash-5.C Fix PRs c++/42758, c++/42634, c++/42797 2010-01-29 15:30:41 +01:00
crash-6.C Fix PRs c++/42758, c++/42634, c++/42797 2010-01-29 15:30:41 +01:00
crash-7.C Fix PRs c++/42758, c++/42634, c++/42797 2010-01-29 15:30:41 +01:00
crash-8.C Fix PRs c++/42758, c++/42634, c++/42797 2010-01-29 15:30:41 +01:00
crash-9.C re PR c++/42915 (ICE: same canonical type node for different types in recent builds) 2010-02-05 09:28:24 +01:00
crash-10.C re PR c++/43327 (ICE in unifiy.c) 2010-03-26 10:20:58 +01:00
crash-11.C re PR c++/43327 (ICE in unifiy.c) 2010-03-26 10:20:58 +01:00
crash-12.C re PR c++/43953 (ICE: dependent_type_p, at cp/pt.c:17404) 2010-05-04 11:49:45 +02:00
ctor1.C
ctor2.C
cv_func.C decl.c (grokdeclarator): Don't check quals on fn type. 2010-05-19 17:02:03 -04:00
cv_func2.C
cxa-atexit1.C
darwin-cfstring1.C tests for Darwin CFStrings 2010-10-23 19:40:26 +00:00
darwin-minversion-1.C
datasec1.C
default1.C
default2.C allocate_deferred_char_scalar_1.f03: Fix dg-do syntax. 2011-02-23 16:24:04 +01:00
default3.C allocate_deferred_char_scalar_1.f03: Fix dg-do syntax. 2011-02-23 16:24:04 +01:00
default4.C
default5.C allocate_deferred_char_scalar_1.f03: Fix dg-do syntax. 2011-02-23 16:24:04 +01:00
default6.C
default7.C
do1.C
dtor1.C
dtor2.C allocate_deferred_char_scalar_1.f03: Fix dg-do syntax. 2011-02-23 16:24:04 +01:00
ellipsis1.C
enum1.C
enum2.C re PR c++/51248 (ICE with pointer to enum) 2011-12-14 17:26:13 -05:00
error1.C
error2.C
error3.C
error4.C
error5.C re PR c++/48969 (ICE with -std=c++0x) 2011-06-07 17:54:07 -04:00
error6.C
error7.C
error8.C
error9.C
error10.C re PR c++/48969 (ICE with -std=c++0x) 2011-06-07 17:54:07 -04:00
error11.C
error12.C
error13.C re PR c++/45329 (When printing a list of candidate functions, explain why each function failed to match.) 2010-12-08 21:37:51 +00:00
error14.C
error15.C
error16.C
error17.C
error18.C
error19.C
error20.C re PR c++/45329 (When printing a list of candidate functions, explain why each function failed to match.) 2010-12-08 21:37:51 +00:00
error21.C
error22.C re PR c++/37276 (Trouble with some (C99?) math builtins and namespace std) 2009-07-14 14:16:03 -04:00
error23.C re PR c++/49117 (4.5 -> 4.6: user-unfriendly change in "invalid conversion" error message) 2011-06-14 14:16:06 -04:00
error24.C
error25.C
error26.C
error27.C re PR c++/49813 ([C++0x] sinh vs asinh vs constexpr) 2011-07-22 12:06:08 -04:00
error28.C
error29.C
error30.C
error31.C re PR c++/45329 (When printing a list of candidate functions, explain why each function failed to match.) 2010-12-08 21:37:51 +00:00
error32.C re PR c++/49117 (4.5 -> 4.6: user-unfriendly change in "invalid conversion" error message) 2011-06-14 14:16:06 -04:00
error33.C re PR c++/42218 (Broken diagnostic: 'tree_vec' not supported by pp_c_expression) 2009-12-04 08:38:42 +01:00
error34.C re PR c++/46538 (ICE: SIGSEGV in cp_make_fname_decl (decl.c:3690) on invalid code when using __PRETTY_FUNCTION__) 2010-11-20 09:15:33 +01:00
field1.C re PR c++/48969 (ICE with -std=c++0x) 2011-06-07 17:54:07 -04:00
final1.C strlenopt-21.c (dg-options): Remove -fdump-tree-optimized. 2011-10-05 23:02:59 +02:00
first-global.C first-global.C: Update regexp to match new names of ctors. 2010-12-14 10:57:11 +00:00
fold1.C call.c (null_ptr_cst_p): Use maybe_constant_value. 2010-11-01 21:31:18 -04:00
friend1.C
friend2.C
friend3.C
friend4.C
friend5.C allocate_deferred_char_scalar_1.f03: Fix dg-do syntax. 2011-02-23 16:24:04 +01:00
gc1.C
gc2.C
gc3.C
gc4.C re PR c++/41119 (Revision 150805 failed 447.dealII in SPEC CPU 2006) 2009-08-19 13:14:33 -04:00
gc5.C re PR c++/51852 ([c++11] tree check: expected tree_list, have HßèMÕþÿøtxøtsø) 2012-01-27 18:55:55 +01:00
i386-1.C target-supports.exp (check_avx_hw_available): New procedure. 2010-07-23 13:33:19 +02:00
i386-2.C ChangeLog entry: 2012-03-12 09:59:25 +00:00
i386-3.C ChangeLog entry: 2012-03-12 09:59:25 +00:00
i386-4.C i386-3.C: Remove duplicated dg-options. 2011-09-21 23:02:48 +02:00
i386-7.C * config/i386/ia32intrin.h: Protect CRC32 builtins with __SSE4_2__. 2009-11-05 15:27:52 -08:00
i386-8.C i386-3.C: Remove duplicated dg-options. 2011-09-21 23:02:48 +02:00
i386-9.C re PR target/48142 (miscompilation with -Os -mpreferred-stack-boundary=5 -fstack-check) 2011-03-31 11:10:59 +00:00
incomplete1.C
incomplete2.C
incomplete3.C
increment1.C re PR c++/28584 (Cast to pointer from integer of different size) 2010-04-09 07:49:41 +00:00
infloop-1.C
init1.C
init2.C
java1.C
java2.C
label1.C
large-size-array.C demangle-expected: Add tests for __int128 and unsigned __int128 types. 2010-05-26 18:13:55 +02:00
linkage1.C
macro-1.C
main1.C
mmintrin.C i386-3.C: Remove duplicated dg-options. 2011-09-21 23:02:48 +02:00
mult-stor1.C
nested-extern-1.C
nested-extern-2.C
nested-extern.cc
new-size-type.C
new1.C
nontype-1.C
ns1.C
offsetof1.C
offsetof2.C
offsetof3.C re PR libstdc++/37907 ([c++0x] support for std::is_standard_layout) 2009-07-16 16:36:10 -04:00
offsetof4.C
offsetof5.C re PR c++/48969 (ICE with -std=c++0x) 2011-06-07 17:54:07 -04:00
offsetof6.C re PR c++/38699 (ICE using offsetof with pointer and array accesses) 2009-11-03 11:44:36 +01:00
offsetof7.C re PR c++/50608 (cannot apply 'offsetof' to a non-constant address) 2011-11-04 21:46:07 +00:00
opaque-1.C
opaque-2.C
opaque-3.C
operator1.C
operator2.C
packed1.C fp16-compile-none-1.c: Update expected error. 2011-05-25 16:30:27 +00:00
pr20366.C
pr22003.C
pr22358.C
pr23205-2.C Add ports for TILE-Gx and TILEPro. 2012-02-14 10:02:21 +00:00
pr24623.C
pr25632.C nullptr04.C: Use __INTPTR_TYPE__. 2010-07-01 10:37:22 -04:00
pr27495.C
pr28114.C re PR c++/45329 (When printing a list of candidate functions, explain why each function failed to match.) 2010-12-08 21:37:51 +00:00
pr28304.C
pr28432.C
pr29610.C
pr31078.C
pr33558-2.C re PR c++/33558 ('mutable' incorrectly accepted on reference members) 2011-01-15 14:41:09 +00:00
pr33558.C re PR c++/33558 ('mutable' incorrectly accepted on reference members) 2011-01-15 14:41:09 +00:00
pr33601.C
pr34435.C i386-3.C: Remove duplicated dg-options. 2011-09-21 23:02:48 +02:00
pr35011.C
pr35504.C Add x32 support to GCC testsuite. 2011-07-09 12:25:11 -07:00
pr36944.C
pr37394.C
pr37789.C
pr38706.C
pr39060.C Handle deferred parsing of NSDMIs. 2011-09-24 22:26:01 -04:00
pr39496.C i386-3.C: Remove duplicated dg-options. 2011-09-21 23:02:48 +02:00
pr40446.C target-supports.exp (check_avx_hw_available): New procedure. 2010-07-23 13:33:19 +02:00
pr40561.C re PR c++/40561 (code does not compile -- compiles fine when replacing != with !(==)) 2010-04-27 11:27:18 +00:00
pr42645-1.C re PR tree-optimization/42645 ("-fcompare-debug failure" at -O1) 2010-01-12 10:43:31 +01:00
pr42645-2.C re PR tree-optimization/42645 ("-fcompare-debug failure" at -O1) 2010-01-12 10:43:31 +01:00
pr42685.C re PR tree-optimization/42685 ("-fcompare-debug failure" with "-O1 -funroll-loops" (2)) 2010-01-26 16:27:34 +00:00
pr42806.C re PR tree-optimization/42806 ("-fcompare-debug failure (length)" at -O1 in recent builds) 2010-01-26 15:09:43 +00:00
pr43116.C re PR c++/43116 (ICE when using attributes in a function alias declaration) 2010-03-19 16:37:27 +00:00
pr47218-1.C re PR c++/47218 (C++ multiple definitions of non-virtual thunk problem) 2011-01-10 00:33:32 +00:00
pr47218.C gcc-gdb-test.exp (gdb-test): Delete $cmd_file before return. 2011-10-10 20:23:30 +02:00
pr47218.h re PR c++/47218 (C++ multiple definitions of non-virtual thunk problem) 2011-01-10 00:33:32 +00:00
pr49133.C re PR target/49133 (modification of aliased __m128d miscompiles) 2011-05-24 17:31:12 +02:00
pr49912.C re PR rtl-optimization/49912 (ICE from -freorder-blocks-and-partition : verify_flow_info failed) 2011-11-26 21:50:28 +01:00
pr50212.C re PR rtl-optimization/50212 (ICE: in ei_container, at basic-block.h:610 with -fnon-call-exceptions -freorder-blocks-and-partition) 2011-09-12 19:55:36 +02:00
pr50464.C re PR target/50464 (Using -Ofast -march=bdver1 results in internal compiler error: in extract_insn, at recog.c:2109) 2011-09-21 19:37:00 +02:00
pr52048.C re PR debug/52048 (-fcompare-debug failure with -O2 -fcompare-debug -fnon-call-exceptions -fno-tree-dominator-opts) 2012-01-30 14:47:38 +01:00
pragma-ep-1.C _Pragma1.C: Skip on alpha*-dec-osf*. 2010-04-01 12:43:04 +00:00
pragma-re-1.C re PR c++/30112 (pragma redefine_extname fails when namespaces are involved) 2011-07-22 15:59:49 -04:00
pragma-re-2.C extend.texi (Symbol-Renaming Pragmas): redefine_extname is supported on all platforms. 2009-08-14 17:25:48 -04:00
profile1.C profile-generate-3.c: Call dg-require-profiling with empty argument. 2010-08-12 12:42:59 +02:00
ptrmem1.C
ptrmem2.C
ptrmem3.C
ptrmem4.C
ptrmem5.C
ptrmem6.C
ptrmem7.C
ptrmem8.C
ptrmem9.C
ptrmem10.C re PR c++/45329 (When printing a list of candidate functions, explain why each function failed to match.) 2011-07-16 22:34:10 -04:00
ptrmem11.C re PR c++/45329 (When printing a list of candidate functions, explain why each function failed to match.) 2011-07-16 22:34:10 -04:00
qual1.C
redecl1.C
redecl2.C
return1.C
s390-1.C
scope1.C
semicolon.C re PR c++/16189 (obfuscated error message for missing semicolon after declaration in C++) 2010-11-20 18:50:00 +00:00
spu2vmx-1.C
static1.C
static2.C
static11.C
stdarg1.C
stdarg2.C
stdarg3.C
struct-va_list.C
switch1.C
switch2.C
switch3.C
synth1.C
typedef1.C re PR c++/18451 (C++ error message regression) 2009-11-07 22:47:36 -05:00
typedef2.C
typedef3.C
typedef4.C Fix MIPS bootstrap 2010-06-11 10:19:21 +02:00
ucnid-1.C target-supports.exp (check_effective_target_ucn_nocache): New function. 2010-03-01 12:40:38 +00:00
unreachable1.C
unused1.C Enable implicitly deleted functions (N2346) 2010-06-29 20:51:29 -04:00
var_copy-1.C
vararg-1.C
vararg-2.C
vararg-3.C
virtual1.C
virtual2.C
void1.C
void2.C
vrp1.C
vthunk1.C
warning1.C prune.exp: Prune "note"s. 2011-06-09 23:56:17 -04:00