From patchwork Wed Dec 21 17:18:45 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ken Werner X-Patchwork-Id: 5932 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 7A48023E0E for ; Wed, 21 Dec 2011 17:19:18 +0000 (UTC) Received: from mail-ey0-f180.google.com (mail-ey0-f180.google.com [209.85.215.180]) by fiordland.canonical.com (Postfix) with ESMTP id 6FF56A184FD for ; Wed, 21 Dec 2011 17:19:18 +0000 (UTC) Received: by eaac11 with SMTP id c11so4825013eaa.11 for ; Wed, 21 Dec 2011 09:19:18 -0800 (PST) Received: by 10.205.138.136 with SMTP id is8mr2294370bkc.35.1324487958152; Wed, 21 Dec 2011 09:19:18 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.205.82.144 with SMTP id ac16cs44697bkc; Wed, 21 Dec 2011 09:19:17 -0800 (PST) Received: by 10.236.161.193 with SMTP id w41mr10635517yhk.93.1324487955712; Wed, 21 Dec 2011 09:19:15 -0800 (PST) Received: from e06smtp13.uk.ibm.com (e06smtp13.uk.ibm.com. [195.75.94.109]) by mx.google.com with ESMTPS id s38si3108499ano.10.2011.12.21.09.19.14 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 21 Dec 2011 09:19:15 -0800 (PST) Received-SPF: neutral (google.com: 195.75.94.109 is neither permitted nor denied by best guess record for domain of ken.werner@linaro.org) client-ip=195.75.94.109; Authentication-Results: mx.google.com; spf=neutral (google.com: 195.75.94.109 is neither permitted nor denied by best guess record for domain of ken.werner@linaro.org) smtp.mail=ken.werner@linaro.org Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 21 Dec 2011 17:19:14 -0000 Received: from d06nrmr1507.portsmouth.uk.ibm.com ([9.149.38.233]) by e06smtp13.uk.ibm.com ([192.168.101.143]) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 21 Dec 2011 17:18:47 -0000 Received: from d06av08.portsmouth.uk.ibm.com (d06av08.portsmouth.uk.ibm.com [9.149.37.249]) by d06nrmr1507.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id pBLHIksA2642130 for ; Wed, 21 Dec 2011 17:18:46 GMT Received: from d06av08.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av08.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id pBLHIkff019705 for ; Wed, 21 Dec 2011 17:18:46 GMT Received: from kiste.boeblingen.de.ibm.com (dyn-9-152-224-38.boeblingen.de.ibm.com [9.152.224.38]) by d06av08.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id pBLHIjD7019687; Wed, 21 Dec 2011 17:18:45 GMT From: Ken Werner To: gcrypt-devel@gnupg.org Subject: [PATCH] Mark 'xl' as early clobbered Date: Wed, 21 Dec 2011 18:18:45 +0100 Message-Id: <1324487925-9285-2-git-send-email-ken.werner@linaro.org> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1324487925-9285-1-git-send-email-ken.werner@linaro.org> References: <1324487925-9285-1-git-send-email-ken.werner@linaro.org> x-cbid: 11122117-2966-0000-0000-000002B0D99D In ARM mode the input register of the umull must be different from the output register. Signed-off-by: Ken Werner --- mpi/longlong.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mpi/longlong.h b/mpi/longlong.h index 5dba793..69b02d4 100644 --- a/mpi/longlong.h +++ b/mpi/longlong.h @@ -228,7 +228,7 @@ extern UDItype __udiv_qrnnd (); __asm__ ("%@ Inlined umul_ppmm\n" \ "umull %r1, %r0, %r2, %r3" \ : "=&r" ((USItype)(xh)), \ - "=r" ((USItype)(xl)) \ + "=&r" ((USItype)(xl)) \ : "r" ((USItype)(a)), \ "r" ((USItype)(b)) \ : "r0", "r1")