Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1841762imu; Tue, 6 Nov 2018 05:18:08 -0800 (PST) X-Google-Smtp-Source: AJdET5fsi2UuwFfiKswaGI2tmsv1hMTF9KcQpq84gwPqRlQoBwVCiFAvDHDzQ893YOn8HYYW/esf X-Received: by 2002:a62:4586:: with SMTP id n6-v6mr25739012pfi.3.1541510288483; Tue, 06 Nov 2018 05:18:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541510288; cv=none; d=google.com; s=arc-20160816; b=G3U4WDcslFamMLLYvjq/zp7tLjcEO/OrGoeXQjCc/yDCIj+vqI2Y6xNsj/zp2hwFIK EjCRBlkd55fPBUvWqYruxoQPPtScZMKZZ+q9ayJwGCk6/Kxz3xt2V5TRI/eamB4KRnqy z8i3bircJZN4QVoxIsfQrjmh8sscjOxtHoqL+pGDbgjNZpwdLzyA32xPmIBJVJYZJ1mC stz08DmojZqfjzbllvX7FYz7Vj6K2X2mMaZEdX1XbS26JyH8l+qrxoinFPLipa3l7oDh 0fdIdD+TuV4UKy2doJLBAxqL3fVJjR6TWznIrY/KyHKg8iFKzvpSWk6JHm2ZJ+HNwuq5 17vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=S2Lu++3ZvQPOGPxcGMqKI2BpOBhpiSKVvsTZuKiFhoE=; b=xqT4EkuK8e1SAsPjk0mSnd0AKXB4pEzQ175MJ8s+mIhLjvOW2GLcY7+1+GzqaLtXH6 DhB38nNu23dzlMp0MvmdPXp3RiSegHlKBMyiEd1gDdrTSTN5ILxupGPiPoXODSiQR8hn kuMLYUPsJ88lE87jKws258DXSJbrU7IeV8xHfhUFARZ+OC6SS3LeZjgT+9zJAVQIRjTv Wit2OeS2jlaN1A/qcg1riqJsKoahR6c8pzU9jLZP5vm/SYXOm0aWXUQpQIN1KZNX1uWd DAPyNxFQSVNMn6llpmZp70Llx0Be+kYbZCRh+X9FV+WIMeQsnUadRurSQSwbJRshEe6Y 2SxQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 15-v6si49293634pfr.242.2018.11.06.05.17.52; Tue, 06 Nov 2018 05:18:08 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730495AbeKFWlh (ORCPT + 99 others); Tue, 6 Nov 2018 17:41:37 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:32974 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729728AbeKFWlh (ORCPT ); Tue, 6 Nov 2018 17:41:37 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3DE04A78; Tue, 6 Nov 2018 05:16:27 -0800 (PST) Received: from [10.1.196.75] (e110467-lin.cambridge.arm.com [10.1.196.75]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 911503F5BD; Tue, 6 Nov 2018 05:16:25 -0800 (PST) Subject: Re: [PATCH 1/2] ARM: copypage-fa: add kto and kfrom to input operands list To: Nicolas Pitre , Stefan Agner Cc: Arnd Bergmann , Roman Yeryomin , Linus Walleij , Russell King - ARM Linux , linux-kernel@vger.kernel.org, Joel Stanley , Hans Ulli Kroll , Linux ARM References: <20181015221629.13924-1-stefan@agner.ch> <20181016084416.GF30658@n2100.armlinux.org.uk> From: Robin Murphy Message-ID: <6a59717f-8ae8-54f7-b948-b145171c82c3@arm.com> Date: Tue, 6 Nov 2018 13:16:24 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Robin.