Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1850528imu; Tue, 6 Nov 2018 05:26:03 -0800 (PST) X-Google-Smtp-Source: AJdET5d+pHN6c2iVdCNAXTJdFgJQk3G8ItM4R0RbNuTrSF8aBfSdyvcLQFWRB1n0zXXF/5wsSymd X-Received: by 2002:a63:6b08:: with SMTP id g8mr23644276pgc.119.1541510762914; Tue, 06 Nov 2018 05:26:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541510762; cv=none; d=google.com; s=arc-20160816; b=E11QVNNqbtbrtGZLLUurCv8hqEaJQeNj7Ost9yScPknhzYkMWzU/NCsxruMOMD1u9X c3qlkfwWilYEMdRF/WgmMfdyRbYhdgaYA+34GYWwrf9VZAzeDxSkADBJgf5v/RQXEEEd 1v6coSxcJEXIi1v2S78g6LrGZK0twD5oZYIdiJO52B7nQyfD1KGQYpM5enYpnqrWueuX /hmJQgedxWxxkHzL+NiIRvHJcm0NlmI5y1FIDeNNLltg7rOGurtdpX6EpJnk/EaQ5Oo7 nL4zvBX52uKkBk+PRidFKPKQAf9LeQFPsYeoK64B4XdBUxsfWf39S7M40LNtsmzQpBeR p1kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date:dkim-signature; bh=0hXt7ga73hk8MlSJ3izQIQjRkug/IA08+cKJTPvYEto=; b=igghHcGtft0wFiLYkN02+ovl5x9tIPFrc4zhhP/i+ScfyhJUEUCfVrN0oLja3rZVEG CELrusrXYRTHcFLOXPwKI5llcgbvHE7MPhXGHKzK8U2W2nKhdSpQ2rsyodab/8iW/ltS vME8EBoCkVS1l8XQcViWjqhTHyngwBTjvljwpDP2xdnZ0iORdsSOoXLdxss8Nb5CtRTu QPKXOLmszuzPnapUCDkxWNmWUYpygOyYAx5hudvJnBg/yJqy5ex+4Qvg5sbDsB+jLZrU dPRt4zQ4aARY6ggE579KC5+hBJk9HurPRoZEKy2cS48v63ozOkA+F55DjM3NWVnJSdIQ k6qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ctn2kbmS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l13-v6si12508311pls.222.2018.11.06.05.25.47; Tue, 06 Nov 2018 05:26:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ctn2kbmS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388227AbeKFWu1 (ORCPT + 99 others); Tue, 6 Nov 2018 17:50:27 -0500 Received: from mail-qk1-f193.google.com ([209.85.222.193]:43891 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387804AbeKFWu1 (ORCPT ); Tue, 6 Nov 2018 17:50:27 -0500 Received: by mail-qk1-f193.google.com with SMTP id r71so18335228qkr.10 for ; Tue, 06 Nov 2018 05:25:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=0hXt7ga73hk8MlSJ3izQIQjRkug/IA08+cKJTPvYEto=; b=ctn2kbmSQpqeXdiQPTJlM+xC7dO/edythNm64DQqqYOlyDJXa9HjmO2ZlInxz5W+/7 HN1nfqF6Ep/dvjBHV//2r0Lhgy/7/nf0oS3ZCpzEdeV3NFBREfIsrOtdE9PCmwc77h1F aPHNgNyexflzFWZvoSjg+teY/rVr3AB6VXhVg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=0hXt7ga73hk8MlSJ3izQIQjRkug/IA08+cKJTPvYEto=; b=rFTvio0ONzbPLOvoCPdu3xUVQ2ifNxdLIohAplhMn8c35+l0dGiqLSEiWp0aoY8Jkt Xx3rR83eNDUcbRqOMgTAxeGaKDQMLa54QQub9pJc9wngd9bIypJ9xVWqQDzh/08ar7XC A8P+PlhGu5NbrQqy/nikqRoKEiiMpPEdXIyu4uwViu3951YiQqI3phdxps9ZGK6BtxWa l3nTfc0F5D0bKeT3yCurbh+1Nx7W0o+xWDN95QBtQkG1Wx3ArdCtSmqpxv0qI1vR9qQc SR17JuEoMCPvM17R7giOSFK95o8PZtEQ7E9pH+X8x08T1EC9uBj4fQw4j+ghfFD6Mm9t oTqw== X-Gm-Message-State: AGRZ1gJNX5t/DGJuXqSQPsMIoUs5khfmciQKWOrdktj+hzNPYwGRcFz4 x9r7DSxQfuXBGr8qVRkkShLYCWzchOg= X-Received: by 2002:a37:2a81:: with SMTP id q1mr24986166qkq.252.1541510714098; Tue, 06 Nov 2018 05:25:14 -0800 (PST) Received: from xanadu.home (modemcable228.104-82-70.mc.videotron.ca. [70.82.104.228]) by smtp.gmail.com with ESMTPSA id n101sm13757121qkh.61.2018.11.06.05.25.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 06 Nov 2018 05:25:13 -0800 (PST) Date: Tue, 6 Nov 2018 08:25:12 -0500 (EST) From: Nicolas Pitre To: Robin Murphy cc: Stefan Agner , Arnd Bergmann , Roman Yeryomin , Linus Walleij , Russell King - ARM Linux , linux-kernel@vger.kernel.org, Joel Stanley , Hans Ulli Kroll , Linux ARM Subject: Re: [PATCH 1/2] ARM: copypage-fa: add kto and kfrom to input operands list In-Reply-To: <6a59717f-8ae8-54f7-b948-b145171c82c3@arm.com> Message-ID: References: <20181015221629.13924-1-stefan@agner.ch> <20181016084416.GF30658@n2100.armlinux.org.uk> <6a59717f-8ae8-54f7-b948-b145171c82c3@arm.com> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 6 Nov 2018, Robin Murphy wrote: > On 06/11/2018 04:49, Nicolas Pitre wrote: > [...] > >> r3 and r5 are not used above, so no need to have them in the clobber > >> list. > > > > They are used. ldrd and strd instructions always use a pair of > > consecutive registers. So "ldrd r2, ..." loads into r2-r3 and "ldrd r4, ..." > > loads into r4-r5. > > FWIW, since we should now be enabling unified syntax everywhere, I guess we > could probably rewrite all those ldrd/strd to the UAL 3-operand form - i.e. > "ldrd r2, r3, [...]" - if we really cared for the extra clarity. Good idea. Worthy of a separate patch though. Nicolas