aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc
Commit message (Collapse)AuthorAgeFilesLines
* Merge "[4.9] Fix GCC4.9 segfaults with -fauto-profile and -Os Backport ↵Rong Xu2014-10-271-2/+8
|\ | | | | | | r216292 from google/gcc-4_9 branch: Move update_ssa after vpt transformation. BUG=17997360"
| * [4.9] Fix GCC4.9 segfaults with -fauto-profile and -OsRong Xu2014-10-271-2/+8
| | | | | | | | | | | | | | | | Backport r216292 from google/gcc-4_9 branch: Move update_ssa after vpt transformation. BUG=17997360 Change-Id: Iae9e15be6ff5655b1514e349c55f05647388df36
* | Merge "[4.9] Backport r216764: Enable ifunc for BINOIC Backport r216764 from ↵Rong Xu2014-10-271-1/+1
|\ \ | | | | | | | | | google/gcc-4_9 branches which makes ifunc support available for BIONIC (still controlled by configure)."
| * | [4.9] Backport r216764: Enable ifunc for BINOICRong Xu2014-10-271-1/+1
| |/ | | | | | | | | | | | | Backport r216764 from google/gcc-4_9 branches which makes ifunc support available for BIONIC (still controlled by configure). Change-Id: I515d4d38e11bd0378899e64e68ab5b255e2c6df3
* | 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>
* / [gcc-4.9] fix for for cortex-a53 erratum 835769Rong Xu2014-10-138-0/+216
|/ | | | | | | | This patch cherry picks r216116 from google/gcc-4_9 branch (which is r216077 and r216079 from upstream gcc-4_9 branch). Tested the built compiler with aarch64 devicde. Change-Id: I75745fe35aae83bc3b64135a2efc7f8ffd9cfb1f
* Merge "Change aarch64-linux-android dynamic linker to /system/bin/linker64"Andrew Hsieh2014-09-151-0/+2
|\
| * Change aarch64-linux-android dynamic linker to /system/bin/linker64Andrew Hsieh2014-09-081-0/+2
| | | | | | | | | | | | | | | | | | Set bionic linker to /system/bin/linker64 for aarch64 in Android. The default /system/bin/linker causes run-time error reads: /system/bin/sh: /path/to/your/app: Accessing a corrupted shared library Change-Id: Ieaaebd267c87e7803372171478ae8f8b9ab71dfe
* | Merge "[4.6,4.8,4.9] Neon2SSE porting solution update"Andrew Hsieh2014-09-151-3051/+11030
|\ \
| * | [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>
* / Fix LRA bug involving inline assembly language. Compiler was generatingSteve Ellcey2014-09-081-3/+3
|/ | | | | | and ICE on some inline assembly constructs. Change-Id: I47be8ff0d5119f2e95611c0b6ed119414c49c6f8
* [gcc-4.9] Backport fix for PR62040 and PR62262Rong Xu2014-09-057-5/+101
| | | | | | Backport two patches from upstream gcc 4.9 branch that fix PR62040 and PR62262 Change-Id: If4f557a650e00261b9bc83e008eb63b13ca798cb
* Merge "[gcc-4.9] Merge svn r214745 from google/gcc-4_9 branch. Merge gcc-4_9 ↵Andrew Hsieh2014-09-03174-698/+3357
|\ | | | | | | source r214745 from google/gcc-4_9 branch."
| * [gcc-4.9] Merge svn r214745 from google/gcc-4_9 branch.Rong Xu2014-09-02176-699/+3361
| | | | | | | | | | | | Merge gcc-4_9 source r214745 from google/gcc-4_9 branch. Change-Id: Ie6fa0fd72f4b4eec3adc4db4bb922e652d1c2605
* | 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>
* | | Merge "[4.9] Backport of patch fixing PR61672."Andrew Hsieh2014-09-034-3/+11
|\ \ \
| * | | [4.9] Backport of patch fixing PR61672.Alexander Ivchenko2014-08-064-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2014-08-05 Richard Biener <rguenther@suse.de> PR rtl-optimization/61672 * emit-rtl.h (mem_attrs_eq_p): Declare. * emit-rtl.c (mem_attrs_eq_p): Export. Handle NULL mem-attrs. * cse.c (exp_equiv_p): Use mem_attrs_eq_p. * cfgcleanup.c (merge_memattrs): Likewise. Include emit-rtl.h. Without this patch build of art with 4.9 is broken (at least on x86). Here is the error msg: art/runtime/interpreter/interpreter_goto_table_impl.cc:2437:1: error: the frame size of 3328 bytes is larger than 1728 bytes [-Werror=frame-larger-than=] Change-Id: I1a33cff567ae91bdbd34a4df6e6360594ae75993 Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
* | | | Merge "[4.8, 4.9] Backport of additional SLM tuning."Andrew Hsieh2014-09-0311-49/+689
|\ \ \ \
| * | | | [4.8, 4.9] Backport of additional SLM tuning.Alexander Ivchenko2014-08-0611-49/+689
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 p5600 scheduler to better reflect pipeline and to only be usedSteve Ellcey2014-08-281-56/+103
| |_|/ |/| | | | | | | | | | | | | | on p5600 CPUs. Change-Id: Ia0143a82433d0874d9e7f480c56b1f92a99ab1a1
* | | [gcc-4.9] Merge svn r213650 from google/gcc-4_9 branchRong Xu2014-08-0670-260/+1188
|/ / | | | | | | | | | | | | Merge svn r213650 from google/gcc-4_9 branch. Tested with arm,x86,mips,arm64,x86_64,mips64 build in liunux/windows. Change-Id: I0c07f67d516074172aa393003eee664d01f2e0f2
* / [4.9] Switch gcc-4.9 to use google/gcc-4_9 branch.Rong Xu2014-07-29814-204924/+44529
|/ | | | | | | | | | | | | | This source drop uses svn version r212828 of google/gcc-4.9 branch. We also cherry-picked r213062, r213063 and r213064 to fix windows build issues. All gcc-4.9 patches before July 3rd are ported to google/gcc-4.9. The following prior commits has not been merged to google branch yet. (They are included in this commit). e7af147f979e657fe2df00808e5b4319b0e088c6, baf87df3cb2683649ba7e9872362a7e721117c23, and c231900e5dcc14d8296bd9f62b45997a49d4d5e7. Change-Id: I4bea3ea470387ff751c2be4cb0d4a12059b9299b
* Modify multilib usage for MIPS android platforms.Steve Ellcey2014-07-174-3/+54
| | | | | | | | Fix mips32r6 multilib for mipsel-*android* target and create new multilib config for mips64el-*android* target. Also modify default ABI and FPXX settings for android based on -mips* flags. Change-Id: Ib7b232182f3e4507f3804443f83a63b882af57da
* Fix mips64el-linux-android-4.9 buildAndrew Hsieh2014-07-071-1/+2
| | | | Change-Id: I0ac4cccaeab9e4abd80667333aec4673fc50ca8c
* Update GCC 4.9 to include mips32r6, mips64r6 and MSA changes.Steve Ellcey2014-07-0385-741/+16709
| | | | Change-Id: I136290865b137531d55321987818fc954a65f5d6
* 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-2/+2
|\
| * [4.8, 4.9] Fix aarch64/arm_neon.h vqdmulh_n_s16Andrew Hsieh2014-05-201-2/+2
| | | | | | | | | | | | | | | | | | | | 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-1793-744/+3281
|/ | | | | | For critical bug fixes including devirtualization and codegen. Change-Id: I8138d3dc408fc12db5eecb01d2753d39219712f2
* [4.8, 4.9] Add simplify-gotCarrot Wei2014-05-1514-0/+591
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [4.9] Disable sincosAndrew Hsieh2014-04-221-2/+1
| | | | Change-Id: Ic0fc6346e446f7e69706570a8ae0b4fe11b24f2c
* [4.9] Fix aarch64 to use Android specs.Ben Cheng2014-04-221-1/+1
| | | | | | See bb9a7de92c3a7a4ae8a47536e36559673dd886e9 Change-Id: Id96f2d455699a125e773829cb95939438c242aa6
* [4.9] Add additional multilib option: mfloat-abi=hardAndrew Hsieh2014-04-221-3/+4
| | | | | | See 5be615df32ce970fcccda93cf577e9ce35b1d397 Change-Id: Iabbfcf0080d966e809e1a8521e93de7fcabd03a4
* [4.9] Fix mips64 to use ABI_64 by defaultIceberg Fu2014-04-221-1/+9
| | | | | | See 1c712bf7621f3859c33fd3afaa61fdcaf3fdfd76 Change-Id: I50488b4fe61380d174ec508a9fdbdde19c519917
* [4.9] Extend MIPS GCC4.9 -mldc1-sdc1 to control ldxc1/sdxc1 tooIceberg Fu2014-04-222-3/+3
| | | | | | See 79ba8bc76c0534e9f2544af2d1943b1581c84c77 Change-Id: I79a7c1cb378ca3f75d55ca4303a17ecbf7ecff1b
* [4.9] Add MXU support in gcc4.9 with -mmxuAndrew Hsieh2014-04-222-0/+5
| | | | | | See 793e263d62bb7f85426899cd7a86e821dd38d12a Change-Id: I51aed0f36c14417647bcd651eb5da622b2fb55a6
* [4.9] Always enable --eh-frame-hdr for static executableH.J. Lu2014-04-2210-1/+121
| | | | | | | See 5e6cdf76af295c9a39b695ca228cff675e8ff4ae and 23e3137ee2897464b051599b85a09f130d3ad05d Change-Id: Ibda473188e5a10f2a0592f2494ad00ad1f91e04b
* [4.9] Add an internal switch -minline-thumb1-jumptable to ARM gcc4.9Lai Wei-Chih2014-04-224-3/+9
| | | | | | See a3529b2d6b2bcc7136fd67e00e539301942e74d1 Change-Id: Ie1e6f08d437f661096e0ca14b89cb15b7b2dd538
* [4.9] Fix ARM/GCC-4.9 generates insufficient alignment for NEON vst/vldAndrew Hsieh2014-04-221-2/+6
| | | | | | See d909af3e2469aad87d5c3e79b93c778fd26c03a9 Change-Id: Ie1de9f946f397196bb6f1623f5add86933739484
* [4.9] Add new GCC/MIPS option -mldc1-sdc1Andrew Hsieh2014-04-222-2/+6
| | | | | | See 6e6510c702f12bc6320681075cc0ba8dc2c814a7 Change-Id: Ic0d11dc74396785a73ae8477e4d5ce46c031f091
* [4.9] Use READELF_FOR_TARGET in GCC 4.9Andrew Hsieh2014-04-222-3/+7
| | | | | | See 59f82b394a9ece7ea20714014a0b9800da3a87fe Change-Id: I209ab527ff7ff75d11c24c8b41fc597f7062e1a3
* [4.9] Fix MIPS GCC to emit -m elf32ltsmip for linkerAndrew Hsieh2014-04-221-0/+1
| | | | | | See 8648b5263208a4e894d9ceaacedb72d48be70c55 Change-Id: I658234d073de514e4aa40fdb8087d5467d8ee9f5
* [4.9] Add mclinker support: -fuse-ld=mcldAndrew Hsieh2014-04-225-5/+18
| | | | | | | | See 06b207c97dfb0d70f1f2ef91b93b665dceae0d27, 04288e6d5db307539ffc86eff17dc7fd5a2eb973 and 6914eb3758e3c3db5f50f89da12193c22a0531c4 Change-Id: I94f901d9187c9bc3a9f2f4e24795c4bf0f3a62c0
* [4.9] Use memalign instead of posix_memalign in GCC x86 mm_malloc.hAndrew Hsieh2014-04-221-0/+6
| | | | | | See feb0a69677101f361aaf5dbfcdd8b5a7a827900f Change-Id: Icf882ff2441ef88ef5e3c5d4131011d8ef5348cd
* [4.9] Backport a gimplify fix.Ben Cheng2014-04-221-0/+9
| | | | | | See eceb576ea5b15a7f8f179f131b665afeeba1c6ad Change-Id: Ifd1dec97b9ceed460d10eaaaf4aa923d02ad2c29
* [4.9] Enable armv7/thumb2 multilib for arm-eabi.Ben Cheng2014-04-221-12/+17
| | | | | | See f541ff89c2d66197e371ed6f85174bd732afd8db Change-Id: Id642af0523d7af414a906836936b41554b730e98
* [4.9] Port MIPS Android support to GCC-4.9Andrew Hsieh2014-04-224-2/+12
| | | | | | See 75b9f722caccc5276fc9c236b9ccb3f7888a86f8 Change-Id: Ia941c59bb94ab943c6ccc188b050daf1894d31d2