- 11 Oct, 2013 40 commits
-
-
If an interface has hidden methods, we must make the interface table comdat if it is for an unnamed type. When we create a stub method for an unnamed type, don't make it publically visible. From-SVN: r203468
Ian Lance Taylor committed -
* go-gcc.cc (Gcc_backend::function_code_expression): New function. From-SVN: r203467
Chris Manghane committed -
PR tree-optimization/58640 * tree-ssa-threadupdate.c (mark_threaded_blocks): Truncate jump threading paths that cross over two loop entry points. * gcc.c-torture/execute/pr58640.c: New test. From-SVN: r203463
Jeff Law committed -
2013-10-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/vsx.md (*vsx_le_perm_load_v2di): Generalize to handle vector float as well. (*vsx_le_perm_load_v4si): Likewise. (*vsx_le_perm_store_v2di): Likewise. (*vsx_le_perm_store_v4si): Likewise. From-SVN: r203458
Bill Schmidt committed -
vector.md (vec_realign_load<mode>): Generate vperm directly to circumvent subtract from splat{31} workaround. 2013-10-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * config/rs6000/vector.md (vec_realign_load<mode>): Generate vperm directly to circumvent subtract from splat{31} workaround. * config/rs6000/rs6000-protos.h (altivec_expand_vec_perm_le): New prototype. * config/rs6000/rs6000.c (altivec_expand_vec_perm_le): New. * config/rs6000/altivec.md (define_c_enum "unspec"): Add UNSPEC_VPERM_X and UNSPEC_VPERM_UNS_X. (altivec_vperm_<mode>): Convert to define_insn_and_split to separate big and little endian logic. (*altivec_vperm_<mode>_internal): New define_insn. (altivec_vperm_<mode>_uns): Convert to define_insn_and_split to separate big and little endian logic. (*altivec_vperm_<mode>_uns_internal): New define_insn. (vec_permv16qi): Add little endian logic. From-SVN: r203457
Bill Schmidt committed -
* config/abi/post/x86_64-linux-gnu/x32/baseline_symbols.txt: Update. From-SVN: r203456
H.J. Lu committed -
From-SVN: r203455
Ian Lance Taylor committed -
From-SVN: r203454
Ian Lance Taylor committed -
From-SVN: r203452
Ian Lance Taylor committed -
2013-10-11 Marc Glisse <marc.glisse@inria.fr> * doc/extend.texi (returns_nonnull): Remove arguments. From-SVN: r203451
Marc Glisse committed -
From-SVN: r203450
Ian Lance Taylor committed -
/cp 2013-10-11 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58633 * parser.c (cp_parser_commit_to_topmost_tentative_parse): New. (cp_parser_pseudo_destructor_name): Use it. /testsuite 2013-10-11 Paolo Carlini <paolo.carlini@oracle.com> PR c++/58633 * g++.dg/cpp0x/decltype57.C: New. From-SVN: r203448
Paolo Carlini committed -
* c-common.h (omp_clause_mask::operator !=): New method. * c-omp.c (c_omp_split_clauses): Use if ((mask & something) != 0) instead of if (mask & something) tests everywhere. From-SVN: r203447
Jakub Jelinek committed -
/cp 2013-10-11 Paolo Carlini <paolo.carlini@oracle.com> PR c++/31671 * pt.c (convert_nontype_argument): Set expr_type to TREE_TYPE (probe_type). /testsuite 2013-10-11 Paolo Carlini <paolo.carlini@oracle.com> PR c++/31671 * g++.dg/template/nontype26.C: New. From-SVN: r203444
Paolo Carlini committed -
* config/i386/sse.md (VI48F_256_512): New. (avx2_permvar<mode>): Change to ... (<avx2_avx512f>_permvar<mode>): This. Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com> Co-Authored-By: Anna Tikhonova <anna.tikhonova@intel.com> Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com> Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com> Co-Authored-By: Kirill Yukhin <kirill.yukhin@intel.com> Co-Authored-By: Maxim Kuznetsov <maxim.kuznetsov@intel.com> Co-Authored-By: Michael Zolotukhin <michael.v.zolotukhin@intel.com> Co-Authored-By: Sergey Lega <sergey.s.lega@intel.com> From-SVN: r203442
Alexander Ivchenko committed -
* config/i386/i386.c (bdesc_args): Change corresponding pattern for __builtin_ia32_cvtps2dq, __builtin_ia32_cvtps2dq256. * config/i386/sse.md (VI4_AVX): New. (sf2simodelower): Ditto. (sse2_cvtps2dq): Change to ... (<sse2_avx_avx512f>_fix_notrunc<sf2simodelower><mode>): This. Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com> Co-Authored-By: Anna Tikhonova <anna.tikhonova@intel.com> Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com> Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com> Co-Authored-By: Kirill Yukhin <kirill.yukhin@intel.com> Co-Authored-By: Maxim Kuznetsov <maxim.kuznetsov@intel.com> Co-Authored-By: Michael Zolotukhin <michael.v.zolotukhin@intel.com> Co-Authored-By: Sergey Lega <sergey.s.lega@intel.com> From-SVN: r203441
Alexander Ivchenko committed -
* config/i386/sse.md (V_512): New. (VI_512): Ditto. (vcond<V_512:mode><VF_512:mode>): Ditto. (vcond<V_512:mode><VI_512:mode>): Ditto. (vcondu<V_512:mode><VI_512:mode>): Ditto. Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com> Co-Authored-By: Anna Tikhonova <anna.tikhonova@intel.com> Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com> Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com> Co-Authored-By: Kirill Yukhin <kirill.yukhin@intel.com> Co-Authored-By: Maxim Kuznetsov <maxim.kuznetsov@intel.com> Co-Authored-By: Michael Zolotukhin <michael.v.zolotukhin@intel.com> Co-Authored-By: Sergey Lega <sergey.s.lega@intel.com> From-SVN: r203440
Alexander Ivchenko committed -
* config/i386/i386.c (ix86_rtx_costs): Enable fma for TARGET_AVX512F. * config/i386/sse.md (FMAMODEM): Changed modes and conditions. (FMAMODE): Ditto. (fma<mode>4): Removed condition. (fms<mode>4): Ditto. (fnma<mode>4): Ditto. (fnms<mode>4): Ditto. (fma4i_fmadd_<mode>): Ditto. (*fma_fmadd_<mode>): Ditto. (*fma_fmsub_<mode>): Ditto. (*fma_fnmadd_<mode>): Ditto. (*fma_fnmsub_<mode>): Ditto. (fmaddsub_<mode>): Allow for TARGET_AVX512F. (*fma_fmaddsub_<mode>): Ditto. (*fma_fmsubadd_<mode>): Ditto. (*fmai_fmadd_<mode>): Ditto. (*fmai_fmsub_<mode>): Ditto. (*fmai_fnmadd_<mode>): Ditto. (*fmai_fnmsub_<mode>): Ditto. Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com> Co-Authored-By: Anna Tikhonova <anna.tikhonova@intel.com> Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com> Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com> Co-Authored-By: Kirill Yukhin <kirill.yukhin@intel.com> Co-Authored-By: Maxim Kuznetsov <maxim.kuznetsov@intel.com> Co-Authored-By: Michael Zolotukhin <michael.v.zolotukhin@intel.com> Co-Authored-By: Sergey Lega <sergey.s.lega@intel.com> From-SVN: r203439
Alexander Ivchenko committed -
* config/i386/sse.md (VI248_AVX2_8_AVX512F): New. (VI124_256): Changed to ... (VI124_256_48_512): This. (ssepackmode): Extended with wider modes. (<code><mode>3): Changed iterator. (*avx2_<code><mode>3): Ditto. (vec_pack_trunc_<mode>): Ditto. Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com> Co-Authored-By: Anna Tikhonova <anna.tikhonova@intel.com> Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com> Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com> Co-Authored-By: Kirill Yukhin <kirill.yukhin@intel.com> Co-Authored-By: Maxim Kuznetsov <maxim.kuznetsov@intel.com> Co-Authored-By: Michael Zolotukhin <michael.v.zolotukhin@intel.com> Co-Authored-By: Sergey Lega <sergey.s.lega@intel.com> From-SVN: r203437
Alexander Ivchenko committed -
* config/i386/sse.md (VI124_AVX2_48_AVX512F): New. (VI8F_256_512): Ditto. (abs<mode>2): Changed iterator. (avx2_perm<mode>): Changed to ... (<avx2_avx512f>_perm<mode>): This. (avx2_perm<mode>_1): Changed to ... (<avx2_avx512f>_perm<mode>_1): This. Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com> Co-Authored-By: Anna Tikhonova <anna.tikhonova@intel.com> Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com> Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com> Co-Authored-By: Kirill Yukhin <kirill.yukhin@intel.com> Co-Authored-By: Maxim Kuznetsov <maxim.kuznetsov@intel.com> Co-Authored-By: Michael Zolotukhin <michael.v.zolotukhin@intel.com> Co-Authored-By: Sergey Lega <sergey.s.lega@intel.com> From-SVN: r203436
Alexander Ivchenko committed -
* config/i386/sse.md (VI48_AVX512F): New. (VI48_AVX2): Changed to ... (VI48_AVX2_48_AVX512F): This. (avx2_ashrv<mode>): Changed to ... (<avx2_avx512f>_ashrv<mode>): This. (avx2_<shift_insn>v<mode>): Changed to ... (<avx2_avx512f>_<shift_insn>v<mode>): This. Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com> Co-Authored-By: Anna Tikhonova <anna.tikhonova@intel.com> Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com> Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com> Co-Authored-By: Kirill Yukhin <kirill.yukhin@intel.com> Co-Authored-By: Maxim Kuznetsov <maxim.kuznetsov@intel.com> Co-Authored-By: Michael Zolotukhin <michael.v.zolotukhin@intel.com> Co-Authored-By: Sergey Lega <sergey.s.lega@intel.com> From-SVN: r203435
Alexander Ivchenko committed -
* config/i386/sse.md (VI4_AVX512F): New. (VI8_AVX2_AVX512F): Ditto. (mul<mode>3): Extended with wider modes. (*<sse4_1_avx2>_mul<mode>3): Ditto. (mul<mode>3): Ditto. (vec_widen_<s>mult_odd_<mode>): Ditto. Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com> Co-Authored-By: Anna Tikhonova <anna.tikhonova@intel.com> Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com> Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com> Co-Authored-By: Kirill Yukhin <kirill.yukhin@intel.com> Co-Authored-By: Maxim Kuznetsov <maxim.kuznetsov@intel.com> Co-Authored-By: Michael Zolotukhin <michael.v.zolotukhin@intel.com> Co-Authored-By: Sergey Lega <sergey.s.lega@intel.com> From-SVN: r203434
Alexander Ivchenko committed -
* config/i386/sse.md (VI2_AVX512F): New. (VI124_AVX512F): Ditto. (sseunpackmode): Extended with wider modes. (sseunpackfltmode): Ditto. (vec_unpacks_float_hi_<mode>): Ditto. (vec_unpacks_float_lo_<mode>): Ditto. (vec_unpacku_float_hi_<mode>): Ditto. (vec_unpacku_float_lo_<mode>): Ditto. (vec_unpacks_lo_<mode>): Ditto. (vec_unpacks_hi_<mode>): Ditto. (vec_unpacku_lo_<mode>): Ditto. (vec_unpacku_hi_<mode>): Ditto. Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com> Co-Authored-By: Anna Tikhonova <anna.tikhonova@intel.com> Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com> Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com> Co-Authored-By: Kirill Yukhin <kirill.yukhin@intel.com> Co-Authored-By: Maxim Kuznetsov <maxim.kuznetsov@intel.com> Co-Authored-By: Michael Zolotukhin <michael.v.zolotukhin@intel.com> Co-Authored-By: Sergey Lega <sergey.s.lega@intel.com> From-SVN: r203433
Alexander Ivchenko committed -
* config/i386/i386.md (multdiv): New. (multdiv_mnemonic): Ditto. * config/i386/sse.md (<sse>_vmmul<mode>3): Changed to... (<sse>_vm<multdiv_mnemonic><mode>3): This. (<sse>_vmdiv<mode>3): Removed. Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com> Co-Authored-By: Anna Tikhonova <anna.tikhonova@intel.com> Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com> Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com> Co-Authored-By: Kirill Yukhin <kirill.yukhin@intel.com> Co-Authored-By: Maxim Kuznetsov <maxim.kuznetsov@intel.com> Co-Authored-By: Michael Zolotukhin <michael.v.zolotukhin@intel.com> Co-Authored-By: Sergey Lega <sergey.s.lega@intel.com> From-SVN: r203432
Alexander Ivchenko committed -
* config/i386/sse.md (V): Extended with wider modes. (VF2): Ditto. (ssehalfvecmode): Ditto. (i128): Ditto. (ssepackfltmode): Ditto. (avx_vec_concat<mode>): Ditto. (V_256_512): New iterator. (VF2_512_256): Ditto. (si2dfmode): New attribute. (si2dfmodelower): Ditto. (sf2dfmode): Ditto. (concat_tg_mode): Ditto. (floatv4siv4df2): Changed to ... (float<si2dfmodelower><mode>2): This. (avx_cvtps2pd256): Changed to ... (<sse2_avx_avx512f>_cvtps2pd<avxsizesuffix>): This. (vec_pack_trunc_v4df): Changed to ... (vec_pack_trunc_<mode>): This. (avx_vpermil<mode>): Changed to ... (<sse2_avx_avx512f>_vpermil<mode>): This. (<fixsuffix>fix_truncv8dfv8si2): New. (vec_pack_sfix_trunc_v8df): Ditto. (avx512f_rndscale<mode>): Ditto. (avx512f_roundpd512): Ditto. (vec_pack_ufix_trunc_<mode>): Updated iterator. Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com> Co-Authored-By: Anna Tikhonova <anna.tikhonova@intel.com> Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com> Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com> Co-Authored-By: Kirill Yukhin <kirill.yukhin@intel.com> Co-Authored-By: Maxim Kuznetsov <maxim.kuznetsov@intel.com> Co-Authored-By: Michael Zolotukhin <michael.v.zolotukhin@intel.com> Co-Authored-By: Sergey Lega <sergey.s.lega@intel.com> From-SVN: r203431
Alexander Ivchenko committed -
* config/i386/i386.md (any_fix): New iterator. (fixsuffix): New attribute. * config/i386/sse.md (VF1): Extened with wider modes. (VI): Ditto. (VI_AVX2): Ditto. (VI8): Ditto. (sseintvecmodelower): Ditto. (ssescalarmode): Ditto. (ssescalarnum): Ditto. (VF1_128_256): New. (ssexmmmode): Ditto. (<fixsuffix>fix_truncv16sfv16si2): Ditto. (<sse>_rcp<mode>2): Change iterator. (rsqrt<mode>2): Ditto. (<sse>_rsqrt<mode>2): Ditto. (avx2_vec_dup<mode>): Ditto. (<sse4_1>_round<ssemodesuffix>_sfix<avxsizesuffix>): Ditto. (round<mode>2_sfix): Ditto. (avx2_pbroadcast<mode>): Ditto. (*andnot<mode>3): Handle XI mode. (*<code><mode>3): Ditto. (AVXTOSSEMODE): Removed. (avx_vpermil<mode>): Changed to ... (<sse2_avx_avx512f>_vpermil<mode>): This. Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com> Co-Authored-By: Anna Tikhonova <anna.tikhonova@intel.com> Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com> Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com> Co-Authored-By: Kirill Yukhin <kirill.yukhin@intel.com> Co-Authored-By: Maxim Kuznetsov <maxim.kuznetsov@intel.com> Co-Authored-By: Michael Zolotukhin <michael.v.zolotukhin@intel.com> Co-Authored-By: Sergey Lega <sergey.s.lega@intel.com> From-SVN: r203429
Alexander Ivchenko committed -
* config/i386/sse.md (<sse2>_movnt<mode>): Update constraint to "v". (<sse>_comi): Ditto. (<sse>_ucomi): Ditto. (sse_cvtss2siq_2): Ditto. (sse2_cvtsd2si): Ditto. (sse2_cvtsd2siq): Ditto. (sse2_cvttsd2si): Ditto. (sse2_cvttsd2siq): Ditto. (<shift_insn><mode>3): Ditto. (sse2_cvtsi2sdq): Update constraint and prefix. (sse_cvtsi2ss): Update prefix. (sse_cvtsi2ssq): Ditto. Co-Authored-By: Andrey Turetskiy <andrey.turetskiy@intel.com> Co-Authored-By: Anna Tikhonova <anna.tikhonova@intel.com> Co-Authored-By: Ilya Tocar <ilya.tocar@intel.com> Co-Authored-By: Ilya Verbin <ilya.verbin@intel.com> Co-Authored-By: Kirill Yukhin <kirill.yukhin@intel.com> Co-Authored-By: Maxim Kuznetsov <maxim.kuznetsov@intel.com> Co-Authored-By: Michael Zolotukhin <michael.v.zolotukhin@intel.com> Co-Authored-By: Sergey Lega <sergey.s.lega@intel.com> From-SVN: r203428
Alexander Ivchenko committed -
* tree-vrp.c (infer_nonnull_range): Use is_gimple_call, ignore internal calls. From-SVN: r203427
Jakub Jelinek committed -
2013-10-11 Richard Biener <rguenther@suse.de> * tree-pretty-print.c (dump_generic_node): Allow to dump both (D) and (ab) for SSA_NAMEs. Mark INTEGER_CSTs with (OVF) if TREE_OVERFLOW is set. From-SVN: r203426
Richard Biener committed -
From-SVN: r203425
Marcus Shawcroft committed -
libgomp/ * testsuite/libgomp.graphite/force-parallel-1.c: Expect 4 instead of 5 loopfn matches. * testsuite/libgomp.graphite/force-parallel-2.c: Likewise. * testsuite/libgomp.graphite/force-parallel-3.c: Likewise. * testsuite/libgomp.graphite/force-parallel-4.c: Likewise. * testsuite/libgomp.graphite/force-parallel-5.c: Likewise. * testsuite/libgomp.graphite/force-parallel-6.c: Likewise. * testsuite/libgomp.graphite/force-parallel-7.c: Likewise. * testsuite/libgomp.graphite/force-parallel-8.c: Likewise. * testsuite/libgomp.graphite/force-parallel-9.c: Likewise. As changed in gomp-4_0-branch, r203282. Co-Authored-By: Jakub Jelinek <jakub@redhat.com> From-SVN: r203424
Thomas Schwinge committed -
libgomp/ * Makefile.am (omp_lib.mod): Streamline rule. From-SVN: r203423
Thomas Schwinge committed -
contrib/ * gcc_update (files_and_dependencies): Fix rule for libgomp/testsuite/Makefile.in. From-SVN: r203422
Thomas Schwinge committed -
libgomp/ * libgomp.texi (Runtime Library Routines): C linkage, don't throw exceptions. From-SVN: r203421
Thomas Schwinge committed -
libgomp/ * testsuite/libgomp.c/lib-1.c (main): Add missing error check. * testsuite/libgomp.fortran/lib1.f90: Likewise. * testsuite/libgomp.fortran/lib2.f: Likewise. * testsuite/libgomp.fortran/lib3.f: Likewise. From-SVN: r203420
Thomas Schwinge committed -
gcc/ * tree.h (OMP_CLAUSE_CODE): Remove duplicate definition. From-SVN: r203419
Thomas Schwinge committed -
libgomp/ * configure.ac: Typo fix. From-SVN: r203418
Thomas Schwinge committed -
gcc/testsuite/ * c-c++-common/cpp/openmp-define-1.c: New file. * c-c++-common/cpp/openmp-define-2.c: Likewise. * c-c++-common/cpp/openmp-define-3.c: Likewise. * gfortran.dg/openmp-define-1.f90: Likewise. * gfortran.dg/openmp-define-2.f90: Likewise. * gfortran.dg/openmp-define-3.f90: Likewise. libgomp/ * testsuite/libgomp.fortran/openmp_version-1.f: New file. * testsuite/libgomp.fortran/openmp_version-2.f90: Likewise. From-SVN: r203417
Thomas Schwinge committed -
gcc/testsuite/ * g++.dg/gomp/gomp.exp: Recurse into subdirectories when looking for test source files. * gcc.dg/gomp/gomp.exp: Likewise. * gcc.dg/gomp/appendix-a/a.35.1.c: Expect error. * gcc.dg/gomp/appendix-a/a.35.3.c: Likewise. * gcc.dg/gomp/appendix-a/a.35.4.c: Likewise. * gcc.dg/gomp/appendix-a/a.35.5.c: Likewise. * gcc.dg/gomp/appendix-a/a.35.6.c: Likewise. From-SVN: r203416
Thomas Schwinge committed -
gcc/ * gimple.c: GIMPLE statements have subcodes, not sub-codes. * gimple.h: Likewise. From-SVN: r203415
Thomas Schwinge committed
-