From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 459091F731 for ; Tue, 6 Aug 2019 17:42:38 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :content-type:content-transfer-encoding:mime-version; q=dns; s= default; b=XjCap3QyI8IAnUxKlgtW4eGiddKDmX0ipjPYnSsq/smpM5NyQB/mZ ZGTss3o9xE8fteDkyPPuBT2CnClqBovtZJKVSjqO6g9gXSGW65m4tF9TAagWLFrg po1fJLLfJ8cBcF8QwG7Jkq1wf5eKACLWWjmL4r9iZQ4HVsUu4F8tVY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id :content-type:content-transfer-encoding:mime-version; s=default; bh=/XkTFud3di4IrQpuVmBKzwjwp08=; b=kg0ym4cwXAHo8MHqdvSwzVzzfNRC y7da10t3gw+3AUpIyKqcL7RjNHgL5qtHUKEvxfOcgj5R9Zsi1sc28fcBzBqql+9B lZNi3GMvv3PNavVqcpZ8kdUbLbWaD3/P9gQ6q6jrw0KVdboPs5IAoyoJ2EH5K52i j0aq0VI3yjTnvSI= Received: (qmail 116993 invoked by alias); 6 Aug 2019 17:42:35 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 116972 invoked by uid 89); 6 Aug 2019 17:42:35 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: EUR02-HE1-obe.outbound.protection.outlook.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K1aM1pLfofbM5PS5nHBctyKxPyTRWjXFVuWap9TG46M=; b=BR1NjWDu0l9OgIXV9VJSLCCrTHjtnliKBCFZkl19oUd6jt3YLdfNogTMkq6sXx46JO0hhPd2nkj1Szlxtw64D+GxxDgQ45E7hNKspfNOfZbXqTdOrnsA9dHuD4jkdQAzfUgg/Zd0AMdPR55Hz3mjmWYNNJJVhQ9t9Uom7wFOxKM= Authentication-Results: spf=temperror (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; sourceware.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;sourceware.org; dmarc=temperror action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) X-CheckRecipientChecked: true X-CR-MTA-CID: e3ff627826c1e3ef X-CR-MTA-TID: 64aa7808 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MrBRz/DNmmb6qrpypM/goD+HVGI0k9nQ5cv4Qdyh0y++ZUOYCnKblfkzS1ou/HMU92b0iGlaIfHN3DcbNnv1ZeRsyrP9hT9nRchMLaUYbrch3hfn/4srCNpGseQGNnyQWY3GrWBkqS68IcIlNsTHIyOgTaXB1Tr/7Yr7S+sarwP0p+ziirYfXVnXFc5nfaIOSK7NS17n9+nodWfYOb/oKAnNw4WVcnB55rtAezHSBubeXtiDBZ28szmjdNER0AJQa/2oQe6J9Vw9koe5RciV8oZJBZwZNSMQsz+XO7p+MwyZ6zbQDqYWyTelufF2OMXPE6e06F0Fv5murc9gzERGCQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K1aM1pLfofbM5PS5nHBctyKxPyTRWjXFVuWap9TG46M=; b=BV0FA9gVtvGNKiTIphXxulhGrRNmN4qzYaQJgyp6QlBTyOpE6Ap2SWu6ysB6aeaypulY5WM+Kd2Bsh8q3Z5HCyP/VLvz9ubGQKang8DbgPiBHqWqDzmC8YttR/nnHb8Y7hnuxQfT6e294Kke0+3aWKC3Jsed3tVmh/LbZjzkeS5Ztwf7TYyzGPwji+XAsimQXVzImb5nAuNjwVqcOOOP6azvRdSQuolGNYLLUlXzCyuNcoART+sQbCXnHTdhVpAGoi9h+G4w12Ss4/BvTxspTtEApFVjuOxXeTFFTA6L4pvLiVHtxtKIhL7LsO5HZl0svgOTaskt3IdWxvoCSwZ/Yw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K1aM1pLfofbM5PS5nHBctyKxPyTRWjXFVuWap9TG46M=; b=BR1NjWDu0l9OgIXV9VJSLCCrTHjtnliKBCFZkl19oUd6jt3YLdfNogTMkq6sXx46JO0hhPd2nkj1Szlxtw64D+GxxDgQ45E7hNKspfNOfZbXqTdOrnsA9dHuD4jkdQAzfUgg/Zd0AMdPR55Hz3mjmWYNNJJVhQ9t9Uom7wFOxKM= From: Wilco Dijkstra To: 'GNU C Library' , "tnggil@protonmail.com" , Joseph Myers CC: nd Subject: Re: PPC64 libmvec sincos/sincosf ABI Date: Tue, 6 Aug 2019 17:42:16 +0000 Message-ID: Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Wilco.Dijkstra@arm.com; X-Microsoft-Antispam-Untrusted: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600148)(711020)(4605104)(1401327)(4618075)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328)(7193020);SRVR:VI1PR0801MB2125; x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:8273;OLM:8273; X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(136003)(396003)(346002)(376002)(366004)(199004)(189003)(64756008)(68736007)(8936002)(229853002)(53936002)(81156014)(81166006)(71200400001)(6246003)(71190400001)(8676002)(2501003)(6116002)(3846002)(52536014)(5660300002)(4326008)(55016002)(76116006)(66066001)(4744005)(86362001)(6436002)(9686003)(25786009)(7696005)(26005)(478600001)(6506007)(14454004)(102836004)(99286004)(66446008)(7736002)(74316002)(186003)(305945005)(66946007)(110136005)(66476007)(476003)(486006)(33656002)(66556008)(316002)(2906002)(256004);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR0801MB2125;H:VI1PR0801MB2127.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info-Original: jkJGcT9X5u53e2CSCuuQq8HqKsrxaaFasHP1dkimy124F2nCfonKLZz4KkizB6LNxSgiNwgULBRuD1nKTs9wN63yBuAktl66bO40Zo7L+T8CiLp/x37Lboes9OXNvMnYEMq0QcaBlZ7rRyW7aGCwvWaowiN5GdolahE49Vzy+Qup///vOu7YHGifPnkKc+bl7RLsaQQsiHTT81fwXnoaI2e2J5BmIhyikxJbu6jFv1gVAzX+uSLcI0EkuTLb4cz8gUPywaNMTmW/TGyJbkL6vB0yvRWAwSJHnZDmZpDfsIEmOnATVvJn0KD5bTz9GkwQXcE03jJeBdvdCAziudnh6Scv0ODOVwSHEqQE4uttq58TLoItPVjYIEASy9IQrMtiPtbECgrmoDsJNyK68Qmiww7G9YkV9lTXw6YFFtO0y04= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Wilco.Dijkstra@arm.com; X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT050.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 0b57e738-4e1a-420a-be52-08d71a956c86 Hi, > 1. What is the best vector ABI (best performance) for sincos on PPC64? =20 > That may be a function of the particular vector instructions available on= =20 > PPC64; the best choice of ABI on PPC64 need not correspond to the best=20 > choice on x86_64. I don't think it is related to the target - the fastest ABI is one that avo= ids unnecessary work. For example scalar sincos is slow due to the inefficient ABI which forces the results through memory (fixing that gives a 50% speedu= p).=20 Similarly for the vector ABI I think returning 2 vectors in registers will = be the fastest option in all cases. The actual vector instructions shouldn't affec= t the ABI beyond the vector widths that can be supported. Wilco