From patchwork Wed Apr 3 17:37:03 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 1076231 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="oWzOKrmw"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.b="O20QZFdz"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44ZCvY3FHWz9sPC for ; Thu, 4 Apr 2019 04:37:29 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=OgOYi7iH7AeLDr2mMzpUtAPm9DMGgJNzvpxRY1rbBII=; b=oWzOKrmwBCvvlu 7RRayGwJQ4rGMWT8DiB/keeh230H/FP05ajQp8NtGM6q27qOIDsL/EKJzFnarTeFib/XMTsTRgk2g zb0vqwVQ9IW7RfCvPiCEoxh3lXi0MvJ5ofqxLAzuiilgNcwz9KKsG9afxpSqgcF5XZKk2N4qswZku asP6yMZwoj2v8hTss+BT8ZpgsWe46k6pqJaAk8wFpG22CJ+h/SzEdMec2/UYQk9hEwIdhLezGxtYM 9FAzqgMxdrGKXC4+06Z+LNOW+Exj7QTVF/imw+JIyWIl5QkUeZVF6jePAmVUa6a63k7v7R+KyQiK+ h6qd+zAiRMZkscREGtOg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBjpG-0002PH-3z; Wed, 03 Apr 2019 17:37:26 +0000 Received: from smtprelay4.synopsys.com ([198.182.47.9] helo=smtprelay.synopsys.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBjp8-0002GK-MF for linux-snps-arc@lists.infradead.org; Wed, 03 Apr 2019 17:37:20 +0000 Received: from mailhost.synopsys.com (dc2-mailhost2.synopsys.com [10.12.135.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtprelay.synopsys.com (Postfix) with ESMTPS id 42C4F24E0EE2; Wed, 3 Apr 2019 10:37:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1554313038; bh=B8vs963hmMcrE6u1nzrYB+2cX8ZFrYTfUI1+V3bGTWY=; h=From:To:CC:Subject:Date:From; b=O20QZFdz2mLdr9syUcRMfpDUCwnxi4CCq/72LOUrTEbnpdcIs779G9Ub+h/2MHUNQ afVZlpw7a8r7/J707PDFd7pJzy4IB681BR2HH2bzbcgjzYjML1NB7cYlbM/fE06qwY hTrpwOX14Ls7jzPLZXmL2nJBTY3q6jO+PPkljsI1EO61jMrc3ZIHJhzXKB5DnJ0rb5 ys16j+cnwxUvXf3GijNwtoWWcHQnSETCVTeSIa/q/05hNF2NBS24CP2fdxjDsFQBMZ uYYSk0ivxDSzVNmoNSHgI4MoILsixjmdz2WfVpLYFQBX68MEiNUQ6f8qMXI2mmAE0I 0+XHCZ7f6mrxA== Received: from US01WEHTC2.internal.synopsys.com (us01wehtc2.internal.synopsys.com [10.12.239.237]) (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPS id E15D2A00A6; Wed, 3 Apr 2019 17:37:16 +0000 (UTC) Received: from IN01WEHTCA.internal.synopsys.com (10.144.199.104) by US01WEHTC2.internal.synopsys.com (10.12.239.237) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 3 Apr 2019 10:37:16 -0700 Received: from IN01WEHTCB.internal.synopsys.com (10.144.199.105) by IN01WEHTCA.internal.synopsys.com (10.144.199.103) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 3 Apr 2019 23:07:23 +0530 Received: from vineetg-Latitude-E7450.internal.synopsys.com (10.10.161.89) by IN01WEHTCB.internal.synopsys.com (10.144.199.243) with Microsoft SMTP Server (TLS) id 14.3.408.0; Wed, 3 Apr 2019 23:07:22 +0530 From: Vineet Gupta To: Subject: [PATCH] Update longlong.h Date: Wed, 3 Apr 2019 10:37:03 -0700 Message-ID: <1554313023-4980-1-git-send-email-vgupta@synopsys.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.10.161.89] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190403_103718_729516_59FE373C X-CRM114-Status: GOOD ( 10.72 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [198.182.47.9 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vineet Gupta , linux-snps-arc@lists.infradead.org Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org To propagate a fix for gcc bug 88409 [1] in ARC specific code [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89877 Signed-off-by: Vineet Gupta --- ChangeLog | 4 ++++ stdlib/longlong.h | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index c27da0f6ac94..a158f64dd0cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2019-04-03 Vineet Gupta + + * stdlib/longlong.h: Update from GCC. + 2019-03-20 mansayk <6688000@gmail.com> [BZ #24296] diff --git a/stdlib/longlong.h b/stdlib/longlong.h index 3dd8dc3aa80c..1f0ce4204255 100644 --- a/stdlib/longlong.h +++ b/stdlib/longlong.h @@ -199,7 +199,8 @@ extern UDItype __udiv_qrnnd (UDItype *, UDItype, UDItype, UDItype); : "%r" ((USItype) (ah)), \ "rICal" ((USItype) (bh)), \ "%r" ((USItype) (al)), \ - "rICal" ((USItype) (bl))) + "rICal" ((USItype) (bl)) \ + : "cc") #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ __asm__ ("sub.f %1, %4, %5\n\tsbc %0, %2, %3" \ : "=r" ((USItype) (sh)), \ @@ -207,7 +208,8 @@ extern UDItype __udiv_qrnnd (UDItype *, UDItype, UDItype, UDItype); : "r" ((USItype) (ah)), \ "rICal" ((USItype) (bh)), \ "r" ((USItype) (al)), \ - "rICal" ((USItype) (bl))) + "rICal" ((USItype) (bl)) \ + : "cc") #define __umulsidi3(u,v) ((UDItype)(USItype)u*(USItype)v) #ifdef __ARC_NORM__