9e0fbc8...
by
"H.J. Lu" <email address hidden>
on 2015-05-22
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_ADJUSTMEN TS_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_ADJUSTMEN TS_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>
on 2015-11-11
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-82ee72b054 a4
a600501...
by
spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
on 2015-11-11
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-82ee72b054 a4
6943c9d...
by
vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
on 2015-11-11
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-82ee72b054 a4
0381a8e...
by
vries <vries@138bc75d-0d04-0410-961f-82ee72b054a4>
on 2015-11-11
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-82ee72b054 a4
a3f25f0...
by
redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
on 2015-11-11
* 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-82ee72b054 a4
8091d0b...
by
redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
on 2015-11-11
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-82ee72b054 a4
a2ea141...
by
uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
on 2015-11-11
* 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-82ee72b054 a4
f78b7f8...
by
ville <ville@138bc75d-0d04-0410-961f-82ee72b054a4>
on 2015-11-11
Correct the Changelog date of the previous commit.
git-svn-id: svn+ssh: //gcc.gnu. org/svn/ gcc/trunk@ 230177 138bc75d- 0d04-0410- 961f-82ee72b054 a4
82ccf19...
by
ville <ville@138bc75d-0d04-0410-961f-82ee72b054a4>
on 2015-11-11
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-82ee72b054 a4