This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/14631] common subexpression elimilation error with sse2 instrinsic _mm_insert_epi16
- From: "chbchb1130 at sina dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2004 13:32:19 -0000
- Subject: [Bug c/14631] common subexpression elimilation error with sse2 instrinsic _mm_insert_epi16
- References: <20040318131233.14631.chbchb1130@sina.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From chbchb1130 at sina dot com 2004-03-18 13:32 -------
Created an attachment (id=5940)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=5940&action=view)
preprocessed testcase
when I turn on the -O optimization swith,I get the wrong result:
65535 65535 65535 65535 65535 65535 65535 65535
0 0 0 0 0 0 0 0
65535 65535 65535 65535 65535 65535 65535 65535
the correct result is :
65535 65535 65535 65535 65535 65535 65535 65535
0 65535 65535 65535 65535 65535 65535 65535
65535 65535 65535 65535 65535 65535 65535 65535
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14631