From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BE50B3857C61; Sat, 11 Jul 2020 21:40:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BE50B3857C61 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1594503651; bh=uOsO+xVEE427lJpjCr5Y+Z/Ih5cG1CQz8iXk0C5v9LI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FeN1S+g/UsoH5xEU5bBdQh/j/CIvUcrMIXyAxe14Ay34CmVD5GpN/evafSwvRbVdm k2gMjVAWBEE10be6W0egOy/DhQPLl78f5kIuxu+FxUAuA6rTpj8ygBVoaKbcuw+yzr q4S9JCNZycDI9HjQ7T/HRr2tlZJx30yay8fOYgIA= From: "gcczilla at cpellegrino dot de" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/96168] GCC support for Apple Silicon (Arm64) on macOS requested Date: Sat, 11 Jul 2020 21:40:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: gcczilla at cpellegrino dot de X-Bugzilla-Status: SUSPENDED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Jul 2020 21:40:51 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D96168 --- Comment #7 from Claudia Pellegrino --- Thanks Eric, and thank you Iain for the ballpark estimate. Just to add a piece of data to get a better idea of the work involved, here= =E2=80=99s a link to a document published by Apple. It specifies how their ABI differs f= rom the standard ARM64 one: https://developer.apple.com/library/archive/documentation/Xcode/Conceptual/= iPhoneOSABIReference/Articles/ARM64FunctionCallingConventions.html Note that the document says iPhone OS but after a few cursory checks, the A= BI of macOS 11 on Apple Silicon seems entirely identical to the iOS one =E2=80= =93 which makes sense, given the SoCs are the same and their kernels and large parts = of either OS are known to be built from the same source. To give proper credit: I didn=E2=80=99t do those quick checks myself but ma= cOS/iOS security researcher Saagar Jha did, who is cc=E2=80=99ed on this bug and kn= ows a ton more about Apple=E2=80=99s OSes than I do.=