This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/22497] A register is wasted in simple vectorised loops
- From: "uros at kss-loka dot si" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Jul 2005 09:41:50 -0000
- Subject: [Bug target/22497] A register is wasted in simple vectorised loops
- References: <20050715100129.22497.uros@kss-loka.si>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From uros at kss-loka dot si 2005-07-22 09:41 -------
(In reply to comment #3)
> Oh, I have a local patch which will cause this, woops:
> + if (parts.scale != 1)
> + cost--;
> +
> if (parts.seg != SEG_DEFAULT)
> cost--;
Do you plan to submit this patch to gcc-patches? It sure optimizes some code,
and the testcase from decription could be used to show benefits of this patch.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22497