OSDN Git Service

Revert:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Jan 2012 16:55:40 +0000 (16:55 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 10 Jan 2012 16:55:40 +0000 (16:55 +0000)
commit6d43daa9a72ef9ec8e00ec3e68105c1bfc3a3982
tree1ced8848b4b98de7d7ef7e49a939c9c852fc917e
parentc072415f6d21c84f9d813ecc49cf770536e4b048
Revert:

2008-09-18  Andrew Pinski  <andrew_pinski@playstation.sony.com>

PR rtl-opt/37451
* loop-doloop.c (doloop_modify): New argument zero_extend_p and
zero extend count after the correction to it is done.
(doloop_optimize): Update call to doloop_modify, don't zero extend
count before call.

2008-11-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>

PR rtl-opt/37782
* loop-doloop.c (doloop_modify): Add from_mode argument that says what
mode count is in.
(doloop_optimize): Update call to doloop_modify.

testsuite:
* gcc.c-torture/execute/doloop-1.c,
gcc.c-torture/execute/doloop-2.c: New tests.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@183071 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/loop-doloop.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/execute/doloop-1.c [new file with mode: 0644]
gcc/testsuite/gcc.c-torture/execute/doloop-2.c [new file with mode: 0644]