| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Same fix to 4.7 in 5ea1e88a7f14a78a01d95f66e388eb15908a5225
Change-Id: I1b2ce4ad72e6b2a327183703d9e49295cf2bad25
|
|
|
|
| |
Change-Id: I32b4178ec6f09c08c5ecf70aabf7532e03774766
|
|
|
|
|
|
|
|
|
|
|
|
| |
Backport the fix in r201317
2013-07-29 Jason Merrill <jason@redhat.com>
* mangle.c (write_name): Check for null context.
(write_unscoped_name): Allow PARM_DECL context.
Change-Id: I4f1e9c2ddc01766818562648b6e905ef33c0de50
Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
|
|
|
|
|
|
|
|
|
| |
2011-08-12 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
PR target/48328
* config/arm/arm.h (CASE_VECTOR_SHORTEN_MODE): Fix distance
for tbh instructions.
Change-Id: Ic269b2a12c727059714ef7653bc63eaccfd74f90
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See b.andriod.com/42891
Back port r190971
2012-09-05 Bin Cheng <bin.cheng@arm.com>
Backport from 2012-09-04 mainline r190919
PR target/45070
* config/arm/arm.c (thumb1_extra_regs_pushed): Handle return value of
size less than 4 bytes by using macro ARM_NUM_INTS.
(thumb1_unexpanded_epilogue): Use macro ARM_NUM_INTS.
Change-Id: Ib43bc77abae8d487e82802c8c1f1cce87d5a7e5e
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See b.android.com/56508 and
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54986
Backport the fix in r193189
2012-11-05 Eric Botcazou <ebotcazou@adacore.com>
PR tree-optimization/54986
* gimple-fold.c (canonicalize_constructor_val): Strip again all no-op
conversions on entry but add them back on exit if needed.
Change-Id: Ibedd829e7780ff78e7b90219ebb7c425f7d2fc01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Backport r199546 from trunk:
2013-05-31 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
Igor Zamyatin <igor.zamyatin@intel.com>
Silvermont (SLM) architecture performance tuning.
* config/i386/i386.h (enum ix86_tune_indices): Add
X86_TUNE_SPLIT_MEM_OPND_FOR_FP_CONVERTS.
(TARGET_SPLIT_MEM_OPND_FOR_FP_CONVERTS): New define.
* config/i386/i386.c (initial_ix86_tune_features)
<X86_TUNE_SPLIT_MEM_OPND_FOR_FP_CONVERTS>: Initialize.
(ix86_lea_outperforms): Handle Silvermont tuning.
(ix86_avoid_lea_for_add): Add new argument to
ix86_lea_outperforms call.
(ix86_use_lea_for_mov): Likewise.
(ix86_avoid_lea_for_addr): Likewise.
(ix86_lea_for_add_ok): Likewise.
(exact_dependency_1): New function.
(exact_store_load_dependency): Likewise.
(ix86_adjust_cost): Handle Silvermont tuning.
(do_reoder_for_imul): Likewise.
(swap_top_of_ready_list): New function.
(ix86_sched_reorder): Changed to handle Silvermont tuning.
* config/i386/i386.md (peepholes that split memory operand in fp
converts): New.
Also backport r199611 with fixes for the patch above and previous SLM patch:
2013-06-03 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
* config/i386/i386.c (ix86_lea_outperforms): Fix formatting.
(ix86_avoid_lea_for_addr): Likewise.
(exact_dependency_1): Likewise.
(ix86_adjust_cost): Likewise.
(swap_top_of_ready_list): Fix formatting and !reload_completed
check removed.
(do_reorder_for_imul): Fix typo, formatting and
!reload_completed check removed.
(ix86_sched_reorder): Fix typo and formatting.
(fold_builtin_cpu): Move M_INTEL_SLM at the end of processor
types list.
* config/i386/cpuinfo.c (INTEL_SLM): New enum value.
Note that [4.7] part of the patch doesn't contain some of optimizations
(IMUL) due to missed dependencies. [4.8] part of this backport is
complete.
Change-Id: I4b5f92b025aab217046f5b393527636f3cf25669
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Support new switches: -march=slm/-mtune=slm
This is backport of trunk r199444:
2013-05-30 Yuri Rumyantsev <yuri.s.rumyantsev@intel.com>
Igor Zamyatin <igor.zamyatin@intel.com>
Silvermont (SLM) architecture pipeline model, tuning and
insn selection.
* config.gcc: Add slm config options and target.
* config/i386/slm.md: New.
* config/i386/driver-i386.c (host_detect_local_cpu): Check
* movbe.
* gcc/config/i386/i386-c.c (ix86_target_macros_internal): New
* case
PROCESSOR_SLM.
(ix86_target_macros_internal): Likewise.
* gcc/config/i386/i386.c (slm_cost): New cost.
(m_SLM): New macro flag.
(initial_ix86_tune_features): Set m_SLM.
(x86_accumulate_outgoing_args): Likewise.
(x86_arch_always_fancy_math_387): Likewise.
(processor_target_table): Add slm cost.
(cpu_names): Add slm cpu name.
(x86_option_override_internal): Set SLM ISA.
(ix86_issue_rate): New case PROCESSOR_SLM.
(ia32_multipass_dfa_lookahead): Likewise.
(fold_builtin_cpu): Add slm.
* config/i386/i386.h (TARGET_SLM): New target macro.
(target_cpu_default): Add TARGET_CPU_DEFAULT_slm.
(processor_type): Add PROCESSOR_SLM.
* config/i386/i386.md (cpu): Add new value "slm".
(slm.md): Include slm.md.
* libgcc/config/i386/cpuinfo.c (INTEL_SLM): New enum value.
Change-Id: I3ad6f5584e3fd5de52ac608dc699daaad24f2fe4
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2013-05-24 Alexander Ivchenko <alexander.ivchenko@intel.com>
PR tree-ssa/57385
* tree-ssa-sccvn.c (fully_constant_vn_reference_p): Check
that index is not negative.
See f63aa0156b8ef6b30304890529cbf642e8f78ebd and
https://code.google.com/p/android/issues/detail?id=54623
Change-Id: I3dbba928565414575b9438bb1467fec21506fbc8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
this issue:
https://code.google.com/p/android/issues/detail?id=54623
2013-05-24 Alexander Ivchenko <alexander.ivchenko@intel.com>
PR tree-ssa/57385
* tree-ssa-sccvn.c (fully_constant_vn_reference_p): Check
that index is not negative.
Change-Id: I8c83a3f9992b60d3f59c2b8e123ecda7c398d07e
Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's required for x86_64 targets where we obviously don't want to
enforce -m32.
It shouldn't affect standard i686 targets because i686 is enforced on
configure stage and it effectively removes 64-bit support, keeping -m32
default.
Patch changes 4.7 and 4.8 only. x86_64 targets are not expected to be
supported in older gcc versions due to many issues and dependencies.
Change-Id: Id15a677a9d3b1712eb95aba92c2c5bd98f9ed1cc
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GCC allocates memory buffer and passes it as the first hidden argument
for function return large composite type (ie. > 4 bytes for all NDK
toolchain). Problem is that GCC doesn't observe the aligement
required by the type, and ARM EABI only requires stack to be aligned
to 8-byte.
Please see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57271 for external
bug tracking this issue and testcase. This CL offers temp relief before
formal one
Change-Id: I8004bc4208487e539ba8b0c9686c44ac86c37d83
|
|
|
|
|
|
|
|
| |
ldc1/sdc1 needs memory to be 8-byte aligned.
This option is on by default for arch supports it, but can be turned
off by "-mno-ldc1-sdc1" to workaround issue, for example.
Change-Id: I14291dc4280e75f6c765c933b60eb1b7cd44f974
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This patch contains all gcc changes required to build x32 compiler.
They are backported from 4.8/trunk.
Change-Id: I923f639c1f0cee5812b0f555a39bab0bd0723865
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Two fixes
1) Undefine GCC4.7/4.8 _GLIBCXX_ATOMIC_BUILTINS
Clang arm/mips can't compile the following atomic intrinsics yet
__atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL);
__atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL);
Use library calls instead
2) Undefine GCC4.7/4.8 _GLIBCXX_USE_FLOAT128. Clang doesn't support
__float128 yet
Change-Id: I0ff0eb208665beeb3e5e09917fd4c7dd378fc54e
|
|\ \
| | |
| | |
| | | |
programs"
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
r191401 | jingyu | 2012-09-18 01:33:05 +0800 (Tue, 18 Sep 2012) | 6 lines
2012-09-17 Ben Cheng <bccheng@google.com
* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Suppress the
dynamic linker commands for statically linked programs.
Change-Id: Ib8a27fb054ddb12242d500ef8b3ceb2b0215cb3e
|
|/
|
|
|
|
| |
See http://gcc.gnu.org/ml/gcc-patches/2013-04/msg00764.html
Change-Id: I8aad144f579def5629fcb7cb29a68d057b809be2
|
|
|
|
| |
Change-Id: I5ab969f1f7f049ebd043fe6e5a2b219c30338571
|
|
|
|
|
|
|
|
| |
GCC 4.8 differs from previous GCCs where the option is -fuse-ld=
Also form Negative() circle for bfd/gold/mcld which is mutually
exclusive
Change-Id: I814c3380ad5199691e5a930f5d02696d283d19df
|
|
|
|
|
|
|
|
|
|
| |
1. Fixed darwin build of GCC 4.8/X86 by removing trailing
',' from the last item of enum. Not discovered before
because GCC 4.8 now builds with -Wall -Werror, and gcc-4.2.1
in darwin is picky about that
2. Fixed -fuse-ld=mcld
Change-Id: I7b65edfb76841f14c3290acb5a98f556d00e1139
|
|
|
|
| |
Change-Id: If7890947b3391ec87a3fc2be9baa87ba821fa4ec
|
|
|
|
|
|
| |
See fe1a20404b19d5dd0cd0988d080cff8a455c2a76
Change-Id: I93f281d919bce84796670dc1b29917c690d39c15
|
|
|
|
|
|
|
|
|
|
| |
See
b159d4300781ae367096e05076df56b1467d0d9b
4ecf441b08bb3f039e3836b7517f079be70583ad
651152db0b741de25918b21c42d604b8b6564eaa
3c138513fb44386c87bd5276725d5459f9243833
Change-Id: I6a76c29b0cca118dba4ae012ef053a872f461da1
|
|
|
|
|
|
| |
See a38e7b29885b25278b1d356b2efd21622376695d
Change-Id: I4e2671ea3aa8a67e9b5c6d5974b7486eb7ae54b7
|
|
|
|
|
|
| |
See b3cd55a4e23e443cc4561424e22c27fe7f05b5c1
Change-Id: Iafdee05e23c639fcd011550b38b2570670706c65
|
|
|
|
| |
Change-Id: I6f4b9adba43aa366c5107c8644a7a2afc840d193
|
|
|
|
|
|
|
|
|
| |
See issue https://code.google.com/p/android/issues/detail?id=52732,
and fix http://gcc.gnu.org/ml/gcc-patches/2010-12/msg00732.html
Also see 78a68e851a2f6f9d00367cd38eeedf670bb80f01
Change-Id: Iad4deda17414f3165714da0b60f9f8cb2a6ef052
|
|
|
|
|
|
|
|
|
|
|
|
| |
ARM/X86 GCC in NDK explicitly emit -m armelf_linux_eabi and -m elf_i386,
respectively, for linker. Fix MIPS to do the same, to help mclinker
which is built vanilla and relies on either filename (eg.
eg. arm-linux-androideabi-ld.mcd implies arm) or -mtriple/-march/-m
to figure out the target
See 125708b8e3afa6007ce3aa7132165d27b719ccc3
Change-Id: I79d67b5a69884713b9a3aaa59012c9170b823068
|
|
|
|
|
|
|
| |
See http://code.google.com/p/mclinker/
6502f082fed932c0609b475d5d6917103700e5a8
Change-Id: I3c782584f43a8216d868e016d5f416a574402702
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
posix_memalign doesn't exist in NDK. Code inludes ?mmintrin.h
which in turn includes mm_malloc.h may fail to link
For AOSP platform build which uses the same compiler, add
-DHAVE_POSIX_MEMALIGN to restore the original behavior.
Other than non-zero return value which _mm_alloc already ignores, both
paths are functioanlly identical (under the hood dlmalloc.c in 32-bit
ensure alignment is at least 16-byte)
See 0457b0db02c4b229eab11c01025df948032c31a7
Change-Id: I2e83d544a4ac2f4549de3b41a85e009a0a085476
|
|
|
|
|
|
|
|
|
| |
Used to be first half of NDK local patch at $NDK/build/tools/
toolchain-patches/gcc/0006-Disable-libstdc-versioning.patch
See 4a0927423d51f594b870e58b3eb51574327f8b0e
Change-Id: Ifc8efb661c5b4175feb1654fbc79525e1bc7f713
|
|
|
|
|
|
|
|
|
| |
See b6e375800c9a2f02a732cbdf5e87a860c3d954e1,
1271761f530c0050154e8d526b95f952df551751,
92c478dba755a1a2f6f00ff390666acbffd41982 and
51df2e98d22e2c6f5d2a16860bc8fc3644179c1d.
Change-Id: I7b01524a5516dd31b26a68cccc616a066893db39
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix a test in libstdc++/confiugre to include $glibcxx_thread_h instead
of gthr.h otherwise it will fail to detect gthread lib because the
new gthr.h only include gthr-default.h which doesn't exist in source
directory
See issue http://code.google.com/p/android/issues/detail?id=41770
946c2a6b57ac7d3b2b656ac628bcb14a216ec635
Change-Id: I13bd69f45ddee8b38055f0264c8aa484df0761d2
|
|
|
|
|
|
|
|
|
| |
See http://clang.llvm.org/cxx_status.html
http://code.google.com/p/android/issues/detail?id=39600
https://android-review.googlesource.com/#/c/47836/
1e4edc8addf7fc21d821e64cc81d85315561bcd9
Change-Id: Ibbc2ed2bf665bbdd9529e6d962312b10a0da320f
|
|
|
|
|
|
|
|
|
|
|
| |
For ARM w/o dmb a helper function is called for 64-bit atomic
built-in, which call __write when helper version is too old.
Change to call write instead for Android.
See http://code.google.com/p/android/issues/detail?id=41297
e42abc641966570528522d61ba625e926e979ac7
Change-Id: I15498b73eebdbd5f4d62aafa943290ca341378bb
|
|
|
|
|
|
|
|
| |
32-bit FPU.
See 7609f724df8ca390935f63243fa72e1de39d00c6
Change-Id: Id77b56a1cf886584020cf30a4211de0a87b4f56e
|
|
|
|
|
|
|
|
| |
See
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55245
6014e0c5342ece48f16f5b02f1b0657d2538a036
Change-Id: I25bfcfdbf0911f18db9b554012258f4d9aa060bd
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Configured multilib:
> arm-eabi-gcc -print-multi-lib
.;
thumb;@mthumb
thumb/thumb2;@mthumb@march=armv7
See 978fb74a5c086cc5572dc2e3f37d207acad969d7
Change-Id: Ia04c9e23cb5abb924702639c6c0f3afc9c485ff0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To choose between "global" (default) and "tls" (new)
for -fstack-protector, -fstack-protector-all, and
-fstack-protector-strong (GCC 4.6+).
Note that this alone doesn't enable any -fstack-protector*
For NDK: The default "global" generates code backward
compatible with older bionic
For AOSP: build may add "-mstack-protector-guard=tls" to
build platform code with new bionic (*1)
Related CL:
ad88a0863110798cef5169dcf917e18b967a7cf6 (*1)
e804643b6dfcfb5842dea4b714601c6dd89f4944
Change-Id: I341c9022530b37ca289d94e1174dfa86a8eaa1bf
|
|
|
|
|
|
|
|
|
|
|
| |
Bionic setlocale() always returns NULL. $NDK/tests/device/test-gnustl-2
(as well as others using iostream, etc) segfault w/o this change
See d3029b5a1a770d75806370618f7311a991107119,
20ffc596a2771a96ac9b4a4838edc7779a48f0af and
https://code.google.com/p/android/issues/detail?id=46718
Change-Id: I4808ebaedc5495cbc074999b22e3ffea5ba2947c
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change 4.8.0 -> 4.8
In NDK gnu-libstdc++ is built seperately and copied over to
standalone. This change simplifies script doing that and make
it less sensitive to future minor version upgrade
See 4b8d41c82a2da3c7b7d9a19e254eba11e05f53fa
Change-Id: I2656771699a188060403b4c2094134d77191566b
|
|
|
|
|
|
|
|
|
| |
Used to be local NDK patch at $NDK/build/tools/toolchain-patches/
gcc/0008-Port-MIPS-Android-support-to-GCC-4.6.patch
See ec1a2a51fa75883e4bdf9f4f03e8fd16a261c275
Change-Id: I7526fc1f1c3304c14b8f6f6d5a0b26ddc1c7e4a0
|
|
|
|
|
|
|
|
|
|
|
| |
See c779c1ff50bde450eb49b3998353804602c4d963
Used to be local NDK patch at $NDK/build/tools/toolchain-patches/
gcc/0004-Enable-x86-gcc-defaults.patch
Also see 5578813961a205a7c5d3e9da8a1b5ec00d4dac3c
They should be passed in configure to work correctly.
See https://android-review.googlesource.com/50815
Change-Id: I0be1f1111870070f25d92d390d2738b52315865d
|
|
|
|
|
|
|
|
|
| |
Used to be local NDK patch at $NDK/build/tools/toolchain-patches/
gcc/0009-Enable-assembler-linker-default-for-security.patch
See 7e66b0108987a56a58c6150672fe7cf8cf88e69a
Change-Id: Ia668c962b7251dd673cc028dac8a111b1aeeb47d
|
|
|
|
|
|
|
|
|
| |
Used to be local NDK patch at $NDK/build/tools/toolchain-patches/
gcc/0003-Work-around-for-Android-__cxa_finalize-bug.patch
See c3e4e5654d02106a19f315b736d56acb581246f9
Change-Id: I2c24a06f96cd183e9b250d22dacd2379b9f10b04
|
|
|
|
|
|
|
|
| |
See related CL:
a22b5261da70bebfad7c6f4e948501e293db172d for GCC 4.7
737fc2a978ff2364d91e634a6b990979df60058f for GCC 4.6
Change-Id: Ic5c924fa61bd839270d0218bf5f6f25d1ace8422
|
|
|
|
|
|
|
|
|
| |
Please see commit message of the same fix in previous GCC
GCC 4.7 3800bda255b20023e993ed786674f70c909d60b5
GCC 4.6 a9fcd9b1ecb8954f67738a94b8553ab234d6def5
GCC 4.4.3 329ca6fa5d9972ad6dad8387036b4dbe9cfa1f27
Change-Id: I288f349d2140918babf3a872728da02c5706a971
|
|
|
|
| |
Change-Id: I0719d8a6d0f69b367a6ab6f10eb75622dbf12771
|