aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8
Commit message (Collapse)AuthorAgeFilesLines
* Rename libstdc++.so to libgnustl_shared.soDavid 'Digit' Turner2015-08-271-1/+4
| | | | | | | | This patch ensure that the generated library is called libgnustl_shared.so instead of libstdc++.so.3 (or some similar number-versioned name). Change-Id: I63fb5be818115c6d0c7e96b937ba39f225b475cf (cherry picked from commit 62268d3b73073a061628595f226989bc17c2c622)
* Enable C++ exceptions and RTTI by default.David 'Digit' Turner2015-08-271-2/+2
| | | | | With this change, -fexceptions and -frtti become default options when compiling C++ sources.
* backport fix for ICE: in add_stores, at var-tracking.c:6000Andrew Hsieh2015-03-271-1/+2
| | | | | | | | | 2014-06-30 Joseph Myers <joseph@codesourcery.com> * var-tracking.c (add_stores): Return instead of asserting if old and new values for conditional store are the same. Change-Id: Ibb5775a3ad90e57bd6882a86a6b4c7a5262c09d0
* [4.8, 4.9] Fix crash of omp loops that are not in the main thread.Alexander Ivchenko2014-12-185-5/+42
| | | | | | | | | | | | | | | | | Issue happens only when gcc is configured with "--disable-tls". Backport from trunk for fixing PR42616 2014-12-09 Varvara Rainchik <varvara.rainchik@intel.com> * config.h.in: Regenerate. * configure: Regenerate. * configure.ac: Add GCC_CHECK_EMUTLS. * libgomp.h: Add check for USE_EMUTLS: this case is equal to HAVE_TLS. * team.c: Likewise. Change-Id: Iee574d1a7888b3bcbd01718669eac34fdd116abb Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
* Merge "[gcc] Remove "-mstackrealign" option turned on by default on x86."Andrew Hsieh2014-10-162-2/+2
|\
| * [gcc] Remove "-mstackrealign" option turned on by default on x86.Alexander Ivchenko2014-10-142-2/+2
| | | | | | | | | | | | | | | | For ndk docs change, please refer to: https://android-review.googlesource.com/#/c/110100/ Change-Id: Icbe13a158511d519312b2a1d3e606c9dd2bff4af Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
* | Merge "[4.8] Fix darwin gcc fails with gcc-ar which calls lto plugin"Andrew Hsieh2014-09-302-0/+16
|\ \ | |/ |/|
| * [4.8] Fix darwin gcc fails with gcc-ar which calls lto pluginAndrew Hsieh2014-07-312-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | See d62f28ff5cd41632a14e8ba6e7d148a8c02b491b for same fix in 4.9 but for different reason. Since ndk-build use *-gcc-ar inplace of *-ar lto plugin is called with error reads: .../ld: error: .../libexec/gcc/arm-linux-androideabi/4.9/liblto_plugin.so Symbol not found: _environ The fix is to replace "environ" with "*_NSGetEnviron()" Change-Id: I6aad80b5a9a6c735c36b840878970d83e25974d1
* | [4.6,4.8,4.9] Neon2SSE porting solution updatePavel Chupin2014-09-121-3051/+11030
| | | | | | | | | | | | | | | | | | | | Improve NEON instrinsics coverage from ~41% to ~93%. This change brings new intrinsics and modifies old ones for better maintainability. Also take into account that IA32 now supports SSSE3 by default, so we can get rid of SSSE3 checks. Change-Id: I599c3b93dcf92d0c94bdb786a4aad705f075893b Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* | Merge "[4.8, 4.9] Fix broken ABI defaults for 32-bit x86 compiler"Andrew Hsieh2014-09-033-5/+9
|\ \
| * | [4.8, 4.9] Fix broken ABI defaults for 32-bit x86 compilerPavel Chupin2014-07-223-5/+9
| |/ | | | | | | | | | | | | | | | | For multilib compiler x86_64-* we need to pass compiler ABI flags based on flags -m32 or -m64, and no flags means -m64. But for 32-bit target compiler i686-* we should pass 32-bit ABI flags only. This change fixes the last part. Change-Id: I00adf4b633952f7a5fde5dc18ca4926a349472cd Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* / [4.8, 4.9] Backport of additional SLM tuning.Alexander Ivchenko2014-08-066-47/+551
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Six patches from trunk, reg-tested via 'make check': 2014-05-07 Evgeny Stupachenko <evstupac@gmail.com> * tree-vect-data-refs.c (vect_grouped_load_supported): New check for loads group of length 3. (vect_permute_load_chain): New permutations for loads group of length 3. * tree-vect-stmts.c (vect_model_load_cost): Change cost of vec_perm_shuffle for the new permutations. 2014-04-17 Evgeny Stupachenko <evstupac@gmail.com> * config/i386/i386.c (x86_add_stmt_cost): Fix vector cost model for Silvermont. 2014-04-17 Evgeny Stupachenko <evstupac@gmail.com> * config/i386/x86-tune.def (TARGET_SLOW_PSHUFB): New tune definition. * config/i386/i386.h (TARGET_SLOW_PSHUFB): New tune flag. * config/i386/i386.c (expand_vec_perm_even_odd_1): Avoid byte shuffles for TARGET_SLOW_PSHUFB 2014-04-17 Evgeny Stupachenko <evstupac@gmail.com> * config/i386/i386.c (slm_cost): Adjust vec_to_scalar_cost. * config/i386/i386.c (intel_cost): Ditto. 2014-06-18 Evgeny Stupachenko <evstupac@gmail.com> * config/i386/i386.c (ix86_reassociation_width): Add alternative for vector case. * config/i386/i386.h (TARGET_VECTOR_PARALLEL_EXECUTION): New. * config/i386/x86-tune.def (X86_TUNE_VECTOR_PARALLEL_EXECUTION): New. * tree-vect-data-refs.c (vect_shift_permute_load_chain): New. Introduces alternative way of loads group permutaions. (vect_transform_grouped_load): Try alternative way of permutations. 2014-06-05 Evgeny Stupachenko <evstupac@gmail.com> * config/i386/sse.md (*ssse3_palignr<mode>_perm): New. * config/i386/predicates.md (palignr_operand): New. Indicates if permutation is suitable for palignr instruction. Change-Id: I5e505735ce3dc0ec3c2a1151713a119b24d712fe Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
* Fix a typo in vmlaq_lane_s32Andrew Hsieh2014-06-251-1/+1
| | | | | | BUG=15526898 Change-Id: I4e35a764d369d378808dab29beefe34d1f93249b
* Merge "[4.8, REAPPLY] Backport of two patches for additional SLM-tuning."Andrew Hsieh2014-06-201-2/+2
|\
| * [4.8, REAPPLY] Backport of two patches for additional SLM-tuning.Alexander Ivchenko2014-06-191-2/+2
| | | | | | | | | | | | | | | | Reapplying https://android-review.googlesource.com/#/c/80436 after 4.8.3 merge Change-Id: Ie14bec963d609507e8b2c2c8d20df007f77eabe6 Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
* | Merge "[4.8, REAPPLY] Add -mtune=intel support"Andrew Hsieh2014-06-203-8/+34
|\|
| * [4.8, REAPPLY] Add -mtune=intel supportPavel Chupin2014-06-193-8/+34
| | | | | | | | | | | | | | | | Reapplying https://android-review.googlesource.com/#/c/71782 after 4.8.3 merge Change-Id: Ia29210fc489a73e4c20ca1f6a0907f93746a0413 Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* | Merge "[4.8, REAPPLY] Extended Silvermont tuning."Andrew Hsieh2014-06-204-80/+323
|\|
| * [4.8, REAPPLY] Extended Silvermont tuning.Pavel Chupin2014-06-194-80/+323
| | | | | | | | | | | | | | | | Reapplying https://android-review.googlesource.com/#/c/60083 after 4.8.3 merge Change-Id: I93a985ae43d9349ed3fa0dd37e485f5477774f37 Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* | Merge "[4.8, REAPPLY] Release basic tuning for new Silvermont architecture"Andrew Hsieh2014-06-208-32/+898
|\|
| * [4.8, REAPPLY] Release basic tuning for new Silvermont architecturePavel Chupin2014-06-198-32/+898
| | | | | | | | | | | | | | | | Reapplying https://android-review.googlesource.com/#/c/59726 after 4.8.3 merge Change-Id: I855de6c963d423f68899f90aada1758ae6f6c0d9 Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* | Merge "Merge GCC 4.8.3"Andrew Hsieh2014-06-201087-14695/+60369
|\|
| * Merge GCC 4.8.3Andrew Hsieh2014-06-191087-14695/+60369
| | | | | | | | Change-Id: I0abe59f7705b3eccc6b2f123af75b2e30917696a
* | Merge "revert 41eff3d706b202f682f64fcc7773c64abd59ac45"Andrew Hsieh2014-06-208-901/+33
|\|
| * revert 41eff3d706b202f682f64fcc7773c64abd59ac45Andrew Hsieh2014-06-198-901/+33
| | | | | | | | | | | | | | | | | | For the purpose of merging gcc-4.8.3, will put it back. https://android-review.googlesource.com/#/c/59726 [4.7, 4.8] Release basic tuning for new Silvermont architecture Change-Id: Id2b9e714418b3cf0a7eef0f599c39ba81df47d13
* | Merge "revert 01b34967a57ca33621130d36e007214b93bdfeaa"Andrew Hsieh2014-06-204-323/+80
|\|
| * revert 01b34967a57ca33621130d36e007214b93bdfeaaAndrew Hsieh2014-06-194-323/+80
| | | | | | | | | | | | | | | | | | For the purpose of merging gcc-4.8.3, will put it back. https://android-review.googlesource.com/#/c/60083 [4.7, 4.8] Extended Silvermont tuning Change-Id: If13a6989286c0ab57def1dd65f0bbd2f6ed8d807
* | Merge "revert 03518e5fd50ca1389a55a9d443d7277ec03d1cde"Andrew Hsieh2014-06-204-36/+8
|\|
| * revert 03518e5fd50ca1389a55a9d443d7277ec03d1cdeAndrew Hsieh2014-06-194-36/+8
| | | | | | | | | | | | | | | | | | For the purpose of merging gcc-4.8.3, will put it back. https://android-review.googlesource.com/#/c/71782 [4.6, 4.8] Add -mtune=intel support Change-Id: Ie340828ac3809fd6694985dd52c3392b661fb9b2
* | Merge "revert a108aa5cbab7efe4eedd19f68d7a9bbe021b2168"Andrew Hsieh2014-06-201-2/+2
|\|
| * revert a108aa5cbab7efe4eedd19f68d7a9bbe021b2168Andrew Hsieh2014-06-191-2/+2
| | | | | | | | | | | | | | | | | | For the purpose of merging gcc-4.8.3, will put it back. https://android-review.googlesource.com/#/c/80436 [4.7, 4.8] Backport of two patches for additional SLM-tuning. Change-Id: I4e5e08ee8c6a9f863b4696a6eb18c2cdbf16cd1f
* | Setup x86_64 ABI and add -mssse3 to x86 ABIPavel Chupin2014-06-201-2/+6
|/ | | | | | | | | | | 32-bit: replace -msse3 by -mssse3 64-bit: setup default options as -msse4.2 -mpopcnt Note: when multilib compiler is used -m32 will match 32-bit options and -m64 or default (neither -m32 nor -m64) will match 64-bit options. Change-Id: Ia20a03f54e3ff5857108e9ab0ae1c4c7c1e6cc7f Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* [4.6,4.8,4.9] Porting ARM NEON intrinsics to SSE x86Anton Konovalov2014-06-072-2/+8643
| | | | | | | | Added arm_neon.h to gcc 4.6, 4.8 and 4.9 toolchains. Updated config.gcc files. Change-Id: If9c12c3e31f5256b178816dffb41c86af0912db0 Signed-off-by: Anton Konovalov <anton.konovalov@intel.com> Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* Merge "[4.8, 4.9] Fix aarch64/arm_neon.h vqdmulh_n_s16"Andrew Hsieh2014-05-271-74/+74
|\
| * [4.8, 4.9] Fix aarch64/arm_neon.h vqdmulh_n_s16Andrew Hsieh2014-05-201-74/+74
| | | | | | | | | | | | | | | | | | | | To use FP_LO_REGS for the 2nd SIMD register with h[index] See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61202 http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0802a/SQDMULH_advsimd_elt_scalar.html Google BUG 14825026 Change-Id: Ifd870e8ab851d93bda6734aee04d09db17461bdd
* | [4.9] Refresh GCC 4.9 to the 20140514 snapshot.Ben Cheng2014-05-171-11/+11
|/ | | | | | For critical bug fixes including devirtualization and codegen. Change-Id: I8138d3dc408fc12db5eecb01d2753d39219712f2
* [4.8, 4.9] Add simplify-gotCarrot Wei2014-05-1514-0/+572
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This pass optimize GOT_PREL (already exists in toolchain/gcc/gcc-4.6) Backport from svn://gcc.gnu.org/svn/gcc/branches/google/gcc-4_6-mobile UNSPEC_GOT_PREL_SYM is now in new file arm/unspecs.md 4.9 port is slightly different due to changes in gcc passes See Google b/14811006 r173209 | carrot | 2011-04-30 16:07:46 +0800 (Sat, 30 Apr 2011) | 21 lines * hooks.c (hook_rtx_void_null): New function. * hooks.h (hook_rtx_void_null): New prototype. * target.def (got_access): New hook vector declaration. * tree-pass.h (pass_simplify_got): New pass. * timevar.def (TV_SIMPLIFY_GOT): New TV id. * simplify-got.c: New source file. * Makefile.in (simplify-got.o): Add a new file. * passes.c (init_optimization_passes): Add a new pass. * config/arm/arm.c (arm_output_addr_const_extra): Output GOT_PREL relocation. (arm_get_pic_reg): New function. (arm_clear_pic_reg): New function. (arm_can_simplify_got_access): New function. (arm_loaded_global_var): New function. (arm_load_global_address): New function. * config/arm/arm.md (UNSPEC_GOT_PREL_SYM): New UNSPEC symbol. * testsuite/gcc.target/arm/got1.c: New testcase. * testsuite/gcc.target/arm/got2.c: New testcase. Change-Id: I91e881df19bb6937a5fbcc8e6b83d158717c7773
* Merge "Fix GNU4.7/4.8/4.9 libstdc++ for clang"Andrew Hsieh2014-04-292-4/+3
|\
| * Fix GNU4.7/4.8/4.9 libstdc++ for clangAndrew Hsieh2014-04-282-4/+3
| | | | | | | | | | | | | | | | 1. Undo fix in ed7057a1ece24733fe30423cd94131deb8ccb2ca which precludes __atomic_fetch_add() now supported by clang >= 3.3 2. __float128 is supported by clang >= 3.4 Change-Id: Ic2856368d83d261e3a27e0e24ccc09743afdc68b
* | [4.9] aarch64: uncomment md_unwind_header; [4.8,4.9] aarch64: enable ↵Andrew Hsieh2014-04-281-5/+0
|/ | | | | | libatomic,libgomp Change-Id: I21bb83a2de8d27b465afb9d45440cd7966f837ee
* [4.8] Backport fix on bad aarch64 codegen in multiple inheritance thunksAndrew Hsieh2014-04-243-1/+137
| | | | | | | | | | | | | | | | | See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59695 http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=206703 2014-01-17 Kugan Vivekanandarajah <kuganv@linaro.org> Backport from mainline 2014-01-15 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org> Kugan Vivekanandarajah <kuganv@linaro.org> PR target/59695 * config/aarch64/aarch64.c (aarch64_build_constant): Fix incorrect truncation. Change-Id: I94f2c9ad01ed489b4a167ce67a34365db37a8200
* [4.6, 4.8] Backport fix PR libstdc++/59392: Fix ARM EABI uncaught throw from ↵Andrew Hsieh2014-04-213-6/+71
| | | | | | | | | | | | | | | | | unexpected exception handler http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=208519 2014-03-12 Roland McGrath <mcgrathr@google.com> Mark Seaborn <mseaborn@google.com> libstdc++-v3/ PR libstdc++/59392 * libsupc++/eh_call.cc (__cxa_call_unexpected): Call __do_catch with the address of a null pointer, not with a null pointer to pointer. Copy comment for this case from eh_personality.cc:__cxa_call_unexpected. * testsuite/18_support/bad_exception/59392.cc: New file. Change-Id: I14e060bccb72881ba8d7e24022d429cd304e2ae3
* Pass link -maarch64linux flagAndrew Hsieh2014-04-151-2/+3
| | | | | | | | | | | | | | | | Backport upstream patch which adds -maarch64linux for linker. eg. ld.mcld may support multiple targets, and more likely than not needs explicit emulation switch [AArch64] Define BE loader name. 2014-01-20 Marcus Shawcroft <marcus.shawcroft@arm.com> * config/aarch64/aarch64-linux.h (GLIBC_DYNAMIC_LINKER): Expand loader name using mbig-endian. (LINUX_TARGET_LINK_SPEC): Pass linker -m flag. Change-Id: I2d10f85fbdf5c998d17098c1381ecad628922ba0
* Fix mips64el-linux-android-4.8 build with new android-20 headersAndrew Hsieh2014-04-111-0/+1
| | | | | | | In the new header, signal.h no longer includes asm/sigcontext.h which provide truct sigcontext Change-Id: Ic8d6545ddd68e7512d69a4fabe2caf94723dfb2d
* Merge "GCC 4.6-4.8: Only quote arguments in pex-win32.c that need it."Andrew Hsieh2014-04-101-9/+38
|\
| * GCC 4.6-4.8: Only quote arguments in pex-win32.c that need it.Ray Donnelly2014-03-171-9/+38
| | | | | | | | | | | | .. it always quoted all arguments, irrespective of whether there was a need to. This means the 32k limit is getting hit more often than it needs to.
* | Remove asm/page.h added long time ago specially for AndroidPavel Chupin2014-03-281-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | We shouldn't have it anymore. In bionic it's removed here: https://android-review.googlesource.com/#/c/83299 In development/ndk it's removed here: https://android-review.googlesource.com/#/c/88690 Change-Id: I048f6427e6ecb53823a7f34e452cb61da6fcedbc Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
* | Fix missing _U, _L, etcAndrew Hsieh2014-03-241-0/+14
|/ | | | | | | | | Since 5e9b20f7212c23110693a4bd1f122ccac3fece80 bionic rename _U to _CTYPE_U, etc. Detect the presence of _U and define it to _CTYPE_U in case new bionic headers are in used Change-Id: I7df4792ad6fa1487d91de7f337bff489f6d3ade0
* Merge "Define bionic aarch64 linker path."Andrew Hsieh2014-02-061-0/+1
|\
| * Define bionic aarch64 linker path.Ben Cheng2014-02-051-0/+1
| | | | | | | | Change-Id: Id343d7a1b74dea14cc0856cfc1e230a01db7c740