Merge lp:~rsandifo/gcc-linaro/lp803232-4.5 into lp:gcc-linaro/4.5

Proposed by Richard Sandiford
Status: Merged
Approved by: Ramana Radhakrishnan
Approved revision: no longer in the source branch.
Merged at revision: 99523
Proposed branch: lp:~rsandifo/gcc-linaro/lp803232-4.5
Merge into: lp:gcc-linaro/4.5
Diff against target: 126 lines (+78/-13)
3 files modified
ChangeLog.linaro (+14/-0)
gcc/reload1.c (+3/-13)
gcc/testsuite/gcc.target/arm/neon-modes-3.c (+61/-0)
To merge this branch: bzr merge lp:~rsandifo/gcc-linaro/lp803232-4.5
Reviewer Review Type Date Requested Status
Linaro Toolchain Developers Pending
Review via email: mp+67521@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Linaro Toolchain Builder (cbuild) wrote :

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

The snapshot is available at:
 http://ex.seabright.co.nz/snapshots/gcc-linaro-4.5+bzr99522~rsandifo~lp803232-4.5.tar.xdelta3.xz

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

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

cbuild-snapshot: gcc-linaro-4.5+bzr99522~rsandifo~lp803232-4.5
cbuild-ancestor: lp:gcc-linaro+bzr99521
cbuild-state: check

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

cbuild successfully built this on x86_64-natty-cbuild152-oort3-x86_64r1.

The build results are available at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.5+bzr99522~rsandifo~lp803232-4.5/logs/x86_64-natty-cbuild152-oort3-x86_64r1

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

The full testsuite results are at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.5+bzr99522~rsandifo~lp803232-4.5/logs/x86_64-natty-cbuild152-oort3-x86_64r1/gcc-testsuite.txt

cbuild-checked: x86_64-natty-cbuild152-oort3-x86_64r1

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

cbuild successfully built this on i686-natty-cbuild152-oort4-i686r1.

The build results are available at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.5+bzr99522~rsandifo~lp803232-4.5/logs/i686-natty-cbuild152-oort4-i686r1

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

The full testsuite results are at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.5+bzr99522~rsandifo~lp803232-4.5/logs/i686-natty-cbuild152-oort4-i686r1/gcc-testsuite.txt

cbuild-checked: i686-natty-cbuild152-oort4-i686r1

Revision history for this message
Ramana Radhakrishnan (ramana) wrote :

The patch looks ok but I'll wait for the ARM test results to come back.

Ramana

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

cbuild successfully built this on armv7l-natty-cbuild157-ursa2-armv5r2.

The build results are available at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.5+bzr99522~rsandifo~lp803232-4.5/logs/armv7l-natty-cbuild157-ursa2-armv5r2

The test suite results changed compared to the branch point lp:gcc-linaro+bzr99521:
 +PASS: gcc.target/arm/neon-modes-3.c (test for excess errors)

The full testsuite results are at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.5+bzr99522~rsandifo~lp803232-4.5/logs/armv7l-natty-cbuild157-ursa2-armv5r2/gcc-testsuite.txt

cbuild-checked: armv7l-natty-cbuild157-ursa2-armv5r2

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

The A9 build got lost. I've kicked it now.

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

cbuild successfully built this on armv7l-natty-cbuild158-ursa3-cortexa9r1.

The build results are available at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.5+bzr99522~rsandifo~lp803232-4.5/logs/armv7l-natty-cbuild158-ursa3-cortexa9r1

+PASS: gcc.target/arm/neon-modes-3.c (test for excess errors)

The full testsuite results are at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.5+bzr99522~rsandifo~lp803232-4.5/logs/armv7l-natty-cbuild158-ursa3-cortexa9r1/gcc-testsuite.txt

cbuild-checked: armv7l-natty-cbuild158-ursa3-cortexa9r1

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ChangeLog.linaro'
--- ChangeLog.linaro 2011-07-08 12:54:44 +0000
+++ ChangeLog.linaro 2011-07-11 10:55:29 +0000
@@ -1,3 +1,17 @@
12011-07-11 Richard Sandiford <richard.sandiford@linaro.org>
2
3 Backport from mainline:
4 gcc/
5 2011-07-07 Richard Sandiford <richard.sandiford@linaro.org>
6
7 * reload1.c (choose_reload_regs): Use mode sizes to check whether
8 an old reload register completely defines the required value.
9
10 gcc/testsuite/
11 2011-07-07 Richard Sandiford <richard.sandiford@linaro.org>
12
13 * gcc.target/arm/neon-modes-3.c: New test.
14
12011-07-08 Richard Sandiford <rdsandiford@googlemail.com>152011-07-08 Richard Sandiford <rdsandiford@googlemail.com>
216
3 gcc/17 gcc/
418
=== modified file 'gcc/reload1.c'
--- gcc/reload1.c 2011-07-01 09:27:50 +0000
+++ gcc/reload1.c 2011-07-11 10:55:29 +0000
@@ -6449,6 +6449,8 @@
64496449
6450 if (regno >= 06450 if (regno >= 0
6451 && reg_last_reload_reg[regno] != 06451 && reg_last_reload_reg[regno] != 0
6452 && (GET_MODE_SIZE (GET_MODE (reg_last_reload_reg[regno]))
6453 >= GET_MODE_SIZE (mode) + byte)
6452#ifdef CANNOT_CHANGE_MODE_CLASS6454#ifdef CANNOT_CHANGE_MODE_CLASS
6453 /* Verify that the register it's in can be used in6455 /* Verify that the register it's in can be used in
6454 mode MODE. */6456 mode MODE. */
@@ -6460,24 +6462,12 @@
6460 {6462 {
6461 enum reg_class rclass = rld[r].rclass, last_class;6463 enum reg_class rclass = rld[r].rclass, last_class;
6462 rtx last_reg = reg_last_reload_reg[regno];6464 rtx last_reg = reg_last_reload_reg[regno];
6463 enum machine_mode need_mode;
64646465
6465 i = REGNO (last_reg);6466 i = REGNO (last_reg);
6466 i += subreg_regno_offset (i, GET_MODE (last_reg), byte, mode);6467 i += subreg_regno_offset (i, GET_MODE (last_reg), byte, mode);
6467 last_class = REGNO_REG_CLASS (i);6468 last_class = REGNO_REG_CLASS (i);
64686469
6469 if (byte == 0)6470 if (reg_reloaded_contents[i] == regno
6470 need_mode = mode;
6471 else
6472 need_mode
6473 = smallest_mode_for_size
6474 (GET_MODE_BITSIZE (mode) + byte * BITS_PER_UNIT,
6475 GET_MODE_CLASS (mode) == MODE_PARTIAL_INT
6476 ? MODE_INT : GET_MODE_CLASS (mode));
6477
6478 if ((GET_MODE_SIZE (GET_MODE (last_reg))
6479 >= GET_MODE_SIZE (need_mode))
6480 && reg_reloaded_contents[i] == regno
6481 && TEST_HARD_REG_BIT (reg_reloaded_valid, i)6471 && TEST_HARD_REG_BIT (reg_reloaded_valid, i)
6482 && HARD_REGNO_MODE_OK (i, rld[r].mode)6472 && HARD_REGNO_MODE_OK (i, rld[r].mode)
6483 && (TEST_HARD_REG_BIT (reg_class_contents[(int) rclass], i)6473 && (TEST_HARD_REG_BIT (reg_class_contents[(int) rclass], i)
64846474
=== added file 'gcc/testsuite/gcc.target/arm/neon-modes-3.c'
--- gcc/testsuite/gcc.target/arm/neon-modes-3.c 1970-01-01 00:00:00 +0000
+++ gcc/testsuite/gcc.target/arm/neon-modes-3.c 2011-07-11 10:55:29 +0000
@@ -0,0 +1,61 @@
1/* { dg-do compile } */
2/* { dg-require-effective-target arm_neon_ok } */
3/* { dg-options "-O" } */
4/* { dg-add-options arm_neon } */
5
6#include <arm_neon.h>
7
8void f1 (volatile float32x4_t *dest, volatile float32x4x4_t *src, int n)
9{
10 float32x4x4_t a5, a6, a7, a8, a9;
11 int i;
12
13 a5 = *src;
14 a6 = *src;
15 a7 = *src;
16 a8 = *src;
17 a9 = *src;
18 while (n--)
19 {
20 for (i = 0; i < 8; i++)
21 {
22 float32x4x4_t a0, a1, a2, a3, a4;
23
24 a0 = *src;
25 a1 = *src;
26 a2 = *src;
27 a3 = *src;
28 a4 = *src;
29 *src = a0;
30 *dest = a0.val[0];
31 *dest = a0.val[3];
32 *src = a1;
33 *dest = a1.val[0];
34 *dest = a1.val[3];
35 *src = a2;
36 *dest = a2.val[0];
37 *dest = a2.val[3];
38 *src = a3;
39 *dest = a3.val[0];
40 *dest = a3.val[3];
41 *src = a4;
42 *dest = a4.val[0];
43 *dest = a4.val[3];
44 }
45 *src = a5;
46 *dest = a5.val[0];
47 *dest = a5.val[3];
48 *src = a6;
49 *dest = a6.val[0];
50 *dest = a6.val[3];
51 *src = a7;
52 *dest = a7.val[0];
53 *dest = a7.val[3];
54 *src = a8;
55 *dest = a8.val[0];
56 *dest = a8.val[3];
57 *src = a9;
58 *dest = a9.val[0];
59 *dest = a9.val[3];
60 }
61}

Subscribers

People subscribed via source and target branches