1. 18 Dec, 2013 16 commits
    • [AArch64 2/3 big.LITTLE] Allow tuning parameters without unique tuning targets. · 192ed1dd
      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
    • [AArch64 1/3 big.LITTLE] Driver rewriting of big.LITTLE names. · 682287fb
      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
    • Forgot to add a changelog entry for previous commit. Added here. · a5dcac11
      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
    • Added support for Cilk Plus SIMD-enabled function for C. · 41958c28
      +++ 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
    • * pt_BR.po: New. · 9651142d
      From-SVN: r206093
      Joseph Myers committed
    • passes.c (execute_function_dump): Set graph_dump_initialized appropriately. · 9d5879a6
      	* 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
    • tree-ssa.texi (SSA Operands): Remove reference to SSA_OP_VMAYUSE. · 50e6a148
      	* 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
    • re PR target/59539 (Missed optimisation: VEX-prefixed operations don't need aligned data) · 90be6e46
      	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
    • * gcc.dg/pr32912-2.c: Fix for 16-bit targets. · 69aeb34f
      From-SVN: r206089
      Nick Clifton committed
    • t-aprofile: Add cortex-a15.cortex-a7, cortex-a12, cortex-a57, cortex-a57.cortex-a53. · 0d78a2d4
      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
    • re PR debug/59418 (ICE in maybe_record_trace_start, at dwarf2cfi.c:2221) · a4d47cac
      	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
    • Fix PR number. · 468f5fc9
      From-SVN: r206083
      Jan Hubicka committed
    • sse.md (*fma_fmadd_<mode>): Extend to support masking. · 8b08db1e
              * 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
    • sse.md (avx512f_cmp<mode>3): Extend to support masking. · a95ec517
              * 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
    • Daily bump. · 82b8950f
      From-SVN: r206077
      GCC Administrator committed
  2. 17 Dec, 2013 24 commits