- 18 Dec, 2013 16 commits
-
-
gcc/ * config/aarch64/aarch64-cores.def: Add new column for SCHEDULER_IDENT. * config/aarch64/aarch64-opts.h (AARCH64_CORE): Handle SCHEDULER_IDENT. * config/aarch64/aarch64.c (AARCH64_CORE): Handle SCHEDULER_IDENT. (aarch64_parse_cpu): mcpu implies a default value for mtune. * config/aarch64/aarch64.h (AARCH64_CORE): Handle SCHEDULER_IDENT. From-SVN: r206099
James Greenhalgh committed -
gcc/ * common/config/aarch64/aarch64-common.c (aarch64_rewrite_selected_cpu): New. (aarch64_rewrite_mcpu): New. * config/aarch64/aarch64-protos.h (aarch64_rewrite_selected_cpu): New. * config/aarch64/aarch64.h (BIG_LITTLE_SPEC): New. (BIG_LITTLE_SPEC_FUNCTIONS): Likewise. (ASM_CPU_SPEC): Likewise. (EXTRA_SPEC_FUNCTIONS): Likewise. (EXTRA_SPECS): Likewise. (ASM_SPEC): Likewise. * config/aarch64/aarch64.c (aarch64_start_file): Rewrite target CPU name. From-SVN: r206098
James Greenhalgh committed -
gcc/cp/ChangeLog. 2013-12-18 Balaji V. Iyer <balaji.v.iyer@intel.com> * parser.c (cp_parser_cilk_simd_clause_name): Changed cilk_clause_name to omp_clause_name. From-SVN: r206096
Balaji V. Iyer committed -
+++ gcc/ChangeLog +2013-12-18 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * omp-low.c (simd_clone_clauses_extract): Replaced the string + "cilk simd elemental" with "cilk simd function." + * config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen): + Removed a carriage-return from a warning string. + +++ gcc/c-family/ChangeLog +2013-12-18 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * c-common.c (c_common_attribute_table): Added "cilk simd function" + attribute. + * c-pragma.h (enum pragma_cilk_clause): Remove. + (enum pragma_omp_clause): Added the following fields: + PRAGMA_CILK_CLAUSE_NOMASK, PRAGMA_CILK_CLAUSE_MASK, + PRAGMA_CILK_CLAUSE_VECTORLENGTH, PRAGMA_CILK_CLAUSE_NONE, + PRAGMA_CILK_CLAUSE_LINEAR, PRAGMA_CILK_CLAUSE_PRIVATE, + PRAGMA_CILK_CLAUSE_FIRSTPRIVATE, PRAGMA_CILK_CLAUSE_LASTPRIVATE, + PRAGMA_CILK_CLAUSE_UNIFORM. + + +++ gcc/c/ChangeLog +2013-12-18 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * c-parser.c (struct c_parser::cilk_simd_fn_tokens): Added new field. + (c_parser_declaration_or_fndef): Added a check if cilk_simd_fn_tokens + field in parser is not empty. If not-empty, call the function + c_parser_finish_omp_declare_simd. + (c_parser_cilk_clause_vectorlength): Modified function to be shared + between SIMD-enabled functions and #pragma simd. Added new parameter. + (c_parser_cilk_all_clauses): Modified the usage of the function + c_parser_cilk_clause_vectorlength as mentioned above. + (c_parser_cilk_simd_fn_vector_attrs): New function. + (c_finish_cilk_simd_fn_tokens): Likewise. + (is_cilkplus_vector_p): Likewise. + (c_parser_omp_clause_name): Added checking for "vectorlength," + "nomask," and "mask" strings in clause name. + (c_parser_omp_all_clauses): Added 3 new case statements: + PRAGMA_CILK_CLAUSE_VECTORLENGTH, PRAGMA_CILK_CLAUSE_MASK and + PRAGMA_CILK_CLAUSE_NOMASK. + (c_parser_attributes): Added a cilk_simd_fn_tokens parameter. Added a + check for vector attribute and if so call the function + c_parser_cilk_simd_fn_vector_attrs. Also, when Cilk plus is enabled, + called the function c_finish_cilk_simd_fn_tokens. + (c_finish_omp_declare_simd): Added a check if cilk_simd_fn_tokens in + parser field is non-empty. If so, parse them as you would parse + the omp declare simd pragma. + (c_parser_omp_clause_linear): Added a new bool parm. is_cilk_simd_fn. + Added a check when step is a parameter and flag it as error. + (CILK_SIMD_FN_CLAUSE_MASK): New #define. + (c_parser_cilk_clause_name): Changed pragma_cilk_clause to + pragma_omp_clause. + +++ gcc/testsuite/ChangeLog +2013-12-18 Balaji V. Iyer <balaji.v.iyer@intel.com> + + * c-c++-common/cilk-plus/SE/ef_test.c: New test. + * c-c++-common/cilk-plus/SE/ef_test2.c: Likewise. + * c-c++-common/cilk-plus/SE/vlength_errors.c: Likewise. + * c-c++-common/cilk-plus/SE/ef_error.c: Likewise. + * c-c++-common/cilk-plus/SE/ef_error2.c: Likewise. + * c-c++-common/cilk-plus/SE/ef_error3.c: Likewise. + * gcc.dg/cilk-plus/cilk-plus.exp: Added calls for the above tests. + From-SVN: r206095
Balaji V. Iyer committed -
From-SVN: r206093
Joseph Myers committed -
* passes.c (execute_function_dump): Set graph_dump_initialized appropriately. (pass_init_dump_file): Similarly. (execute_one_pass): Pass new argument to do_per_function. * tree-pass.h (class opt_pass): New field graph_dump_initialized. From-SVN: r206092
Aldy Hernandez committed -
* doc/tree-ssa.texi (SSA Operands): Remove reference to SSA_OP_VMAYUSE. Synchronize SSA_OP* definitions with source. * ssa-iterators.h: Fix comment for FOR_EACH_IMM_USE_STMT. Add not to SSA_OP* macro definitions. From-SVN: r206091
Aldy Hernandez committed -
PR target/59539 * config/i386/sse.md (<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>, <sse2_avx_avx512f>_loaddqu<mode><mask_name>): New expanders, prefix existing define_insn names with *. * gcc.target/i386/pr59539-1.c: New test. * gcc.target/i386/pr59539-2.c: New test. From-SVN: r206090
Jakub Jelinek committed -
From-SVN: r206089
Nick Clifton committed -
From-SVN: r206087
Eric Botcazou committed -
2013-12-18 James Greenhalgh <james.greenhalgh@arm.com> Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/t-aprofile: Add cortex-a15.cortex-a7, cortex-a12, cortex-a57, cortex-a57.cortex-a53. Co-Authored-By: Kyrylo Tkachov <kyrylo.tkachov@arm.com> From-SVN: r206086
James Greenhalgh committed -
PR debug/59418 * dwarf2cfi.c (dwarf2out_frame_debug_cfa_offset): Fix comment and tidy. (dwarf2out_frame_debug_cfa_restore): Handle TARGET_DWARF_REGISTER_SPAN. (dwarf2out_frame_debug_expr): Tidy. From-SVN: r206084
Eric Botcazou committed -
From-SVN: r206083
Jan Hubicka committed -
* config/i386/sse.md (*fma_fmadd_<mode>): Extend to support masking. (*fma_fmsub_<mode>): Ditto. (*fma_fnmadd_<mode>): Ditto. (*fma_fnmsub_<mode>): Ditto. (*fma_fmaddsub_<mode>): Ditto. (*fma_fmsubadd_<mode>): Ditto. (avx512f_vternlog<mode>): Ditto. (avx512f_fixupimm<mode>): Ditto. (avx512f_sfixupimm<mode>): Ditto. (avx512f_vpermi2var<mode>3): Ditto. (avx512f_vpermt2var<mode>3): Ditto. (avx512f_fmaddsub_<mode>_maskz): New. (avx512f_vternlog<mode>_maskz): Ditto. (avx512f_fixupimm<mode>_maskz): Ditto. (avx512f_sfixupimm<mode>_maskz): Ditto. (avx512f_vpermi2var<mode>3_maskz): Ditto. (avx512f_vpermt2var<mode>3_maskz): Ditto. (avx512f_expand<mode>_maskz): Ditto. * config/i386/subst.md (sd_maskz_name): Ditto. (sd_mask_op4): Ditto. (sd_mask_op5): Ditto. (sd_mask_codefor): Ditto. (sd_mask_mode512bit_condition): Ditto. (sd): 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: r206081
Alexander Ivchenko committed -
* config/i386/sse.md (avx512f_cmp<mode>3): Extend to support masking. (avx512f_ucmp<mode>3): Ditto. (avx512f_eq<mode>3): Ditto. (avx512f_gt<mode>3): Ditto. (avx512f_testm<mode>3): Ditto. (avx512f_testnm<mode>3): Ditto. * config/i386/subst.md (SUBST_S): New. (mask_scalar_merge_name): Ditto. (mask_scalar_merge_operand3): Ditto. (mask_scalar_merge_operand4): Ditto. (mask_scalar_merge): 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: r206080
Alexander Ivchenko committed -
From-SVN: r206077
GCC Administrator committed
-
- 17 Dec, 2013 24 commits
-
-
PR middle-end/35535 * gimple-fold.c (fold_gimple_assign): Attempt to devirtualize OBJ_TYPE_REF. (gimple_fold_stmt_to_constant_1): Bypass OBJ_TYPE_REF wrappers. From-SVN: r206074
Jan Hubicka committed -
PR middle-end/35535 * tree-vrp.c (extract_range_from_unary_expr_1): Handle OBJ_TYPE_REF. From-SVN: r206073
Jan Hubicka committed -
2013-12-17 Teresa Johnson <tejohnson@google.com> PR gcov-profile/59527 * cfgrtl.c (fixup_reorder_chain): Handle a region-crossing branch, which can't be eliminated. From-SVN: r206072
Teresa Johnson committed -
Co-Authored-By: Jan Hubicka <jh@suse.cz> From-SVN: r206070
Martin Liska committed -
PR tree-optimization/59523 * tree-vectorizer.c (fold_loop_vectorized_call): Call update_stmt on updated stmts. * gcc.dg/pr59523.c: New test. From-SVN: r206069
Jakub Jelinek committed -
From-SVN: r206067
Ian Lance Taylor committed -
* ipa-inline.c (gate_ipa_inline): Remove. (const pass_data pass_data_ipa_inline): Unset has_gate. (class pass_ipa_inline): Remove gate() method. From-SVN: r206066
Aldy Hernandez committed -
From-SVN: r206065
Marek Polacek committed -
2013-12-17 Andreas Tobler <andreast@gcc.gnu.org> * io/unix.c (tempfile_open): Only use the needed flag O_CLOEXEC. From-SVN: r206064
Andreas Tobler committed -
2013-12-17 Andreas Tobler <andreast@gcc.gnu.org> * testsuite/libgomp.c/affinity-1.c: Remove alloca.h inlcude. Replace alloca () with __builtin_alloca (). * testsuite/libgomp.c/icv-2.c: Add FreeBSD coverage. * testsuite/libgomp.c/lock-3.c: Likewise. * testsuite/libgomp.c/pr48591.c: Likewise. From-SVN: r206063
Andreas Tobler committed -
PR ipa/58290 * gfortran.dg/pr58290.f90: New test. From-SVN: r206062
Jakub Jelinek committed -
* ipa-devirt.c (get_polymorphic_call_info): Fix offset calculatoin in contains_type_p query. From-SVN: r206061
Jan Hubicka committed -
From-SVN: r206060
Jan Hubicka committed -
gcc/ * omp-low.c (tmp_ompfn_id_num): Remove leftover variable definition. From-SVN: r206059
Thomas Schwinge committed -
gcc/ * tree-pass.h (make_pass_expand_omp_ssa): Remove leftover function declaration. From-SVN: r206058
Thomas Schwinge committed -
gcc/ * omp-low.c: Remove leftover comment. From-SVN: r206057
Thomas Schwinge committed -
gcc/testsuite/ * gcc.dg/dfp/wtr-conversion-1.c (testfunc1): Fix typo. From-SVN: r206056
Thomas Schwinge committed -
gcc/ * omp-low.c (check_combined_parallel): Reflect reality in comment. From-SVN: r206055
Thomas Schwinge committed -
gcc/ * doc/cfg.texi (Control Flow): Refer to passes.def instead of passes.c. * doc/passes.texi (Pass manager): Refer to passes.def. From-SVN: r206054
Thomas Schwinge committed -
gcc/ * doc/gccint.texi (Top): Fix inclusion order. From-SVN: r206053
Thomas Schwinge committed -
gcc/c/ * c-parser.c (c_parser_omp_parallel): Fix description. gcc/cp/ * parser.c (cp_parser_omp_parallel): Fix description. From-SVN: r206052
Thomas Schwinge committed -
PR testsuite/59534 * testsuite/libgomp.fortran/retval1.f90 (e5): Avoid non-shortcircuited comparisons. From-SVN: r206051
Jakub Jelinek committed -
2013-12-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/arm-cores.def (cortex-a12): Use cortexa15 scheduling. * config/arm/arm.c (arm_issue_rate): Handle cortexa12. * config/arm/arm.md (generic_vfp): Remove cortexa12. From-SVN: r206050
Kyrylo Tkachov committed -
gcc/ * config/arm/arm-cores.def (cortex-a57.cortex-a53): New. * doc/invoke.texi: Document -mcpu=cortex-a57.cortex-a53. * config/arm/arm-tables.opt: Regenerate. * config/arm/arm-tune.md: Regenerate. * config/arm/bpabi.h (BE8_LINK_SPEC): Handle -mcpu=cortex-a57.cortex-a53. From-SVN: r206049
James Greenhalgh committed
-