From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 105816 invoked by alias); 11 Aug 2017 11:11:23 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 105796 invoked by uid 89); 11 Aug 2017 11:11:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: EUR02-VE1-obe.outbound.protection.outlook.com From: Wilco Dijkstra To: "libc-alpha@sourceware.org" , "Siddhesh Poyarekar" CC: nd Subject: Re: [PATCH 0/2] Multiarch hooks for memcpy variants Date: Fri, 11 Aug 2017 11:11:00 -0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Wilco.Dijkstra@arm.com; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DB6PR0801MB2056;6:fEdrHnzNQQ5g0OLIx0GQsxl98MEB0hmSX+Le98i6GprSmAWQtJo/0Hzf+uIvk8QjNnn8eLP3qs/+Va5D6SSIbZsYTzdDCkqH4ylqw70sebSVlSjp0qXnlQtFruBa0nDkeads47oCd5ZvYHpt+sFqNfcxkoPmCrvFetDNHvXD9mLLADqXiPoaHPQoy+f/QXyDKa5ecGVXTqPltcQpp+ziHwVJbMsxo99C/mhy6Liz2+EWcMewqkPKbtyZbVAoUN1NXerABHrMjLeqBQM2DPVpIdDl9SUGHv+DS4Pnai+bKDW9zXpk4ZSRb2kEuF61eEVw18HtQstHhOkyii7vTtVIyA==;5:UMTvmub/EG6l+e2jZnUK5YQ+YMKITtFLyuUD9pZ2fE9FHHthdYJivoNlKZVCPxbcpznoW5QC9mHYKf1sxwpXdmHy562ENEvudLB/ba4UbqtYVwiVo+bpY4Yw9f2Xu1tlZxTmyewu19Ffg7ZQb0sEeQ==;24:NGW8lgB6nHlP4oZQ7cKCO9+hycNk413Jwizk6gJFRx9JWjk8Em2UXicHfhoWN7e7jIqZGl4M7tIGfbJ+QAs1gwKRVrUiGMJ2S8zhtrljTws=;7:ksEZK9w8lCkeZ4RPT14ORLm9QjF/mC76UausLb1k2cV9cFcwn8I49Q5qAlLASQQ4WJxy8YfGZ5BcRZtf+WnP4sJTprUMLslryfd6ZwKwM8Hg9iuV0rEJJ1I8T3FaPkijLO1KE22erJ0ycw6PmVfnqMGL8lB/kersWXHT+CEqP8GTxVl9vdNtq5+8r/V00OSIa5AdJ5Qo/AfXSY/As+GxROvlYH0AVzJBS6DUX7Ij2XE= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 00fdea42-af76-420e-b05f-08d4e0a9b06d x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:DB6PR0801MB2056; x-ms-traffictypediagnostic: DB6PR0801MB2056: nodisclaimer: True x-exchange-antispam-report-test: UriScan:; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(93006095)(93001095)(100000703101)(100105400095)(3002001)(10201501046)(6055026)(6041248)(20161123564025)(20161123560025)(20161123555025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DB6PR0801MB2056;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DB6PR0801MB2056; x-forefront-prvs: 03965EFC76 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(39860400002)(24454002)(199003)(189002)(72206003)(99286003)(6246003)(3280700002)(74316002)(7696004)(6506006)(105586002)(9686003)(229853002)(2501003)(33656002)(6436002)(305945005)(478600001)(55016002)(7736002)(68736007)(106356001)(14454004)(53936002)(2900100001)(5660300001)(3660700001)(6116002)(97736004)(3846002)(102836003)(81166006)(81156014)(5250100002)(66066001)(50986999)(101416001)(2906002)(189998001)(25786009)(8936002)(86362001)(4326008)(8676002)(54356999);DIR:OUT;SFP:1101;SCL:1;SRVR:DB6PR0801MB2056;H:DB6PR0801MB2053.eurprd08.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Aug 2017 11:11:17.9530 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB2056 X-SW-Source: 2017-08/txt/msg00423.txt.bz2 Siddhesh Poyarekar wrote: > Functions like mempcpy, __mempcpy_chk and __memcpy_chk continue to call t= he > generic memcpy implementation. These two patches fix this by adding ifunc > entry points for these functions for generic, thunderx and falkor. I don't understand what the goal of this is since on AArch64 we always tran= sform mempcpy to memcpy. Also why use ifuncs on the _chk variants? Are they ever used in cases where the last 1% of performance matters? Wilco