From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 40489 invoked by alias); 20 Mar 2017 04:30:39 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 40429 invoked by uid 89); 20 Mar 2017 04:30:33 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:2003, letter, Team, team X-HELO: NAM03-CO1-obe.outbound.protection.outlook.com Received: from mail-co1nam03on0072.outbound.protection.outlook.com (HELO NAM03-CO1-obe.outbound.protection.outlook.com) (104.47.40.72) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 20 Mar 2017 04:30:31 +0000 Received: from BY2PR07MB2421.namprd07.prod.outlook.com (10.166.115.13) by BY2PR07MB2424.namprd07.prod.outlook.com (10.166.115.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.977.11; Mon, 20 Mar 2017 04:30:29 +0000 Received: from BY2PR07MB2421.namprd07.prod.outlook.com ([10.166.115.13]) by BY2PR07MB2421.namprd07.prod.outlook.com ([10.166.115.13]) with mapi id 15.01.0977.019; Mon, 20 Mar 2017 04:30:28 +0000 From: "Sekhar, Ashwin" To: James Greenhalgh CC: "gcc@gcc.gnu.org" , "richard.earnshaw@arm.com" , "marcus.shawcroft@arm.com" , "nd@arm.com" Subject: Re: [Aarch64] Vector Function Application Binary Interface Specification for OpenMP Date: Mon, 20 Mar 2017 04:30:00 -0000 Message-ID: References: <20170317140138.GA33372@arm.com> authentication-results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=cavium.com; x-microsoft-exchange-diagnostics: 1;BY2PR07MB2424;7:21gUnSZhnB8At1LchWTNR8SsXKr6OJPWbYT6TP4986UL0qCbomRA8VAfkobvb0udUFVEqUoPnthcJMDqOzOKo7usWCOlbY9NzdIDj+0cZc/MGFdVKT2RS7FOAMDJRyUeescnwONy0e8Lqh1hbAP/EjaH+GAJ5z8nnqWXLvGdIXNed3LFuJww0sJx22gF/Ic5SYToDTEQI6JFliK6Gie/t5skTTZDnE1bmwYDqJvAEDe19Czo2MGFwE8/JieVatBtf2wBef39wfiaz1OMOxJwZh9RHKkb8LiRKxIfice2kPPJFliypkibFsDE+o/Ll2fyRxiSKB2I8gfJtsTNf6MJ9Q== x-ms-office365-filtering-correlation-id: 3b19a973-f5af-4d02-b67c-08d46f49d699 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075);SRVR:BY2PR07MB2424; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(2884558487581)(262104967686372); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123558025)(20161123555025)(20161123560025)(20161123562025)(20161123564025)(6072148);SRVR:BY2PR07MB2424;BCL:0;PCL:0;RULEID:;SRVR:BY2PR07MB2424; x-forefront-prvs: 02524402D6 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(39450400003)(39410400002)(39830400002)(377454003)(24454002)(51914003)(25786008)(6436002)(189998001)(6506006)(77096006)(229853002)(74316002)(2900100001)(38730400002)(55016002)(110136004)(50986999)(76176999)(54356999)(6246003)(7696004)(5660300001)(6916009)(8676002)(3660700001)(66066001)(8936002)(3280700002)(86362001)(2906002)(4326008)(7736002)(305945005)(9686003)(54906002)(561944003)(99286003)(33656002)(122556002)(53936002)(6306002)(3846002)(5890100001)(81166006)(6116002)(102836003);DIR:OUT;SFP:1101;SCL:1;SRVR:BY2PR07MB2424;H:BY2PR07MB2421.namprd07.prod.outlook.com;FPR:;SPF:None;MLV:sfv;LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Mar 2017 04:30:28.8795 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR07MB2424 X-IsSubscribed: yes X-SW-Source: 2017-03/txt/msg00123.txt.bz2 On Friday 17 March 2017 07:31 PM, James Greenhalgh wrote: > On Wed, Mar 15, 2017 at 09:50:18AM +0000, Sekhar, Ashwin wrote: >> Hi GCC Team, Aarch64 Maintainers, >> >> >> The rules in Vector Function Application Binary Interface Specification = for >> OpenMP >> (https://sourceware.org/glibc/wiki/libmvec?action=3DAttachFile&do=3Dview= &target=3DVectorABI.txt) >> is used in x86 for generating the simd clones of a function. >> >> Is there a similar one defined for Aarch64? >> >> If not, would like to start a discussion on the same for Aarch64. To ki= ck >> start the same, a draft proposal for Aarch64 (on the same lines as x86 = ABI) >> is included below. The only change from x86 ABI is in the function name >> mangling. Here the letter 'b' is used for indicating the ASIMD isa. > > Hi Ashwin, > > Thanks for the question. ARM has defined a vector function ABI, based > on the Vector Function ABI Specification you linked below, which > is designed to be suitable for both the Advanced SIMD and Scalable > Vector Extensions. There has not yet been a release of this document > which I can point you at, nor can I give you an estimate of when the > document will be published. > > However, Francesco Petrogalli has recently made a proposal to the > LLVM mailing list ( https://reviews.llvm.org/D30739 ) which I would > note conflicts with your proposal in one way. You choose 'b' for name > mangling for a vector function using Advanced SIMD, while Francesco > uses 'n', which is the agreed character in the Vector Function ABI > Specification we have been working on. > > I'd encourage you to wait for formal publication of the ARM Vector > Function ABI to prevent any unexpected divergence between > implementations. Thanks for the information. We at Cavium are also working on libraries=20 which requires this ABI specification. So we would like to see this=20 published as early as possible. > > Thanks, > James > > Thanks Ashwin