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: 32153 Received: (qmail 58659 invoked by alias); 3 Apr 2019 17:37:21 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 58650 invoked by uid 89); 3 Apr 2019 17:37:20 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: smtprelay.synopsys.com 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== From: Vineet Gupta To: CC: , Vineet Gupta 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> MIME-Version: 1.0 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__