<HTML><HEAD><TITLE>Samsung Enterprise Portal mySingle</TITLE>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<STYLE id=mysingle_style type=text/css>P {
        MARGIN-TOP: 5px; FONT-FAMILY: Arial, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
TD {
        MARGIN-TOP: 5px; FONT-FAMILY: Arial, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
LI {
        MARGIN-TOP: 5px; FONT-FAMILY: Arial, arial; MARGIN-BOTTOM: 5px; FONT-SIZE: 9pt
}
BODY {
        LINE-HEIGHT: 1.4; MARGIN: 10px; FONT-FAMILY: Arial, arial; FONT-SIZE: 9pt
}
</STYLE>

<META name=GENERATOR content=ActiveSquare></HEAD>
<BODY>
<P>Yes you are right. -msse option if used explicityly for gcc  makes test case pass. By default sse instructions are not emitted for gcc but clang emits sse by default.</P>
<P> </P>
<P>------- <B>Original Message</B> -------</P>
<P><B>Sender</B> : Marc Glisse<marc.glisse@inria.fr></P>
<P><B>Date</B> : Jan 10, 2013 17:05 (GMT+09:00)</P>
<P><B>Title</B> : Re: [cfe-dev] clang vector_size attribute compatibilty with gcc on x86</P>
<P> </P>On Wed, 9 Jan 2013, SENTHIL KUMAR THANGAVELU wrote:<BR><BR>> Hello all,<BR>> I have attached the test case for which variable with attribute <BR>> vector_size when passed by value from clang to gcc or vice versa is <BR>> causing compatibility issue. Incase of clang for vector_size attr, SIMD <BR>> instructions are emitted as follows<BR>> movaps -0x18(%ebp),%xmm0<BR>> movdqa %xmm0,-0x28(%ebp)<BR>> clang sends vector data by value, using vector registers, in the above <BR>> case xmm0. gcc always uses stack to pass vector data by value for <BR>> vector_size attr vars (even with -O3).<BR><BR>No it doesn't.<BR><BR>-- <BR>Marc Glisse<BR>
<P> </P>
<P> </P><!--SP:senthil.t-->
<P>Regards</P>
<P>Senthil Kumar</P>
<P> </P><!--senthil.t:EP-->
<P> </P>
<TABLE id=confidentialsignimg>
<TBODY>
<TR>
<TD NAMO_LOCK>
<P><IMG border=0 src="cid:BEI0XT4NZ5JE@namo.co.kr" width=520></P></TD></TR></TBODY></TABLE></BODY></HTML><img src='http://ext.samsung.net/mailcheck/SeenTimeChecker?do=41d67bc96ab18d9cb2eb432e99652a282147438b08b6fada9cdd14f0554fc2de1d78c8484d0968ef1d70666c366810d91b20909a04efd4d2748cfe1d4e847419cf878f9a26ce15a0' border=0 width=0 height=0 style='display:none'>