<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">2014-02-03 Felipe Sateler <span dir="ltr"><<a href="mailto:fsateler@debian.org" target="_blank">fsateler@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Mon, Feb 3, 2014 at 1:07 PM, Reinhard Tartler <<a href="mailto:siretart@gmail.com">siretart@gmail.com</a>> wrote:<br>
><br>
> Please note that Jaromir proposed to use the following flags:<br>
><br>
> ifeq ($(DEB_HOST_ARCH_CPU),amd64)<br>
> CFLAGS += -msse -msse2 -mfpmath=sse<br>
> endif<br>
><br>
><br>
> None of them fall in the "mtune" category, that is, none of them are<br>
> "safe" to use without further precaution measures!<br>
<br>
</div></div>Hmm, I'm now not sure if they help and are harmless. If sse is<br>
required by the amd64 spec, then gcc should enable it by default (in<br>
-O2?). I can't say if the previous is true. Perhaps we should take<br>
this to a more knowledgeable audience? debian-devel or debian-gcc<br>
lists would be better, perhaps.<br>
<br>
The docs do suggest they are redundant in amd64[1]:<br>
<br>
[1] <a href="http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/i386-and-x86_002d64-Options.html" target="_blank">http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/i386-and-x86_002d64-Options.html</a><span class="HOEnZb"><font color="#888888"><br>
</font></span></blockquote><div><br></div><div>Please go ahead ... It looks like debian-devel would be right place.<br></div><div>It sound strange that sse is redundant in amd64.<br></div><div>Some time ago I played with sse optimization flags and packages build with and without them<br>
</div><div>got 30-40% difference in performance in my cases.<br><br></div><div>Would be great to make it clear.<br><br></div><div>mira<br></div></div><br></div></div>