[Bug target/18562] SSE constant vector initialization produces dead constant values on stack

uros at kss-loka dot si gcc-bugzilla@gcc.gnu.org
Wed Jan 12 06:53:00 GMT 2005


------- 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



More information about the Gcc-bugs mailing list