Fix PR44185: prefetch test failures.
authorChangpeng Fang <changpeng.fang@amd.com>
Thu, 10 Jun 2010 17:54:39 +0000 (17:54 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Thu, 10 Jun 2010 17:54:39 +0000 (17:54 +0000)
commitda604ebda9226ee8cf08f7849488e201cc26fd40
tree8aca1a54b47298a26365ef935106dc5b487cacbd
parentfeab9982bb4915ffd3dfc9b6123947b59ed7dce6
Fix PR44185: prefetch test failures.

2010-06-10  Changpeng Fang  <changpeng.fang@amd.com>

PR middle-end/44185
* gcc.dg/tree-ssa/prefetch-7.c: take the loops that will generate
non-temporal stores out of the tests to form new test cases.  As a
result, no non-temporal store should be generated in this case.

* gcc.dg/tree-ssa/prefetch-8.c: New.  Test from original
prefetch-7.c that generate one non-temporal store.

* gcc.dg/tree-ssa/prefetch-9.c: New.  Test from original
prefetch-7.c that generate one non-temporal store and one
one-temporal prefetch.

From-SVN: r160566
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/prefetch-7.c
gcc/testsuite/gcc.dg/tree-ssa/prefetch-8.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/prefetch-9.c [new file with mode: 0644]