From patchwork Tue Jun 27 08:00:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vineet Gupta X-Patchwork-Id: 21279 Received: (qmail 46368 invoked by alias); 27 Jun 2017 08:01:23 -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 46266 invoked by uid 89); 27 Jun 2017 08:01:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-23.8 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=college, uv, Hx-languages-length:1312 X-HELO: smtprelay.synopsys.com From: Vineet Gupta To: "libc-alpha @ sourceware . org" CC: , , "Vineet Gupta" Subject: [RFC 2/6] ARC: Fixed inline asm contraints to gcc 6.x Date: Tue, 27 Jun 2017 11:00:50 +0300 Message-ID: <1498550454-3560-3-git-send-email-vgupta@synopsys.com> In-Reply-To: <1498550454-3560-1-git-send-email-vgupta@synopsys.com> References: <1498550454-3560-1-git-send-email-vgupta@synopsys.com> MIME-Version: 1.0 From: Cupertino Miranda It seems glibc had some ancient ARC bits, added as part of some header sync up back in 1999 (I was still in college) That code obviously doesn't build with modern compilers. Signed-off-by: Cupertino Miranda Signed-off-by: Vineet Gupta --- stdlib/longlong.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stdlib/longlong.h b/stdlib/longlong.h index 0ec11c5056bf..fb6557272fa0 100644 --- a/stdlib/longlong.h +++ b/stdlib/longlong.h @@ -197,17 +197,17 @@ extern UDItype __udiv_qrnnd (UDItype *, UDItype, UDItype, UDItype); : "=r" ((USItype) (sh)), \ "=&r" ((USItype) (sl)) \ : "%r" ((USItype) (ah)), \ - "rIJ" ((USItype) (bh)), \ + "rICal" ((USItype) (bh)), \ "%r" ((USItype) (al)), \ - "rIJ" ((USItype) (bl))) + "rICal" ((USItype) (bl))) #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ __asm__ ("sub.f %1, %4, %5\n\tsbc %0, %2, %3" \ : "=r" ((USItype) (sh)), \ "=&r" ((USItype) (sl)) \ : "r" ((USItype) (ah)), \ - "rIJ" ((USItype) (bh)), \ + "rICal" ((USItype) (bh)), \ "r" ((USItype) (al)), \ - "rIJ" ((USItype) (bl))) + "rICal" ((USItype) (bl))) #define __umulsidi3(u,v) ((UDItype)(USItype)u*(USItype)v) #ifdef __ARC_NORM__