From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/15033 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Florian Weimer Newsgroups: gmane.linux.lib.musl.general Subject: Re: max_align_t mess on i386 Date: Mon, 16 Dec 2019 17:40:50 +0100 Message-ID: <87tv601awd.fsf@mid.deneb.enyo.de> References: <20191214151932.GW1666@brightrain.aerifal.cx> <20191215182242.GA1666@brightrain.aerifal.cx> <20191216155622.GC1666@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="166787"; mail-complaints-to="usenet@blaine.gmane.org" Cc: musl@lists.openwall.com To: Rich Felker Original-X-From: musl-return-15049-gllmg-musl=m.gmane.org@lists.openwall.com Mon Dec 16 17:41:51 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1igtRN-000hI0-Iz for gllmg-musl@m.gmane.org; Mon, 16 Dec 2019 17:41:49 +0100 Original-Received: (qmail 5446 invoked by uid 550); 16 Dec 2019 16:41:47 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 5428 invoked from network); 16 Dec 2019 16:41:46 -0000 In-Reply-To: <20191216155622.GC1666@brightrain.aerifal.cx> (Rich Felker's message of "Mon, 16 Dec 2019 10:56:22 -0500") Xref: news.gmane.org gmane.linux.lib.musl.general:15033 Archived-At: * Rich Felker: > I wasn't aware of this gcc feature. Do you know if it's documented and > what it's derived from? It seems to match what max_align_t is expected > to be, including on i386 (16) and powerpc (16) and indeed it's only 4 > on a few 32-bit archs and even 2 on m68k. @defmac BIGGEST_ALIGNMENT Biggest alignment that any data type can require on this machine, in bits. Note that this is not the biggest alignment that is supported, just the biggest alignment that, when violated, may cause a fault. @end defmac I don't think it does what you are after: $ gcc -mavx512f -dM -E -