[Bug c/14631] common subexpression elimilation error with sse2 instrinsic _mm_insert_epi16
chbchb1130 at sina dot com
gcc-bugzilla@gcc.gnu.org
Thu Mar 18 13:32:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list