This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/14631] common subexpression elimilation error with sse2 instrinsic _mm_insert_epi16


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]