This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18562] SSE constant vector initialization produces dead constant values on stack
- 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: 12 Jan 2005 06:53:49 -0000
- Subject: [Bug target/18562] SSE constant vector initialization produces dead constant values on stack
- References: <20041119084840.18562.uros@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From uros at kss-loka dot si 2005-01-12 06:53 -------
(In reply to comment #3)
In the second testcase, compiler should figure out that the whole val1[] array
is initialized with constants. In this case, .LCx constant vector can be built
in compile time and a load of constants to stack can be implemented by "movaps
.LCx, %xmm0 / movups -32(%ebs), %xmm" insn pair.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18562