aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9
Commit message (Collapse)AuthorAgeFilesLines
...
* | [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-03230-931/+4656
|\ | | | | | | source r214745 from google/gcc-4_9 branch."
| * [gcc-4.9] Merge svn r214745 from google/gcc-4_9 branch.Rong Xu2014-09-02232-932/+4660
| | | | | | | | | | | | 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>
* | | | Merge "[4.9] Disable compiler.h fixinclude fix."Andrew Hsieh2014-09-033-74/+5
|\ \ \ \
| * | | | [4.9] Disable compiler.h fixinclude fix.Alexander Ivchenko2014-08-123-74/+5
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport from trunk: 2014-08-04 Alexander Ivchenko <alexander.ivchenko@intel.com> * inclhack.def (complier_h_tradcpp): Remove. * fixincl.x: Regenerate. * tests/base/linux/compiler.h: Remove. Also, please refer to: b.android.com/73728. Change-Id: I1ea579ca36f1fe0b8878fa74e753eb2333da85cd
* | | / 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-06451-1829/+3651
|/ / | | | | | | | | | | | | 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-291168-323684/+85986
|/ | | | | | | | | | | | | | 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-0391-753/+16752
| | | | 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-17137-1107/+3825
|/ | | | | | For critical bug fixes including devirtualization and codegen. Change-Id: I8138d3dc408fc12db5eecb01d2753d39219712f2
* Merge "[4.8, 4.9] Add simplify-got"Andrew Hsieh2014-05-1614-0/+591
|\
| * [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] Fix openmp supportAndrew Hsieh2014-05-145-5/+270
|/ | | | | | | | | See the following CLs for 4.8 c27bd5a265e6aeecefa6bfebe52fcf26b08298cd # Support OpenMP b6c94ff8e836a01ad3598135d19c49c9eb01a173 # needed OpenMP: Better CPU count detection for Linux d88e126b2b303c95d94b939c21f8672637871dbd # Fix openmp support to use libgomp/config/linux Change-Id: Ib85a23669c03bcdc9dd5f83b9a0f18e5cad6033d
* Merge "Fix GNU4.7/4.8/4.9 libstdc++ for clang"Andrew Hsieh2014-04-292-3/+3
|\
| * Fix GNU4.7/4.8/4.9 libstdc++ for clangAndrew Hsieh2014-04-282-3/+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-282-7/+1
|/ | | | | | libatomic,libgomp Change-Id: I21bb83a2de8d27b465afb9d45440cd7966f837ee
* [4.9] Fix darwin gcc fails with -fltoAndrew Hsieh2014-04-222-0/+16
| | | | | | | | | | | Since since 4.9 "-flto" is the default, but with it error reads: .../ld: error: .../libexec/gcc/arm-linux-androideabi/4.9/liblto_plugin.so Symbol not found: _environ Replace "environ" with "*_NSGetEnviron()" Change-Id: I7f76f938f5b492458a8324a7b68ae42c0c688db6
* [4.9] Disable sincosAndrew Hsieh2014-04-221-2/+1
| | | | Change-Id: Ic0fc6346e446f7e69706570a8ae0b4fe11b24f2c
* [4.9] Fix mips64el-linux-android-4.9 build with new android-20 headersAndrew Hsieh2014-04-221-0/+1
| | | | | | See 4c35ba7730db5b95bd1404e8a334b7c8e2a9834b Change-Id: I8633259421152fa4347c6ac85b628a5d7191d0e8
* [4.9] Fix missing _U, _L, etcAndrew Hsieh2014-04-221-0/+14
| | | | | | See a1d2625be0186dc4970774bced8787f3f5f234bf Change-Id: I09088abedaaf57be70fdf967d6d1355be1dd82d9
* [4.9] GCC 4.9: Only quote arguments in pex-win32.c that need it.Ray Donnelly2014-04-221-9/+38
| | | | | | See 3abe78d4e59c075273860ea3682bf7b4499617e2 Change-Id: I96c89b0f7c265237976cb3a49529edeaaa948d41
* [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-2211-5/+128
| | | | | | | See 5e6cdf76af295c9a39b695ca228cff675e8ff4ae and 23e3137ee2897464b051599b85a09f130d3ad05d Change-Id: Ibda473188e5a10f2a0592f2494ad00ad1f91e04b
* [4.9] Add stack unwinding directives for __aeabi_idiv0 in libgcc.aBen Cheng2014-04-222-0/+8
| | | | | | See e85b9ca2afe8edbb9fa99c6ce2cc4e52dce18c21 Change-Id: Ic62d25125387a48412c99fbb16e509b79091559d
* [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] Maintain default visibility for helper functions in libgcc.a.Ben Cheng2014-04-221-0/+10
| | | | | | See 68330d08ea4b3e32dbadcfae109508f386177e68 Change-Id: Icd2f323e66d689f62b61c9819b983f4a3bb13984