<div dir="ltr">In gcc, the value does not change with -mno-sse or -mno-sse2, or based on -m32 or -m64. Same applies in my definition. It is simply a case of "this is the architecture's largest necessary alignment for code correctness" (AVX prefers 32-byte alignment, but only required to be 16-byte aligned - with 32-byte alignment, it apparently works better if it doesn't straddle the cache-lines).<div><div><div><br></div><div>--</div><div>Mats</div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 13 December 2014 at 21:32, Joerg Sonnenberger <span dir="ltr"><<a href="mailto:joerg@britannica.bec.de" target="_blank">joerg@britannica.bec.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, Dec 13, 2014 at 09:15:53PM +0000, mats petersson wrote:<br>
> So, what kind of documentation would you like to see?<br>
><br>
> The GCC docs here:<br>
> <a href="https://gcc.gnu.org/onlinedocs/gcc/Variable-Attributes.html" target="_blank">https://gcc.gnu.org/onlinedocs/gcc/Variable-Attributes.html</a><br>
><br>
> say: GCC also provides a target specific macro __BIGGEST_ALIGNMENT__, which<br>
> is the largest alignment ever used for any data type on the target machine<br>
> you are compiling for.<br>
<br>
</span>How does that interact with codegen flags like -mno-sse2? What about<br>
support for new target types in later version -- from the writing it is<br>
nowhere clear that this macro is not fixed.<br>
<div class="HOEnZb"><div class="h5"><br>
Joerg<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</div></div></blockquote></div><br></div>