Go to file
Prathamesh Kulkarni e72531b9cb re PR tree-optimization/43721 (Failure to optimise (a/b) and (a%b) into single __aeabi_idivmod call)
2016-10-28  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
	    Kugan Vivekanandarajah  <kuganv@linaro.org>
	    Jim Wilson  <jim.wilson@linaro.org>

	PR tree-optimization/43721
	* target.def: New hook expand_divmod_libfunc.
	* doc/tm.texi.in: Add hook for TARGET_EXPAND_DIVMOD_LIBFUNC
	* doc/tm.texi: Regenerate.
	* internal-fn.def: Add new entry for DIVMOD ifn.
	* internal-fn.c (expand_DIVMOD): New.
	* tree-ssa-math-opts.c: Include optabs-libfuncs.h, tree-eh.h,
	targhooks.h.
	(widen_mul_stats): Add new field divmod_calls_inserted.
	(target_supports_divmod_p): New.
	(divmod_candidate_p): Likewise.
	(convert_to_divmod): Likewise.
	(pass_optimize_widening_mul::execute): Call
	calculate_dominance_info(), renumber_gimple_stmt_uids() at
	beginning of function. Call convert_to_divmod()
	and record stats for divmod.
	* config/arm/arm.c (arm_expand_divmod_libfunc): Override hook
	TARGET_EXPAND_DIVMOD_LIBFUNC.
	* doc/sourcebuild.texi: Add items for arm_divmod_simode, divmod,
	divmod_simode.

testsuite/
	* lib/target-supports.exp (check_effective_target_divmod): New.
	(check_effective_target_divmod_simode): Likewise.
	(check_effective_target_arm_divmod_simode): Likewise.
	* gcc.dg/divmod-1-simode.c: New test.
	* gcc.dg/divmod-1.c: Likewise.
	* gcc.dg/divmod-2-simode.c: Likewise.
	* gcc.dg/divmod-2.c: Likewise.
	* gcc.dg/divmod-3-simode.c: Likewise.
	* gcc.dg/divmod-3.c: Likewise.
	* gcc.dg/divmod-4-simode.c: Likewise.
	* gcc.dg/divmod-4.c: Likewise.
	* gcc.dg/divmod-5.c: Likewise.
	* gcc.dg/divmod-6-simode.c: Likewise.
	* gcc.dg/divmod-6.c: Likewise.
	* gcc.dg/divmod-7.c: Likewise.

Co-Authored-By: Jim Wilson <jim.wilson@linaro.org>
Co-Authored-By: Kugan Vivekanandarajah <kuganv@linaro.org>

From-SVN: r241660
2016-10-28 19:05:12 +00:00
INSTALL
boehm-gc
config
contrib Add BZ marker to recent commit 2016-10-25 09:02:32 -06:00
fixincludes check.tpl: Convert line endings to unix on test outputs 2016-09-30 10:36:18 -06:00
gcc re PR tree-optimization/43721 (Failure to optimise (a/b) and (a%b) into single __aeabi_idivmod call) 2016-10-28 19:05:12 +00:00
gnattools
gotools
include dwarf2.h (enum dwarf_calling_convention): Add new DWARF5 calling convention codes. 2016-10-17 19:35:33 +02:00
intl
libada
libatomic
libbacktrace
libcc1
libcilkrts
libcpp input.c/libcpp: fix lifetimes of path buffers 2016-10-25 19:24:01 +00:00
libdecnumber
libffi
libgcc PR libgcc/78064: Add missing include directive to unwind-c.c 2016-10-24 20:25:09 +02:00
libgfortran New I/O specifiers CARRIAGECONTROL, READONLY, SHARE with -fdec. 2016-10-26 12:11:44 +00:00
libgo re PR go/78143 (bootstrap broken in libgo on powerpc-linux-gnu) 2016-10-28 18:57:36 +00:00
libgomp oacc-init.c (goacc_new_thread): Use sizeof of the appropriate size when allocating new thread. 2016-10-27 17:36:36 +00:00
libiberty
libitm
libmpx
libobjc
liboffloadmic
libquadmath
libsanitizer re PR sanitizer/77567 (ASAN: Bugus error "alloc-dealloc-mismatch (malloc vs operator delete [])" with C++17's over-aligned types) 2016-09-21 16:40:30 +02:00
libssp
libstdc++-v3 Make filesystem::path work with basic_string_view (P0392R0) 2016-10-28 19:48:43 +01:00
libvtv
lto-plugin
maintainer-scripts
zlib
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
ChangeLog Index... 2016-10-27 23:21:54 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
MAINTAINERS Index... 2016-10-27 23:21:54 +00:00
Makefile.def Makefile.def: Remove libjava. 2016-09-30 16:08:23 +00:00
Makefile.in Makefile.def: Remove libjava. 2016-09-30 16:08:23 +00:00
Makefile.tpl Makefile.def: Remove libjava. 2016-09-30 16:08:23 +00:00
README
compile
config-ml.in
config.guess
config.rpath
config.sub
configure configure.ac: Add aarch64-*-freebsd*. 2016-10-10 23:31:17 +02:00
configure.ac configure.ac: Add aarch64-*-freebsd*. 2016-10-10 23:31:17 +02:00
depcomp
install-sh
libtool-ldflags
libtool.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
missing
mkdep
mkinstalldirs
move-if-change
symlink-tree
ylwrap

README

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.