gcc

~vcs-imports/gcc/+git/gcc:hjl/pr66250

Last commit made on 2015-11-11
Get this branch:
git clone -b hjl/pr66250 https://git.launchpad.net/~vcs-imports/gcc/+git/gcc

Branch merges

Branch information

Name:
hjl/pr66250
Repository:
lp:~vcs-imports/gcc/+git/gcc

Recent commits

9e0fbc8... by "H.J. Lu" <email address hidden>

Add a file to make machine mode adjustments

machmode.def has

/* Allow the target to specify additional modes of various kinds. */

/* Complex modes. */
COMPLEX_MODES (INT);
COMPLEX_MODES (FLOAT);

/* Decimal floating point modes. */
DECIMAL_FLOAT_MODE (SD, 4, decimal_single_format);
DECIMAL_FLOAT_MODE (DD, 8, decimal_double_format);
DECIMAL_FLOAT_MODE (TD, 16, decimal_quad_format);

We can't adjust any complex nor DFP modes in i386-modes.def since they
aren't available yet. But we need to include i386-modes.def before

COMPLEX_MODES (INT);
COMPLEX_MODES (FLOAT);

to get extra modes. This patch adds EXTRA_ADJUSTMENTS_FILE containing
adjustments to machine modes and includes it after all modes have been
created.

 PR other/66250
 * Makefile.in (extra_adjustments_file): New.
 (build/genmodes.o): Depend on $(extra_adjustments_file).
 * config.gcc (extra_adjustments): New. Set to
 ${cpu_type}/${cpu_type}-adjustments.def if available.
 * configure.ac (extra_adjustments): AC_SUBST and
 AC_DEFINE_UNQUOTED if set.
 * genmodes.c (HAVE_EXTRA_ADJUSTMENTS): New.
 (EXTRA_ADJUSTMENTS_FILE): Likewise.
 (emit_autogen_header): Likewise.
 (emit_insn_modes_h): Call emit_autogen_header.
 (emit_insn_modes_c_header): Likewise.
 (emit_min_insn_modes_c_header): Likewise.
 * machmode.def: Include EXTRA_ADJUSTMENTS_FILE if
 HAVE_EXTRA_ADJUSTMENTS is 1.
 * config.in: Regenerated.
 * configure: Likewise.
 * config/i386/i386-modes.def (ADJUST_FLOAT_FORMAT,
 ADJUST_BYTESIZE, ADJUST_ALIGNMENT): Moved to ...
 * config/i386/i386-adjustments.def: Here. New file.

df24635... by spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>

improve construction of the original schedule

The patch builds the original schedule based on the now optimized scattering
dimension instead of building one based on the loop index only.

The implementation is simpler and catches more cases where the original schedule
and the transformed schedule are the same, such as the one below:

for (i = 0; i < 1000; i++)
{
  Temp = F[i];
  for (j = 0; j < 1000; j++)
 {
    D[j] = E[j] * Temp;
    A[i][j] = A[i][j] + B[i][j] * C[i][j] - D[j] ;
  }
  D[i] = E[i] * F[i];
}

  * graphite-sese-to-poly.c (build_scop_original_schedule): Call
  isl_union_map_add_map on every pbb->schedule.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230191 138bc75d-0d04-0410-961f-82ee72b054a4

a600501... by spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>

add testsuite automatic dg-options and dg-do action for isl-ast-gen-* and fuse-* files

        * gcc.dg/graphite/fuse-1.c: Adjust pattern. Remove dg-do.
        * gcc.dg/graphite/fuse-2.c: Same.
        * gcc.dg/graphite/graphite.exp (opt_files): Add fuse-*.c and
        isl-ast-gen-*.c files.
        * gcc.dg/graphite/isl-ast-gen-blocks-1.c: Remove dg-do and dg-options.
        * gcc.dg/graphite/isl-ast-gen-blocks-2.c: Same.
        * gcc.dg/graphite/isl-ast-gen-blocks-3.c: Same.
        * gcc.dg/graphite/isl-ast-gen-blocks-4.c: Same.
        * gcc.dg/graphite/isl-ast-gen-if-1.c: Same.
        * gcc.dg/graphite/isl-ast-gen-if-2.c: Same.
        * gcc.dg/graphite/isl-ast-gen-single-loop-1.c: Same.
        * gcc.dg/graphite/isl-ast-gen-single-loop-2.c: Same.
        * gcc.dg/graphite/isl-ast-gen-single-loop-3.c: Same.
        * gcc.dg/graphite/isl-ast-gen-user-1.c: Same.
        * gcc.dg/graphite/isl-codegen-loop-dumping.c: Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230190 138bc75d-0d04-0410-961f-82ee72b054a4

6943c9d... by vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>

Make create_parallel_loop return void

2015-11-11 Tom de Vries <email address hidden>

 * tree-parloops.c (create_parallel_loop): Return void.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230189 138bc75d-0d04-0410-961f-82ee72b054a4

0381a8e... by vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>

Insert new exit block only when needed in transform_to_exit_first_loop_alt

2015-11-11 Tom de Vries <email address hidden>

 * tree-parloops.c (transform_to_exit_first_loop_alt): Insert new exit
 block only when needed.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230188 138bc75d-0d04-0410-961f-82ee72b054a4

a3f25f0... by redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>

 * libsupc++/new_handler.cc: Fix for explicit constructor change.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230184 138bc75d-0d04-0410-961f-82ee72b054a4

8091d0b... by redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>

Loop in std::this_thread sleep functions

 PR libstdc++/60421
 * include/std/thread (this_thread::sleep_for): Retry on EINTR.
 (this_thread::sleep_until): Retry if time not reached.
 * src/c++11/thread.cc (__sleep_for): Retry on EINTR.
 * testsuite/30_threads/this_thread/60421.cc: Test interruption and
 non-steady clocks.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230183 138bc75d-0d04-0410-961f-82ee72b054a4

a2ea141... by uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>

 * config/alpha/alpha-protos.h (print_operand): Remove.
 (print_operand_address): Remove.
 * config/alpha/alpha.h (PRINT_OPERAND): Remove.
 (PRINT_OPERAND_ADDRESS): Remove.
 (PRINT_OPERAND_PUNCT_VALID_P): Remove.
 * config/alpha/alpha.c (TARGET_PRINT_OPERAND): New hook define.
 (TARGET_PRINT_OPERAND_ADDRESS): New hook define.
 (TARGET_PRINT_OPERAND_PUNCT_VALID_P): New hook define.
 (print_operand_address): Rename to...
 (alpha_print_operand_address): ...this and make static.
 (print_operand): Rename to...
 (alpha_print_operand): ...this and make static.
 (alpha_print_operand_punct_valid_p): New static function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230181 138bc75d-0d04-0410-961f-82ee72b054a4

f78b7f8... by ville <ville@138bc75d-0d04-0410-961f-82ee72b054a4>

Correct the Changelog date of the previous commit.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230177 138bc75d-0d04-0410-961f-82ee72b054a4

82ccf19... by ville <ville@138bc75d-0d04-0410-961f-82ee72b054a4>

2015-11-10 Ville Voutilainen <email address hidden>

 LWG 2510, make the default constructors of library tag types
 explicit.
 * include/bits/mutex.h (defer_lock_t, try_lock_t,
 adopt_lock_t): Add an explicit default constructor.
 * include/bits/stl_pair.h (piecewise_construct_t): Likewise.
 * include/bits/uses_allocator.h (allocator_arg_t): Likewise.
 * libsupc++/new (nothrow_t): Likewise.
 * testsuite/17_intro/tag_type_explicit_ctor.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@230175 138bc75d-0d04-0410-961f-82ee72b054a4