Merge lp:~ams-codesourcery/gcc-linaro/branch-cost-4.6 into lp:gcc-linaro/4.6

Proposed by Andrew Stubbs
Status: Merged
Approved by: Ulrich Weigand
Approved revision: no longer in the source branch.
Merge reported by: Andrew Stubbs
Merged at revision: not available
Proposed branch: lp:~ams-codesourcery/gcc-linaro/branch-cost-4.6
Merge into: lp:gcc-linaro/4.6
Diff against target: 32 lines (+13/-1)
2 files modified
ChangeLog.linaro (+11/-0)
gcc/config/arm/arm.h (+2/-1)
To merge this branch: bzr merge lp:~ams-codesourcery/gcc-linaro/branch-cost-4.6
Reviewer Review Type Date Requested Status
Ulrich Weigand (community) Approve
Review via email: mp+59072@code.launchpad.net

Description of the change

This is merged from lp:gcc-linaro/4.5 r99321. Actually, this version is a backport from FSF where it was committed by Tom de Vries.

To post a comment you must log in.
Revision history for this message
Ulrich Weigand (uweigand) wrote :

OK.

review: Approve
Revision history for this message
Linaro Toolchain Builder (cbuild) wrote :

cbuild has taken a snapshot of this branch at r106738 and queued it for build.

The snapshot is available at:
 http://ex.seabright.co.nz/snapshots/gcc-linaro-4.6+bzr106738~ams-codesourcery~branch-cost-4.6.tar.xdelta3.xz

and will be built on the following builders:
 a9-builder i686 x86_64

You can track the build queue at:
 http://ex.seabright.co.nz/helpers/scheduler

cbuild-snapshot: gcc-linaro-4.6+bzr106738~ams-codesourcery~branch-cost-4.6
cbuild-ancestor: lp:gcc-linaro/4.6+bzr106737
cbuild-state: check

Revision history for this message
Linaro Toolchain Builder (cbuild) wrote :

cbuild successfully built this on x86_64-maverick-cbuild112-crucis-x86_64r1.

The build results are available at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.6+bzr106738~ams-codesourcery~branch-cost-4.6/logs/x86_64-maverick-cbuild112-crucis-x86_64r1

The test suite results were unchanged compared to the branch point lp:gcc-linaro/4.6+bzr106737.

The full testsuite results are at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.6+bzr106738~ams-codesourcery~branch-cost-4.6/logs/x86_64-maverick-cbuild112-crucis-x86_64r1/gcc-testsuite.txt

cbuild-checked: x86_64-maverick-cbuild112-crucis-x86_64r1

Revision history for this message
Linaro Toolchain Builder (cbuild) wrote :

cbuild successfully built this on i686-lucid-cbuild113-scorpius-i686r1.

The build results are available at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.6+bzr106738~ams-codesourcery~branch-cost-4.6/logs/i686-lucid-cbuild113-scorpius-i686r1

The test suite results were unchanged compared to the branch point lp:gcc-linaro/4.6+bzr106737.

The full testsuite results are at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.6+bzr106738~ams-codesourcery~branch-cost-4.6/logs/i686-lucid-cbuild113-scorpius-i686r1/gcc-testsuite.txt

cbuild-checked: i686-lucid-cbuild113-scorpius-i686r1

Revision history for this message
Linaro Toolchain Builder (cbuild) wrote :

cbuild successfully built this on armv7l-maverick-cbuild113-ursa4-cortexa9r1.

The build results are available at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.6+bzr106738~ams-codesourcery~branch-cost-4.6/logs/armv7l-maverick-cbuild113-ursa4-cortexa9r1

The test suite results changed compared to the branch point lp:gcc-linaro/4.6+bzr106737:
 +WARNING: program timed out.

The full testsuite results are at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.6+bzr106738~ams-codesourcery~branch-cost-4.6/logs/armv7l-maverick-cbuild113-ursa4-cortexa9r1/gcc-testsuite.txt

cbuild-checked: armv7l-maverick-cbuild113-ursa4-cortexa9r1

Revision history for this message
Michael Hope (michaelh1) wrote :

The difference on armv7l is a timeout in one of the limits tests and changed due to running the testsuite in parallel. Looks OK.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'ChangeLog.linaro'
2--- ChangeLog.linaro 2011-04-21 13:51:06 +0000
3+++ ChangeLog.linaro 2011-04-26 15:02:35 +0000
4@@ -1,3 +1,14 @@
5+2011-04-26 Andrew Stubbs <ams@codesourcery.com>
6+
7+ Backport from FSF:
8+
9+ 2011-04-05 Tom de Vries <tom@codesourcery.com>
10+
11+ PR target/43920
12+ gcc/
13+ * config/arm/arm.h (BRANCH_COST): Set to 1 for Thumb-2 when optimizing
14+ for size.
15+
16 2011-04-21 Andrew Stubbs <ams@codesourcery.com>
17
18 Backport from FSF:
19
20=== modified file 'gcc/config/arm/arm.h'
21--- gcc/config/arm/arm.h 2011-02-21 14:04:51 +0000
22+++ gcc/config/arm/arm.h 2011-04-26 15:02:35 +0000
23@@ -2039,7 +2039,8 @@
24 /* Try to generate sequences that don't involve branches, we can then use
25 conditional instructions */
26 #define BRANCH_COST(speed_p, predictable_p) \
27- (TARGET_32BIT ? 4 : (optimize > 0 ? 2 : 0))
28+ (TARGET_32BIT ? (TARGET_THUMB2 && !speed_p ? 1 : 4) \
29+ : (optimize > 0 ? 2 : 0))
30
31
32 /* Position Independent Code. */
33 /* We decide which register to use based on the compilation options and

Subscribers

People subscribed via source and target branches