Merge lp:~linaro-toolchain-dev/gcc-linaro/slp-patterns-4.6 into lp:gcc-linaro/4.6

Proposed by Ira Rosen
Status: Merged
Approved by: Ulrich Weigand
Approved revision: not available
Merge reported by: Ira Rosen
Merged at revision: not available
Proposed branch: lp:~linaro-toolchain-dev/gcc-linaro/slp-patterns-4.6
Merge into: lp:gcc-linaro/4.6
To merge this branch: bzr merge lp:~linaro-toolchain-dev/gcc-linaro/slp-patterns-4.6
Reviewer Review Type Date Requested Status
Ulrich Weigand (community) Approve
Review via email: mp+83120@code.launchpad.net

Description of the change

Support pattern detection in basic blocks.
The patch is pretty straightforward, it mainly just passes bb info to all the relevant functions. It adds two new testcases: for SLP with widen-mult pattern and for SLP with mixed sized condition.

To post a comment you must log in.
Revision history for this message
Michael Hope (michaelh1) wrote :

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

The diff against the ancestor r106840.1.3 is available at:
 http://builds.linaro.org/toolchain/snapshots/gcc-linaro-4.6+bzr106843~irar~slp-patterns-4.6.diff

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.6+bzr106843~irar~slp-patterns-4.6
cbuild-ancestor: lp:gcc-linaro+bzr106840.1.3
cbuild-state: check

Revision history for this message
Michael Hope (michaelh1) wrote :
Download full text (4.3 KiB)

cbuild successfully built this on armv7l-natty-cbuild208-tcpanda03-cortexa9r1.

The build results are available at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.6+bzr106843~irar~slp-patterns-4.6/logs/armv7l-natty-cbuild208-tcpanda03-cortexa9r1

+PASS: gcc.dg/vect/bb-slp-cond-1.c (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-cond-1.c -flto (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-cond-1.c -flto execution test
+PASS: gcc.dg/vect/bb-slp-cond-1.c -flto scan-tree-dump-times slp "basic block vectorized using SLP" 1
+PASS: gcc.dg/vect/bb-slp-cond-1.c execution test
+PASS: gcc.dg/vect/bb-slp-cond-1.c scan-tree-dump-times slp "basic block vectorized using SLP" 1
+PASS: gcc.dg/vect/bb-slp-pattern-1.c (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-pattern-1.c -flto (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-pattern-1.c -flto execution test
+PASS: gcc.dg/vect/bb-slp-pattern-1.c -flto scan-tree-dump-times slp "pattern recognized" 8
+PASS: gcc.dg/vect/bb-slp-pattern-1.c -flto scan-tree-dump-times slp "vect_recog_widen_mult_pattern: detected" 8
+PASS: gcc.dg/vect/bb-slp-pattern-1.c -flto scan-tree-dump-times slp "vectorizing stmts using SLP" 1
+PASS: gcc.dg/vect/bb-slp-pattern-1.c execution test
+PASS: gcc.dg/vect/bb-slp-pattern-1.c scan-tree-dump-times slp "pattern recognized" 8
+PASS: gcc.dg/vect/bb-slp-pattern-1.c scan-tree-dump-times slp "vect_recog_widen_mult_pattern: detected" 8
+PASS: gcc.dg/vect/bb-slp-pattern-1.c scan-tree-dump-times slp "vectorizing stmts using SLP" 1
+PASS: gcc.dg/vect/bb-slp-pattern-2.c (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-pattern-2.c -flto (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-pattern-2.c -flto execution test
+PASS: gcc.dg/vect/bb-slp-pattern-2.c -flto scan-tree-dump-times slp "basic block vectorized using SLP" 1
+PASS: gcc.dg/vect/bb-slp-pattern-2.c execution test
+PASS: gcc.dg/vect/bb-slp-pattern-2.c scan-tree-dump-times slp "basic block vectorized using SLP" 1
-UNSUPPORTED: gcc.dg/vect/no-trapping-math-1.c
+PASS: gcc.dg/vect/no-trapping-math-1.c (test for excess errors)
+PASS: gcc.dg/vect/no-trapping-math-2.c scan-tree-dump-times vect "vectorized 1 loops" 1
-UNSUPPORTED: gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c
-UNSUPPORTED: gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c
-UNSUPPORTED: gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c
-UNSUPPORTED: gcc.dg/vect/no-trapping-math-vect-ifcvt-14.c
-UNSUPPORTED: gcc.dg/vect/no-trapping-math-vect-ifcvt-15.c
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c (test for excess errors)
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c execution test
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c scan-tree-dump-times vect "vectorized 1 loops" 1
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c (test for excess errors)
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c execution test
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c scan-tree-dump-times vect "vectorized 1 loops" 1
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c (test for excess errors)
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c execution test
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c scan-tree...

Read more...

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

cbuild successfully built this on i686-natty-cbuild208-oort2-i686r1.

The build results are available at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.6+bzr106843~irar~slp-patterns-4.6/logs/i686-natty-cbuild208-oort2-i686r1

+PASS: gcc.dg/vect/bb-slp-cond-1.c (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-cond-1.c -flto (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-cond-1.c -flto execution test
+PASS: gcc.dg/vect/bb-slp-cond-1.c -flto scan-tree-dump-times slp "basic block vectorized using SLP" 1
+PASS: gcc.dg/vect/bb-slp-cond-1.c execution test
+PASS: gcc.dg/vect/bb-slp-cond-1.c scan-tree-dump-times slp "basic block vectorized using SLP" 1
+PASS: gcc.dg/vect/bb-slp-pattern-1.c (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-pattern-1.c -flto (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-pattern-1.c -flto execution test
+PASS: gcc.dg/vect/bb-slp-pattern-1.c -flto scan-tree-dump-times slp "pattern recognized" 8
+PASS: gcc.dg/vect/bb-slp-pattern-1.c -flto scan-tree-dump-times slp "vect_recog_widen_mult_pattern: detected" 8
+PASS: gcc.dg/vect/bb-slp-pattern-1.c -flto scan-tree-dump-times slp "vectorizing stmts using SLP" 1
+PASS: gcc.dg/vect/bb-slp-pattern-1.c execution test
+PASS: gcc.dg/vect/bb-slp-pattern-1.c scan-tree-dump-times slp "pattern recognized" 8
+PASS: gcc.dg/vect/bb-slp-pattern-1.c scan-tree-dump-times slp "vect_recog_widen_mult_pattern: detected" 8
+PASS: gcc.dg/vect/bb-slp-pattern-1.c scan-tree-dump-times slp "vectorizing stmts using SLP" 1
+PASS: gcc.dg/vect/bb-slp-pattern-2.c (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-pattern-2.c -flto (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-pattern-2.c -flto execution test
+PASS: gcc.dg/vect/bb-slp-pattern-2.c -flto scan-tree-dump-times slp "basic block vectorized using SLP" 1
+PASS: gcc.dg/vect/bb-slp-pattern-2.c execution test
+PASS: gcc.dg/vect/bb-slp-pattern-2.c scan-tree-dump-times slp "basic block vectorized using SLP" 1
+PASS: gcc.dg/vect/slp-cond-1.c (test for excess errors)
+PASS: gcc.dg/vect/slp-cond-1.c -flto (test for excess errors)
+PASS: gcc.dg/vect/slp-cond-1.c -flto execution test
+PASS: gcc.dg/vect/slp-cond-1.c -flto scan-tree-dump-times vect "vectorizing stmts using SLP" 3
+PASS: gcc.dg/vect/slp-cond-1.c execution test
+PASS: gcc.dg/vect/slp-cond-1.c scan-tree-dump-times vect "vectorizing stmts using SLP" 3
+PASS: gcc.dg/vect/vect-cond-8a.c (test for excess errors)
+PASS: gcc.dg/vect/vect-cond-8a.c -flto (test for excess errors)
+PASS: gcc.dg/vect/vect-cond-8a.c -flto execution test
+PASS: gcc.dg/vect/vect-cond-8a.c -flto scan-tree-dump-times vect "note: vectorized 1 loops" 3
+PASS: gcc.dg/vect/vect-cond-8a.c execution test
+PASS: gcc.dg/vect/vect-cond-8a.c scan-tree-dump-times vect "note: vectorized 1 loops" 3

The full diff is at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.6+bzr106843~irar~slp-patterns-4.6/logs/i686-natty-cbuild208-oort2-i686r1/testsuite-diff.txt

The full testsuite results are at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.6+bzr106843~irar~slp-patterns-4.6/logs/i686-natty-cbuild208-oort2-i686r1/gcc-testsuite.txt

cbuild-checked: i686-natty-cbuild208-oort2-i686r1

Revision history for this message
Michael Hope (michaelh1) wrote :
Download full text (3.1 KiB)

cbuild successfully built this on x86_64-natty-cbuild208-oort1-x86_64r1.

The build results are available at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.6+bzr106843~irar~slp-patterns-4.6/logs/x86_64-natty-cbuild208-oort1-x86_64r1

+PASS: gcc.dg/vect/bb-slp-cond-1.c (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-cond-1.c -flto (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-cond-1.c -flto execution test
+PASS: gcc.dg/vect/bb-slp-cond-1.c -flto scan-tree-dump-times slp "basic block vectorized using SLP" 1
+PASS: gcc.dg/vect/bb-slp-cond-1.c execution test
+PASS: gcc.dg/vect/bb-slp-cond-1.c scan-tree-dump-times slp "basic block vectorized using SLP" 1
+PASS: gcc.dg/vect/bb-slp-pattern-1.c (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-pattern-1.c -flto (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-pattern-1.c -flto execution test
+PASS: gcc.dg/vect/bb-slp-pattern-1.c -flto scan-tree-dump-times slp "pattern recognized" 8
+PASS: gcc.dg/vect/bb-slp-pattern-1.c -flto scan-tree-dump-times slp "vect_recog_widen_mult_pattern: detected" 8
+PASS: gcc.dg/vect/bb-slp-pattern-1.c -flto scan-tree-dump-times slp "vectorizing stmts using SLP" 1
+PASS: gcc.dg/vect/bb-slp-pattern-1.c execution test
+PASS: gcc.dg/vect/bb-slp-pattern-1.c scan-tree-dump-times slp "pattern recognized" 8
+PASS: gcc.dg/vect/bb-slp-pattern-1.c scan-tree-dump-times slp "vect_recog_widen_mult_pattern: detected" 8
+PASS: gcc.dg/vect/bb-slp-pattern-1.c scan-tree-dump-times slp "vectorizing stmts using SLP" 1
+PASS: gcc.dg/vect/bb-slp-pattern-2.c (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-pattern-2.c -flto (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-pattern-2.c -flto execution test
+PASS: gcc.dg/vect/bb-slp-pattern-2.c -flto scan-tree-dump-times slp "basic block vectorized using SLP" 1
+PASS: gcc.dg/vect/bb-slp-pattern-2.c execution test
+PASS: gcc.dg/vect/bb-slp-pattern-2.c scan-tree-dump-times slp "basic block vectorized using SLP" 1
+PASS: gcc.dg/vect/slp-cond-1.c (test for excess errors)
+PASS: gcc.dg/vect/slp-cond-1.c -flto (test for excess errors)
+PASS: gcc.dg/vect/slp-cond-1.c -flto execution test
+PASS: gcc.dg/vect/slp-cond-1.c -flto scan-tree-dump-times vect "vectorizing stmts using SLP" 3
+PASS: gcc.dg/vect/slp-cond-1.c execution test
+PASS: gcc.dg/vect/slp-cond-1.c scan-tree-dump-times vect "vectorizing stmts using SLP" 3
+PASS: gcc.dg/vect/vect-cond-8a.c (test for excess errors)
+PASS: gcc.dg/vect/vect-cond-8a.c -flto (test for excess errors)
+PASS: gcc.dg/vect/vect-cond-8a.c -flto execution test
+PASS: gcc.dg/vect/vect-cond-8a.c -flto scan-tree-dump-times vect "note: vectorized 1 loops" 3
+PASS: gcc.dg/vect/vect-cond-8a.c execution test
+PASS: gcc.dg/vect/vect-cond-8a.c scan-tree-dump-times vect "note: vectorized 1 loops" 3

The full diff is at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.6+bzr106843~irar~slp-patterns-4.6/logs/x86_64-natty-cbuild208-oort1-x86_64r1/testsuite-diff.txt

The full testsuite results are at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.6+bzr106843~irar~slp-patterns-4.6/logs/x86_64-natty-cbuild208-oort1-x86_64r1/gcc-testsuite.txt

cbuild-checked: x86_64-natty-cbuild208-o...

Read more...

Revision history for this message
Michael Hope (michaelh1) wrote :
Download full text (4.0 KiB)

cbuild successfully built this on armv7l-natty-cbuild208-tcpanda06-armv5r2.

The build results are available at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.6+bzr106843~irar~slp-patterns-4.6/logs/armv7l-natty-cbuild208-tcpanda06-armv5r2

+PASS: gcc.dg/vect/bb-slp-cond-1.c (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-cond-1.c -flto (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-cond-1.c -flto execution test
+PASS: gcc.dg/vect/bb-slp-cond-1.c -flto scan-tree-dump-times slp "basic block vectorized using SLP" 1
+PASS: gcc.dg/vect/bb-slp-cond-1.c execution test
+PASS: gcc.dg/vect/bb-slp-cond-1.c scan-tree-dump-times slp "basic block vectorized using SLP" 1
+PASS: gcc.dg/vect/bb-slp-pattern-1.c (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-pattern-1.c -flto (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-pattern-1.c -flto execution test
+PASS: gcc.dg/vect/bb-slp-pattern-1.c execution test
+PASS: gcc.dg/vect/bb-slp-pattern-2.c (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-pattern-2.c -flto (test for excess errors)
+PASS: gcc.dg/vect/bb-slp-pattern-2.c -flto execution test
+PASS: gcc.dg/vect/bb-slp-pattern-2.c execution test
-UNSUPPORTED: gcc.dg/vect/no-trapping-math-1.c
+PASS: gcc.dg/vect/no-trapping-math-1.c (test for excess errors)
+PASS: gcc.dg/vect/no-trapping-math-2.c scan-tree-dump-times vect "vectorized 1 loops" 1
-UNSUPPORTED: gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c
-UNSUPPORTED: gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c
-UNSUPPORTED: gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c
-UNSUPPORTED: gcc.dg/vect/no-trapping-math-vect-ifcvt-14.c
-UNSUPPORTED: gcc.dg/vect/no-trapping-math-vect-ifcvt-15.c
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c (test for excess errors)
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c execution test
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c scan-tree-dump-times vect "vectorized 1 loops" 1
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c (test for excess errors)
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c execution test
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c scan-tree-dump-times vect "vectorized 1 loops" 1
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c (test for excess errors)
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c execution test
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c scan-tree-dump-times vect "vectorized 1 loops" 1
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-14.c (test for excess errors)
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-14.c execution test
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-14.c scan-tree-dump-times vect "vectorized 1 loops" 1
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-15.c (test for excess errors)
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-15.c execution test
+PASS: gcc.dg/vect/no-trapping-math-vect-ifcvt-15.c scan-tree-dump-times vect "vectorized 1 loops" 1
-UNSUPPORTED: gcc.dg/vect/pr23816-1.c
-UNSUPPORTED: gcc.dg/vect/pr23816-1.c -flto
-UNSUPPORTED: gcc.dg/vect/pr23816-2.c
-UNSUPPORTED: gcc.dg/vect/pr23816-2.c -flto
+PASS: gcc.dg/vect/pr23816-1.c (test for excess errors)
+PASS: gcc.dg/vect/pr23816-1.c -flto (test for exces...

Read more...

Revision history for this message
Ulrich Weigand (uweigand) wrote :

Looks good to me.

review: Approve

Subscribers

People subscribed via source and target branches