aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/config
Commit message (Collapse)AuthorAgeFilesLines
* Synchronize with google/gcc-4_9 to r224707 (from r214835)Yiran Wang2015-06-2976-1058/+3459
| | | | Change-Id: I3d6f06fc613c8f8b6a82143dc44b7338483aac5d
* Merge "Add -mno-odd-spreg option as default mode for mips32r6 android builds."Andrew Hsieh2015-05-121-0/+3
|\
| * Add -mno-odd-spreg option as default mode for mips32r6 android builds.Steve Ellcey2015-05-111-0/+3
| | | | | | | | Change-Id: Id19630f78848dc3ccfa564e2e925f892b8ea4433
* | Remove prototypes for vector builtins for clang.Steve Ellcey2015-05-112-540/+11
|/ | | | | | Fix builtin vector types for 64 bit mode. Change-Id: I0641798eb23646dcd3fc4d5ee623ad4d8dcbd142
* Update MSA Support in MIPS GCC.Steve Ellcey2015-03-1924-2253/+3648
| | | | Change-Id: Id87035be4552719dc05096bb98b49d4bed91a07a
* [4.9] Several improvements in code generation for x86. Backport from trunk.Alexander Ivchenko2015-03-171-24/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2014-11-21 Evgeny Stupachenko <evstupac@gmail.com> PR target/60451 * config/i386/i386.c (expand_vec_perm_even_odd_pack): New. (expand_vec_perm_even_odd_1): Add new expand for V8HI mode, replace for V16QI, V16HI and V32QI modes. (ix86_expand_vec_perm_const_1): Add new expand. 2014-06-11 Evgeny Stupachenko <evstupac@gmail.com> * tree-vect-data-refs.c (vect_grouped_store_supported): New check for stores group of length 3. (vect_permute_store_chain): New permutations for stores group of length 3. * tree-vect-stmts.c (vect_model_store_cost): Change cost of vec_perm_shuffle for the new permutations. 2014-11-28 Evgeny Stupachenko <evstupac@gmail.com> * tree-vect-data-refs.c (vect_transform_grouped_load): Limit shift permutations to loads group of size 3. 2014-12-18 Bin Cheng <bin.cheng@arm.com> PR tree-optimization/62178 * tree-ssa-loop-ivopts.c (cheaper_cost_with_cand): New function. (iv_ca_replace): New function. (try_improve_iv_set): New parameter try_replace_p. Break local optimal fixed-point by calling iv_ca_replace. (find_optimal_iv_set_1): Pass new argument to try_improve_iv_set. Change-Id: I5dca8236d3807cedc5e09d7eda65f0ccec9f5cb2 Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
* Merge "Cherry-pick: Increase PARAM_MAX_COMPLETELY_PEELED_INSNS when branch ↵Andrew Hsieh2015-03-021-6/+0
|\ | | | | | | is costly"
| * Cherry-pick: Increase PARAM_MAX_COMPLETELY_PEELED_INSNS when branch is costlyUros Bizjak2015-02-111-6/+0
| | | | | | | | | | | | | | | | | | | | | | Author: uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Sat Nov 22 19:02:12 2014 +0000 * params.def (PARAM_MAX_COMPLETELY_PEELED_INSNS): Increase to 200. * config/i386/i386.c (ix86_option_override_internal): Do not increase PARAM_MAX_COMPLETELY_PEELED_INSNS. Change-Id: I202e14a29f2436872910301efec863afdd4127e7
* | Merge "Revert "[4.9] Disable array bound warning in ARM We are seeing some ↵Rong Xu2015-02-131-7/+0
|\ \ | |/ |/| | | false positive array bound warnings due to an issue in complete unroll. This patch disables this warning so we can switch the ARM build to 4.9. Will re-enable the warning once the issue is fixed.""
| * Revert "[4.9] Disable array bound warning in ARM We are seeing some false ↵Andrew Hsieh2015-01-291-7/+0
| | | | | | | | | | | | | | | | positive array bound warnings due to an issue in complete unroll. This patch disables this warning so we can switch the ARM build to 4.9. Will re-enable the warning once the issue is fixed." This reverts commit 407a2d5c2c63bdc0c842ffcd57a139ef8a4f33e2, because https://android-review.googlesource.com/#/c/125800 provides fixes to root cause. Change-Id: I3ceda349beca8e558ccfac5602de942b9be4d31d
* | Merge "[4.9] Another backport from trunk of additional slm tuning."Andrew Hsieh2014-12-081-0/+6
|\ \ | |/ |/|
| * [4.9] Another backport from trunk of additional slm tuning.Alexander Ivchenko2014-12-031-0/+6
| | | | | | | | | | | | | | | | | | | | 2014-11-21 Evgeny Stupachenko <evstupac@gmail.com> * config/i386/i386.c (ix86_option_override_internal): Increase PARAM_MAX_COMPLETELY_PEELED_INSNS. Change-Id: I529a9297cb8d230a5821d73d5b462d433a8c2108 Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
* | [4.9] Disable array bound warning in ARMRong Xu2014-12-031-0/+7
|/ | | | | | | | | We are seeing some false positive array bound warnings due to an issue in complete unroll. This patch disables this warning so we can switch the ARM build to 4.9. Will re-enable the warning once the issue is fixed. Change-Id: Ifefe470b9e9146665e9096e5ac6f2f5fec7b9627
* [4.9] Backport from trunk of some additional slm tuning.Alexander Ivchenko2014-11-191-2/+2
| | | | | | | | | | 2014-10-13 Evgeny Stupachenko <evstupac@gmail.com> * config/i386/x86-tune.def (X86_TUNE_SSE_PARTIAL_REG_DEPENDENCY): Remove m_SILVERMONT and m_INTEL from the tune. Change-Id: I5d793525c43015f10f15cd46505e326039dd4b7e Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
* [4.9] Restore recog state after finding pre-madd instruction.Rong Xu2014-11-051-0/+4
| | | | | | | This patch backports svn r216853 from upsteam gcc-4.9 branch that fixed a bug introduced in fixing cortex a53 erratum 835769. Change-Id: Iccc6fd04ede28c2deba51be3f8e348ce374c8b4f
* [4.9] Android fix for Cortex-A53 erratum 835769 workaroundRong Xu2014-10-311-3/+4
| | | | | | | | Android does not use the LINK_SPEC in aarch64-linux.h. Rather, it picks up LINUX_TARGET_LINK_SPEC. Move the SPEC change in r216979 to LINUX_TRAGET_LINK_SPEC. Change-Id: I6c39522efcfe067a8a66397954b386f5d104dc02
* [4.9] LINK_SPEC changes for Cortex-A53 erratum 835769 workaroundRong Xu2014-10-312-2/+20
| | | | | | This is proted from upstream gcc-4_9 branch: svn r216979. Change-Id: I1cee530fb4f50843a9832aa678c1630f51564fa6
* 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-134-0/+146
|/ | | | | | | | 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
* | [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>
* [gcc-4.9] Backport fix for PR62040 and PR62262Rong Xu2014-09-053-5/+44
| | | | | | 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-0320-371/+844
|\ | | | | | | source r214745 from google/gcc-4_9 branch."
| * [gcc-4.9] Merge svn r214745 from google/gcc-4_9 branch.Rong Xu2014-09-0220-371/+844
| | | | | | | | | | | | 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.8, 4.9] Backport of additional SLM tuning."Andrew Hsieh2014-09-035-5/+85
|\ \ \
| * | | [4.8, 4.9] Backport of additional SLM tuning.Alexander Ivchenko2014-08-065-5/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0622-95/+503
|/ / | | | | | | | | | | | | 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-2972-1445/+2183
|/ | | | | | | | | | | | | | 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-173-2/+51
| | | | | | | | 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
* Update GCC 4.9 to include mips32r6, mips64r6 and MSA changes.Steve Ellcey2014-07-0329-599/+8756
| | | | 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-071-0/+8641
| | | | | | | | 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-1728-325/+1143
|/ | | | | | For critical bug fixes including devirtualization and codegen. Change-Id: I8138d3dc408fc12db5eecb01d2753d39219712f2
* [4.8, 4.9] Add simplify-gotCarrot Wei2014-05-152-0/+223
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] 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-226-1/+25
| | | | | | | 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